Hi Daniel,
On So 02 Okt 2011 11:36:25 CEST Daniel Lindgren wrote:
Just as a counter feedback. I have tested nxcomp 3.5.0-2 on several systems (Debian squeeze, Ubuntu lucid) and the problem does not occur here.
However, I have observed such failures before. Does the problem persist after server reboot (that is after restart of dbus & co)?
Yep, I've tried "everything". I can start a Gnome or Xfce session locally (on the console), but x2go desktop sessions just don't work.
Tried starting Xfce session in x2go, I can just see the desktop coming before the window disappears, this is in auth.log
Oct 2 11:34:24 debian polkitd(authority=local): Registered Authentication Agent for session /org/freedesktop/ConsoleKit/Session16 (system bus name :1.124 [/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1], object path /org/gnome/PolicyKit1/AuthenticationAgent, locale sv_SE.UTF-8) Oct 2 11:34:26 debian polkitd(authority=local): Unregistered Authentication Agent for session /org/freedesktop/ConsoleKit/Session16 (system bus name :1.124, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale sv_SE.UTF-8) (disconnected from bus)
No dbus errors.
Starting a single application works, tried gedit and gnome-terminal. Nothing in auth.log from dbus or policykit.
Please switch to loglevel=debug in /etc/x2go/x2goserver.conf and see
what syslog brings then.
If you have not updated x2goserver.conf yet then place this stanza
into the file
[log] # possible levels are: emerg, alert, crit, err, warning, notice, info, debug loglevel=debug
Thanks, mike
--
DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
Please switch to loglevel=debug in /etc/x2go/x2goserver.conf and see what syslog brings then.
If you have not updated x2goserver.conf yet then place this stanza into the file
[log] # possible levels are: emerg, alert, crit, err, warning, notice, info, debug loglevel=debug
Thanks for the tip, unfortunately /var/log/debug didn't give me any additional clues to what the problem was.
After several hours of troubleshooting I finally gave up, removed and reinstalled Gnome. So far it's looking good, I can start sessions and reconnect to them. I'm using nightly builds, i e the new libxcomp3, and it works. I guess the problem was in Gnome/dbus alone or some combination of them and x2go.
Cheers, Daniel
Still having problems, I can log in but sessions die on me several times a day.
Server side auth.log, at the time of session crash:
Oct 4 18:46:45 fileserv gnome-keyring-daemon[5990]: dbus failure unregistering from session: Connection is closed Oct 4 18:46:45 fileserv gnome-keyring-daemon[5990]: dbus failure unregistering from session: Connection is closed Oct 4 18:46:46 fileserv sshd[23183]: Received disconnect from 192.168.0.103: 11: disconnected by user
daemon.log:
Oct 4 18:46:45 fileserv gnome-session[5975]: WARNING: Detected that screensaver has left the bus
The ~/.x2go/<session>/session log on my client:
NXPROXY - Version 3.5.0
Copyright (C) 2001, 2011 NoMachine. See http://www.nomachine.com/ for more information.
Info: Proxy running in client mode with pid '17564'. Session: Starting session at 'Tue Oct 4 18:33:23 2011'. Info: Connecting to remote host 'localhost:30201'. Info: Connection to remote proxy 'localhost:30201' established. Loop: WARNING! Disabling NX delta compression. Loop: WARNING! Disabling use of NX persistent cache. Info: Connection with remote proxy completed. Loop: WARNING! Unrecognized session type 'unix-kde-depth_32'. Assuming agent session. Warning: Unrecognized session type 'unix-kde-depth_32'. Assuming agent session. Info: Using LAN link parameters 1536/24/1/0. Info: Using pack method '16m-png-9' with session 'unix-kde-depth_32'. Info: Not using NX delta compression. Info: Not using ZLIB data compression. Info: Not using ZLIB stream compression. Info: Not using a persistent cache. Info: Forwarding X11 connections to display ':0.0'. Session: Session started at 'Tue Oct 4 18:33:23 2011'. Info: Established X server connection. Info: Using shared memory parameters 1/2048K. Proxy: PANIC! Failure reading from the peer proxy on FD#5. Error: Failure reading from the peer proxy. Loop: PANIC! No shutdown of proxy link performed by remote proxy. Error: Connection with remote peer broken. Error: Please check the state of your network and retry. Session: Terminating session at 'Tue Oct 4 18:46:48 2011'. Session: Session terminated at 'Tue Oct 4 18:46:48 2011'. NXTransDialog: WARNING! Couldn't start '/usr/NX/bin/nxclient'. Error is 2 'No such file or directory'. Warning: Couldn't start '/usr/NX/bin/nxclient'. Error is 2 'No such file or directory'. NXTransDialog: WARNING! Trying with path '/usr/NX/bin:/opt/NX/bin:/usr/local/NX/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games'. Warning: Trying with path '/usr/NX/bin:/opt/NX/bin:/usr/local/NX/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games'. NXTransDialog: WARNING! Couldn't start 'nxclient'. Error is 2 'No such file or directory'. Warning: Couldn't start 'nxclient'. Error is 2 'No such file or directory'. NXTransDialog: WARNING! Trying with path '/usr/NX/bin:/opt/NX/bin:/usr/local/NX/bin:/usr/NX/bin:/opt/NX/bin:/usr/local/NX/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games'. Warning: Trying with path '/usr/NX/bin:/opt/NX/bin:/usr/local/NX/bin:/usr/NX/bin:/opt/NX/bin:/usr/local/NX/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games'.
The session is completely gone from the server, as if I'd logged out.
I have the latest nightly packages installed (ie x2goagent 3.5.0.5) on both client and server.
Cheers, Daniel
Hi Daniel,
On Di 04 Okt 2011 19:21:13 CEST Daniel Lindgren wrote:
Still having problems, I can log in but sessions die on me several
times a day.Server side auth.log, at the time of session crash:
Oct 4 18:46:45 fileserv gnome-keyring-daemon[5990]: dbus failure unregistering from session: Connection is closed Oct 4 18:46:45 fileserv gnome-keyring-daemon[5990]: dbus failure unregistering from session: Connection is closed Oct 4 18:46:46 fileserv sshd[23183]: Received disconnect from 192.168.0.103: 11: disconnected by user
daemon.log:
Oct 4 18:46:45 fileserv gnome-session[5975]: WARNING: Detected that screensaver has left the bus
The ~/.x2go/<session>/session log on my client:
NXPROXY - Version 3.5.0
Copyright (C) 2001, 2011 NoMachine. See http://www.nomachine.com/ for more information.
Info: Proxy running in client mode with pid '17564'. Session: Starting session at 'Tue Oct 4 18:33:23 2011'. Info: Connecting to remote host 'localhost:30201'. Info: Connection to remote proxy 'localhost:30201' established. Loop: WARNING! Disabling NX delta compression. Loop: WARNING! Disabling use of NX persistent cache. Info: Connection with remote proxy completed. Loop: WARNING! Unrecognized session type 'unix-kde-depth_32'. Assuming agent session. Warning: Unrecognized session type 'unix-kde-depth_32'. Assuming
agent session. Info: Using LAN link parameters 1536/24/1/0. Info: Using pack method '16m-png-9' with session 'unix-kde-depth_32'. Info: Not using NX delta compression. Info: Not using ZLIB data compression. Info: Not using ZLIB stream compression. Info: Not using a persistent cache. Info: Forwarding X11 connections to display ':0.0'. Session: Session started at 'Tue Oct 4 18:33:23 2011'. Info: Established X server connection. Info: Using shared memory parameters 1/2048K. Proxy: PANIC! Failure reading from the peer proxy on FD#5. Error: Failure reading from the peer proxy. Loop: PANIC! No shutdown of proxy link performed by remote proxy. Error: Connection with remote peer broken. Error: Please check the state of your network and retry. Session: Terminating session at 'Tue Oct 4 18:46:48 2011'. Session: Session terminated at 'Tue Oct 4 18:46:48 2011'. NXTransDialog: WARNING! Couldn't start '/usr/NX/bin/nxclient'. Error is 2 'No such file or directory'. Warning: Couldn't start '/usr/NX/bin/nxclient'. Error is 2 'No such file or directory'. NXTransDialog: WARNING! Trying with path '/usr/NX/bin:/opt/NX/bin:/usr/local/NX/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games'. Warning: Trying with path '/usr/NX/bin:/opt/NX/bin:/usr/local/NX/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games'. NXTransDialog: WARNING! Couldn't start 'nxclient'. Error is 2 'No such file or directory'. Warning: Couldn't start 'nxclient'. Error is 2 'No such file or directory'. NXTransDialog: WARNING! Trying with path '/usr/NX/bin:/opt/NX/bin:/usr/local/NX/bin:/usr/NX/bin:/opt/NX/bin:/usr/local/NX/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games'. Warning: Trying with path '/usr/NX/bin:/opt/NX/bin:/usr/local/NX/bin:/usr/NX/bin:/opt/NX/bin:/usr/local/NX/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games'.The session is completely gone from the server, as if I'd logged out.
I have the latest nightly packages installed (ie x2goagent 3.5.0.5) on both client and server.
Cheers, Daniel
we ourselves are neither really happy about the changes in nxagent and
we will have to take a closer look still. Note, the nightly builds are
the developers' testing packages.
Currently, x2goagent from nightly builds is not at all recommended.
Greets, Mike
--
DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...