View previous topic :: View next topic |
Author |
Message |
c00l.wave Apprentice
Joined: 24 Aug 2003 Posts: 264
|
Posted: Sat Jul 16, 2016 3:23 pm Post subject: Using recent NX client with FreeNX requires systemd?! |
|
|
I didn't use NX in a long time (and last time it was from Mac to Linux or Linux to Linux). This time I'm attempting to access my Gentoo box from Windows but the connection aborts with an "I/O error" (code 5). The server's log indicates that some process runs into a kernel trap each time I log in via NX:
Code: | Jul 16 17:06:21 [sshd] Accepted publickey for nx from 192.168.0.X port 50929 ssh2: DSA SHA256:XXX
Jul 16 17:06:21 [sshd] pam_unix(sshd:session): session opened for user nx by (uid=0)
Jul 16 17:06:21 [kernel] traps: ck-remove-direc[27533] trap int3 ip:7fb033d744ee sp:7fffedc0b650 error:0
Jul 16 17:06:26 [sshd] Accepted keyboard-interactive/pam for XXX from 127.0.0.1 port 57958 ssh2
Jul 16 17:06:26 [sshd] pam_unix(sshd:session): session opened for user XXX by (uid=0)
Jul 16 17:06:44 [sshd] pam_unix(sshd:session): session closed for user nx
Jul 16 17:06:44 [kernel] traps: ck-remove-direc[31280] trap int3 ip:7ff5f9fc74ee sp:7fffcf562670 error:0
Jul 16 17:06:44 [sshd] Received disconnect from 127.0.0.1 port 57958:11: disconnected by user
Jul 16 17:06:44 [sshd] Disconnected from 127.0.0.1 port 57958
Jul 16 17:06:44 [sshd] pam_unix(sshd:session): session closed for user XXX |
The suspected NX log file at /var/log/nxserver.log remains empty (0 bytes). I already re-enabled ssh-dss, the issue is with something that happens shortly after authentication succeeds. It doesn't matter if I tell the client to instantiate a KDE session using the default option or if I select "default X-client script" or attempt to invoke /usr/bin/startxfce4. The only difference with selecting KDE is that the client just hangs instead of throwing an error code 5 referring to I/O issues.
If I search for "traps: ck-remove-direc" I find references to errors due to ConsoleKit relying on a missing systemd installation which I attempt to avoid in favor of a "traditional" OpenRC setup.
I might be the last person on earth who wants to use NX but I always found it to be realiable, fast and convenient for graphical remote access to Linux desktops, especially from foreign operating systems. Is there any chance to get this working without systemd or is that log message just a red herring? Local logins work just fine on that box, it's only FreeNX that's not working as expected... _________________ nohup nice -n -20 cp /dev/urandom /dev/null & |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Sat Jul 16, 2016 4:00 pm Post subject: |
|
|
I read that message to be that ConsoleKit aborted uncleanly. This could be, but need not be, because it assumes the presence of systemd. Regardless, I would consider that a bug in ConsoleKit. It should never hit a trap like that. If it requires systemd, it ought to fail more gracefully. If the systemd references you found are not relevant here, then ConsoleKit has some other problem.
If you configure the system not to use ConsoleKit, does that allow FreeNX to work? |
|
Back to top |
|
|
c00l.wave Apprentice
Joined: 24 Aug 2003 Posts: 264
|
Posted: Sat Jul 16, 2016 4:26 pm Post subject: |
|
|
It seemed like KDE 4 (or KDM) strictly required ConsoleKit at some point, otherwise I wouldn't have installed it in the first place. If I were to disable it, I would need to recompile all affected ebuilds with -consolekit or is there another way to temporarily disable it? _________________ nohup nice -n -20 cp /dev/urandom /dev/null & |
|
Back to top |
|
|
|