gtk problems? firestarter, xscreensaver won't start
Hello,
I'm having trouble with a couple of x apps on my sid laptop. The first
one I've been noticing for a couple of weeks is firestarter, the
iptables GUI. Generally I 'su' to root and start it from an xterm:
root@enlil:/home/kenneth/tmp# firestarter
NETFILTER detected
Gdk-WARNING **: locale not supported by C library
GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols
specified are supported and host-based authentication failed. Firewall
script restarted
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkContainer'
Gtk-CRITICAL **: file gtkcontainer.c: line 726 (gtk_container_remove):
assertion `container != NULL' failed.
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkBox'
Gtk-CRITICAL **: file gtkbox.c: line 366 (gtk_box_pack_end): assertion
`box != NULL' failed.
I don't know what that Authentication Warning is about, I have no
problem logging into X as root. I tried it & I get the same error. I
think the immediate problem is with the CRITICAL errors.. I tried
running it under strace & the end of the output was just repeating this:
poll([{fd=3, events=POLLIN}, {fd=10, events=POLLIN}, {fd=4,
events=POLLIN}, {fd=5, events=POLLIN}], 4, 499) = 0
gettimeofday({1040347481, 810076}, NULL) = 0 read(7, "", 4096)
= 0 gettimeofday({1040347481, 810225}, NULL) = 0
ioctl(3, 0x541b, [0]) = 0
poll([{fd=3, events=POLLIN}, {fd=10, events=POLLIN}, {fd=4,
events=POLLIN}, {fd=5, events=POLLIN}], 4, 500) = -1 EINTR (Interrupted
system call)--- SIGINT (Interrupt) ---
+++ killed by SIGINT +++
The other problem (or symptom) is with xscreensaver. it doesn't output
any errors without an strace, but with an strace a bunch stuff scrolls
by until the following just repeats with a pause each time at
the select()s (where it says Timeout).
gettimeofday({1040338342, 620997}, NULL) = 0
select(5, [3 4], [], [], {4, 998898}) = 0 (Timeout)
select(5, [4], [], [], {0, 0}) = 0 (Timeout)
gettimeofday({1040338347, 623108}, NULL) = 0
gettimeofday({1040338347, 623137}, NULL) = 0
write(3, "&\2\2\0\1\0\300\0", 8) = 8
read(3, "\1\1y\0\0\0\0\0:\0\0\0\0\0\0\0\202\2\223\2\202\2\223\2"..., 32)
= 32 dup(8) = 9
fcntl64(9, F_GETFL) = 0 (flags O_RDONLY)
fstat64(9, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40017000_llseek(9, 0, [444], SEEK_CUR) = 0
_llseek(9, 0, [0], SEEK_SET) = 0
read(9, " CPU0 \n 0: 24"..., 4096) = 444
close(9) = 0
munmap(0x40017000, 4096) = 0
time(NULL) = 1040338347
ioctl(3, 0x541b, [0]) = 0
ioctl(3, 0x541b, [0]) = 0
gettimeofday({1040338347, 623932}, NULL) = 0
select(5, [3 4], [], [], {4, 999205}) = ? ERESTARTNOHAND (To be
restarted)--- SIGINT (Interrupt) ---
I notice some similar-looking function calls to the firestarter
strace above, gettimeofday() and ioctl() at least.. they sound
like they're probably pretty common, but just in case it indicates a
shared library to somebody...
I haven't noticed any other apps refusing to open.
I'm really new to X, so I don't have much of a conception of which
library files' version numbers would be of interest...
and, unfortunately, don't really have a coherent question beyond 'any
ideas what I need to do to repair these apps?'
TIA,
kenneth
Reply to: