Unfortunately this is not an answer … but the next question. :
I’m aware of this issue since 12.2 is out, but I didn’t have time to look at it until now. I received a PM a while ago from a sysadmin who followed my method (Setting up NX server (part I: FreeNX), Setting up NX server (part II: NoMachine NX)) to install FreeNX and NX, asking me why FreeNX didn’t work with Gnome as default desktop. First off, I should say that I wrote freenx-setup and nomachine-setup under 12.1. They worked well. They still work fine. FreeNX gets installed and set up correctly and also functions properly under 12.2. This is NOT, or not just a FreeNX problem. If you use KDE, you will be fine. So what’s going on? To be honest, I don’t know and hope you guys can help me understand and possibly fix this bug …
Here are the details…
FreeNX is installed and running. Users can open different remote desktop sessions. The following WMs or DEs have no issues: twm, ctwm, mwm, icewm wmaker, sawfish, openbox and - last but not least. …KDE (!). However Gnome (gnome-shell, gnome-fallback or cinnamon), Xfce and LXDE crash as soon as the deskop window appears with the following error message:
http://imageshack.us/a/img94/7003/freenxcrash.png
There is nothing in FreeNX logs, because the NX login successfully completed, the NX starting scripts have finished their job, so the X session init script. The X desktop appears shortly in the FreeNX client window and crashes after less than a minute.
- The issue affects FreeNX and Gnome,XFCE and LXDE under openSUSE 12.2 - only.
- It doesn’t affect 12.1 at all.
- I’d say that it doesn’t affect other distros - but I might have to do more tests.
- It doesn’t affect NoMachine NX under 12.2. If you use NoMachine NX, you can start Gnome, XFCE and LXDE sessions.
- This is not a graphics driver issue - doesn’t matter whether servers and clients have ATI or nvidia.
I do a lot of things “differently”. But since I received a report from somebody else, I would assume that my setup is OK. Further, I use the same X setup on 12.1 and with NoMachine under 12.2, and there isn’t any problem there. I tried to connect to a fresh Gnome system where nothing else had been installed except the ATI driver, Oracle VirtualBox and FreeNX, using whatever was the default X setup at this point: the Gnome desktop crashed in exactly the same way.
I suspect Gnome, XFCE and LXDE uses a common library or service under 12.2 which bothers FreeNX … but not NoMachine (!). Also notice that naked openbox (the windows manager used in LXDE sessions) has no problem at all. So it might be some kind of XDG common thing … but also notice that KDE works fine.
That’s about all I can tell… will post .xsession-errors* later.
I’m open to suggestions. I don’t know how to fix this problem - not sure I can either.