See IRC freenode #x2go on 2017/09/19 [09:08] == jta_1972 [b2c10097@gateway/web/freenode/ip.178.193.0.151] has joined #x2go [09:15] Hello, [09:15] I have a problem. [09:15] The log of x2go are here : https://dpaste.de/VCVT [09:16] Ionic: I built the latest release, 3.5.99.10 [09:16] Line 157: I can't understand why I can't reach the Xdisplay. [09:17] It's working fine, and I've cleaned up the packaging so it doesn't do silly things, like what was causing the cwd to get set weirdly [09:18] I delete .xauthority, reboot : nothing works! [09:18] I had a look a the x2goserver ebuild as well, since actually that seems broken in gentoo currently, but that one is rather long and needs a bit more effort to untangle what's being done [09:18] Must I reinstall a package? [09:20] Ionic: so, I'll stick with this for now as it's working and I am on an up-to-date 3.5 release, and if it does crash it actually writes a core dump now, so I can at least debug it, if the rare crash bug(s) I experience should reoccur. When I feel like spending a weekend on it, I guess I'll try and sort out 3.6 and newer x2goserver [09:20] mbecroft: 3.5.99.x is actually the 3.6-release beta. [09:21] Oh [09:21] Well, then, it basically works fine [09:21] I didn't even need to upgrade x2goserver like you suggested I might [09:22] The current maintainer said he is very busy and would appreciate some help. So I'll at least send him the 3.5.99.10 ebuild for possible inclusion (in 'beta' status) for those who wish to use it [09:23] jta_1972: "Error: Error 2 'No such file or directory' checking '/tmp/user/1003/.X11-unix'." That's your problem. [09:24] I've removed years of crap from the ebuild, which means it is much simpler and installs everyting in the expected way, but could possibly mean it is no longer compatible with some other packages that use it, like freenx and qtnx. I haven't tested that, I'm just guessing. [09:25] Thank your uli421. How can I solve this problem? Must I reinstall X11? [09:25] Ionic: Also, I'm just about to actually test this, but it appears extra nxagent options can be specified in /etc/x2go/x2goagent.options - hopefully no need to hack the x2gostartagent script [09:26] mbecroft: you should upgrade the server as only new version know about the new nx-libs. Older x2goservers will not setup the environment correctly [09:26] jta_1972: it is on you client side. Check /var/log/Xorg.0.log. [09:26] uli421: Well this is what was told to me, but it is actually working fine as far as I can see. What specifically might I expect to not be working right? [09:27] I did have a look at x2goserver, but the ebuilt is way complex and failing in a non-obvious way (even on the *current* version) so I have deferred that for now [09:28] mbecroft: xinerama will not work [09:28] I don't believe I use Xinerama, so if that's all, it's no loss to me for now [09:29] mbecroft: you can check on the server side: ps waux | grep x2goagent -> get pid -> grep -i xinerama /proc/PID/maps -> should NOT use the xinerama lib of NX but from the system. [09:32] jta_1972: I think even a simple xterm or xclock will not work for your client in the current setup [09:33] uli421: let me check [09:34] uli421: It is using the system-supplied libXinerama [09:35] I don't believe there is any NX-supplied libXinerama; at least, if there is, my ebuild does not install it [09:35] Everything I've tested seems to be absolutely fine, except the font path default being bad. The was the only thing I've had to fix (by setting it in my .xsession) [09:35] uli421: thank your. The X0.lor are here https://dpaste.de/axF2. I don't see nothing strange. [09:36] uli421: sorry Xorg.0.log. [09:37] uli421: Specifically, it's using libXinerama from x11-libs/libXinerama, which is part of xorg that is already installed on my system [09:37] Is there anything else I should check? [09:40] jta_1972: sudo lsof -p $(pidof Xorg) | grep unix should show you where your X11-socket is. [09:41] mbecroft: that's good. Please check this: strings /proc/PID/environ | grep LD_ [09:42] uli421: Thank you. My X11 socket is there: /tmp/.X11-unix [09:43] uli421: How can I bind x2go to the socket? [09:44] uli421: There is no output (nothing in the environment beginning with LD_) [09:46] uli421: The output of sudo lsof -p ... is here: https://dpaste.de/gbGC [09:51] Hmm, ok so I need to get my head around "nx/nx" options vs. direct arguments to the nxagent command...maybe I do have to hack x2gostartagent to set those after all. [09:53] jta_1972: I don't know why x2go is trying another socket. Please paste echo $DISPLAY and xauth list $DISPLAY [09:55] == yppo [~