[X2go-User] Crashing sessions

Daniel Lindgren bd.dali at gmail.com
Sun Oct 2 10:54:58 CEST 2011


OK, I'm in trouble. Today libxcomp3 package was updated on my server,
apt history log:

Upgrade: libxcomp3:amd64 (3.5.0-1-0~x2go2+squeeze~main~32~build1,
3.5.0-2-0~x2go1+squeeze~heuler~20110930~46~build1)

Logged out of a running x2go session and tried to start a new session.
A X windows with the "X2GO" is displayed for a few seconds and then
disappears. Happened before, no worries, retry and it should work. Not
this time, I've spent a couple of hours trying to resolve this but can
currently not start a new desktop session.

This is what the logs on the server say during session start/logon
(session started at ~8:36:00).

auth.log:
Oct  2 08:36:01 debian sshd[5016]: Accepted publickey for dali from
192.168.0.103 port 48349 ssh2
Oct  2 08:36:01 debian sshd[5016]: pam_unix(sshd:session): session
opened for user dali by (uid=0)
Oct  2 08:36:01 debian sshd[5023]: Received disconnect from
192.168.0.103: 11: disconnected by user
Oct  2 08:36:01 debian sshd[5016]: pam_unix(sshd:session): session
closed for user dali
Oct  2 08:36:01 debian sshd[5033]: Accepted publickey for dali from
192.168.0.103 port 48350 ssh2
Oct  2 08:36:01 debian sshd[5033]: pam_unix(sshd:session): session
opened for user dali by (uid=0)
Oct  2 08:36:06 debian sshd[5042]: Received disconnect from
192.168.0.103: 11: disconnected by user
Oct  2 08:36:06 debian sshd[5033]: pam_unix(sshd:session): session
closed for user dali
Oct  2 08:36:06 debian sshd[5253]: Accepted publickey for dali from
192.168.0.103 port 48351 ssh2
Oct  2 08:36:06 debian sshd[5253]: pam_unix(sshd:session): session
opened for user dali by (uid=0)
Oct  2 08:36:08 debian sshd[5264]: Accepted publickey for dali from
192.168.0.103 port 48353 ssh2
Oct  2 08:36:08 debian sshd[5264]: pam_unix(sshd:session): session
opened for user dali by (uid=0)
Oct  2 08:36:08 debian sshd[5271]: Received disconnect from
192.168.0.103: 11: disconnected by user
Oct  2 08:36:08 debian sshd[5264]: pam_unix(sshd:session): session
closed for user dali
--- X window with X2GO logo is shown on client for a few seconds, then
disappears ---
Oct  2 08:36:12 debian dbus-daemon: [system] Rejected send message, 2
matched rules; type="method_call", sender=":1.307" (uid=1000 pid=5372
comm="bluetooth-applet) interface="org.bluez.Manager"
member="ListAdapters" error name="(unset)" requested_reply=0
destination="org.bluez" (uid=0 pid=1601 comm="/usr/sbin/bluetoothd))
Oct  2 08:36:12 debian dbus-daemon: [system] Rejected send message, 2
matched rules; type="method_call", sender=":1.307" (uid=1000 pid=5372
comm="bluetooth-applet) interface="org.bluez.Manager"
member="DefaultAdapter" error name="(unset)" requested_reply=0
destination="org.bluez" (uid=0 pid=1601 comm="/usr/sbin/bluetoothd))
Oct  2 08:36:13 debian gnome-keyring-daemon[5339]: dbus failure
unregistering from session: Connection is closed
Oct  2 08:36:13 debian gnome-keyring-daemon[5339]: dbus failure
unregistering from session: Connection is closed
Oct  2 08:36:13 debian sshd[5261]: Received disconnect from
192.168.0.103: 11: disconnected by user
Oct  2 08:36:13 debian sshd[5253]: pam_unix(sshd:session): session
closed for user dali
Oct  2 08:36:19 debian su[5525]: Successful su for dali by root
Oct  2 08:36:19 debian su[5525]: + ??? root:dali
Oct  2 08:36:19 debian su[5525]: pam_unix(su:session): session opened
for user dali by (uid=0)
Oct  2 08:36:20 debian su[5525]: pam_unix(su:session): session closed
for user dali

daemon.log:
Oct  2 08:36:10 debian gnome-session[5324]: WARNING: GSIdleMonitor:
IDLETIME counter not found
Oct  2 08:36:10 debian gnome-session[5324]: WARNING: Unable to
determine session: Unable to find session for cookie
Oct  2 08:36:10 debian gnome-session[5324]: WARNING: Could not parse
desktop file /home/dali/.config/autostart/xfce4-tips-autostart.desktop:
Nyckelfilen har inte nyckeln "Name"
Oct  2 08:36:10 debian gnome-session[5324]: WARNING: could not read
/home/dali/.config/autostart/xfce4-tips-autostart.desktop
Oct  2 08:36:10 debian gnome-session[5324]: WARNING: Could not parse
desktop file /home/dali/.config/autostart/xfconf-migration-4.6.desktop:
Nyckelfilen har inte nyckeln "Name"
Oct  2 08:36:10 debian gnome-session[5324]: WARNING: could not read
/home/dali/.config/autostart/xfconf-migration-4.6.desktop
Oct  2 08:36:13 debian gnome-session[5324]: WARNING: Detected that
screensaver has left the bus

messages:
Oct  2 08:36:05 debian /usr/bin/x2gostartagent: successfully started
X2go agent session with ID dali-55-1317537362
Also this:
Oct  2 08:59:20 debian pulseaudio[2867]: main.c: Unable to contact
D-Bus: org.freedesktop.DBus.Error.NoServer: Failed to connect to
socket /tmp/dbus-PkD1IzeCrk: Förbindelse vägras

syslog:
Oct  2 08:36:10 debian gnome-session[5324]: WARNING: GSIdleMonitor:
IDLETIME counter not found
Oct  2 08:36:10 debian gnome-session[5324]: WARNING: Unable to
determine session: Unable to find session for cookie
Oct  2 08:36:10 debian gnome-session[5324]: WARNING: Could not parse
desktop file /home/dali/.config/autostart/xfce4-tips-autostart.desktop:
Nyckelfilen har inte nyckeln "Name"
Oct  2 08:36:10 debian gnome-session[5324]: WARNING: could not read
/home/dali/.config/autostart/xfce4-tips-autostart.desktop
Oct  2 08:36:10 debian gnome-session[5324]: WARNING: Could not parse
desktop file /home/dali/.config/autostart/xfconf-migration-4.6.desktop:
Nyckelfilen har inte nyckeln "Name"
Oct  2 08:36:10 debian gnome-session[5324]: WARNING: could not read
/home/dali/.config/autostart/xfconf-migration-4.6.desktop
Oct  2 08:36:12 debian pulseaudio[5391]: pid.c: Daemon already running.
Oct  2 08:36:13 debian gnome-session[5324]: WARNING: Detected that
screensaver has left the bus
Oct  2 08:36:13 debian pulseaudio[5412]: pid.c: Daemon already running.
Oct  2 08:36:13 debian pulseaudio[4135]: x11wrap.c: XOpenDisplay() failed
Oct  2 08:36:13 debian pulseaudio[4135]: module.c: Failed to load
module "module-x11-publish" (argument: "display=:55.0"):
initialization failed.
Oct  2 08:36:13 debian pulseaudio[5423]: pid.c: Daemon already running.

user.log:
Oct  2 08:36:05 debian /usr/bin/x2gostartagent: successfully started
X2go agent session with ID dali-55-1317537362
Oct  2 08:36:12 debian pulseaudio[5391]: pid.c: Daemon already running.
Oct  2 08:36:13 debian pulseaudio[5412]: pid.c: Daemon already running.
Oct  2 08:36:13 debian pulseaudio[4135]: x11wrap.c: XOpenDisplay() failed
Oct  2 08:36:13 debian pulseaudio[4135]: module.c: Failed to load
module "module-x11-publish" (argument: "display=:55.0"):
initialization failed.
Oct  2 08:36:13 debian pulseaudio[5423]: pid.c: Daemon already running.

What I've tried so far:

- Restarting x2goserver. No difference.
- Restarting pulseaudio. No difference.
- Updating client and server. Nothing new.
- Getting  desperate:
   - Rebooted server. No difference.
   - Removed all x2go heuler packages (purge + autoremove) and
reinstalled them on server. No difference.
   - Removed all x2go heuler packages (purge + autoremove) and
reinstalled from "main" repo. x2gousers group reintroduced. No
difference.
   - Discovered that libxcomp3 from heuler was still installed: ii
libxcomp3  3.5.0-2-0~x2go1+squeeze~heuler~20110930~46~build1  NX X
compression library.
     - Removed all server packages and reinstalled from main again. No
difference.
   - Tried connecting to a different Debian Squeeze server. Success, i
e the client is not the problem.
   - Added a brand new user to problem server (and x2gousers, fuse
groups). Doesn't work.
   - Tried starting single application (gedit). Success.

I've done a lot of googling and this message could be a clue (it's
logged when the X window closes):

gnome-keyring-daemon[...]: dbus failure unregistering from session:
Connection is closed

I get a lot of hits regarding similar problems with failed logins, but
unfortunately no known fixes (that worked for me, tried the metacity
gconf thing).

I've tried x2goclient-cli, x2goclient, pyhoca-cli and x2goclient on
Windows. Can't get a desktop session running with either.

Any ideas?

Cheers,
Daniel



More information about the x2go-user mailing list