How to add a second user to FreeNX?

Discussion in 'HOWTO-Related Questions' started by prickly, Feb 11, 2010.

  1. prickly

    prickly New Member

    I have a question about the "How To Set Up A Terminal Server In Linux Using Ubuntu 9.10 And FreeNX" post found here:

    I have followed the guide and it works great - however I have added a second user to my Ubuntu Desktop application and the nxclient fails to connect for this user, I get to the point where I see the big red letters come up in a window and then get the following details as to why the connection fails:

    Info: Display running with pid '4956' and handler '0x40a24'.

    NXPROXY - Version 3.4.0

    Copyright (C) 2001, 2007 NoMachine.
    See for more information.

    Info: Proxy running in client mode with pid '2748'.
    Session: Starting session at 'Wed Feb 10 23:34:52 2010'.
    Warning: Connected to remote version 3.2.0 with local version 3.4.0.
    Info: Connection with remote proxy completed.
    Info: Using LAN link parameters 1536/24/1/0.
    Info: Using pack method 'adaptive-9' with session 'kde'.
    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'.
    Info: Forwarding multimedia connections to port '6000'.
    Info: Listening to font server connections on port '11000'.
    Session: Session started at 'Wed Feb 10 23:34:52 2010'.
    Info: Established X server connection.
    Info: Using shared memory parameters 0/0K.
    Session: Terminating session at 'Wed Feb 10 23:34:54 2010'.
    Session: Session terminated at 'Wed Feb 10 23:34:54 2010'.

    Does anyone know what the problem is?

    Many thanks!
  2. emgee

    emgee New Member

    It looks like you're trying to connect to a KDE session -- is that what you intended, because in my howto it only gave instructions for Gnome sessions. Not that it can't be done, but I figured I'd check. If you:

    aptitude install kubuntu-desktop
    It will install the KDE desktop and you can pick which you'd like to use from the NX Client menu.

    To answer your question, how I added users was in the System -> Administration -> Users and Groups. Command line should work as well, but I've not tried it.
  3. prickly

    prickly New Member

    Thanks very much - got it working now! :)

Share This Page