Tux

...making Linux just a little more fun!

Talkback:135/knaggs.html

[ In reference to "Nomachine NX server" in LG#135 ]

Dave Kennedy [davek1802 at gmail.com]


Sun, 1 Mar 2009 15:17:10 -0800

Hi, Good article. I have a problem which I hope you can help me with.

   Env:
   Nomachine Nxclient for Windows 3.3.0-6
   CENTOS 4.7 i686 on standard
   nx-3.2.0-8.el4.centos.i386.rpm
   freenx-0.7.3-1.el4.centos.i386.rpm

If I login remotely as root the gnome desktop is displayed OK but login as another user the !M splash screen is displayed and then closes with no gnome desktop.

How can I verify that gnome is 'enabled' for the user?

Thanks


Top    Back


Ben Okopnik [ben at linuxgazette.net]


Fri, 6 Mar 2009 11:53:10 -0500

On Sun, Mar 01, 2009 at 03:17:10PM -0800, Dave Kennedy wrote:

>    Hi,
>    Good article.
>    I have a problem which I hope you can help me with.
> 
>    Env:
>    Nomachine Nxclient for Windows 3.3.0-6
>    CENTOS 4.7 i686 on standard
>    nx-3.2.0-8.el4.centos.i386.rpm
>    freenx-0.7.3-1.el4.centos.i386.rpm
> 
>    If I login remotely as root the gnome desktop is displayed OK
>    but login as another user the !M splash screen is displayed
>    and then closes with no gnome desktop.
> 
>    How can I verify that gnome is 'enabled' for the user?

I'm not all that familiar with Nomachine/NXclient, but I recall a similar problem with X that commonly came up. It used to happen because the user would have their ~/.xinitrc or ~/.xsession file set up in such a way that all the processes started from there terminated. I.e.:

xterm -bg yellow -fg red &		# Launch an xterm and background it
Xcal &							# Launch a calendar and background it
twm &							# Launch the window manager - and OOOPS!

Since the execution of this file stops at this point - all the processes are backgrounded, so this child process can terminate - X now has nothing to "hold it open", and exits immediately.

The point here is that the last invocation, the WM, should not have been backgrounded; in fact, it should have been executed as 'exec twm', which would replace the child shell in which the session file was being executed. Then, when the user quit the WM, you'd exit the only thing that was holding the X session open.

No guarantees, but this may be what's happening for you. Check both of the files I've mentioned above carefully.

-- 
* Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *


Top    Back