Home > ubuntu, unix > NoMachine NX, Ubuntu and the XSession

NoMachine NX, Ubuntu and the XSession

If you get the dreaded

'Cannot run /etc/X11/xdm/Xsession ...'

when requesting a new session on an Ubuntu server, this – at least for me – fixed it:

sudo mkdir /etc/X11/xdm && sudo ln -s /etc/X11/Xsession /etc/X11/xdm/Xsession
Advertisements
Categories: ubuntu, unix Tags: , ,
  1. WebCodeLine
    February 4, 2012 at 4:41 pm

    The best way is to modify your “node.conf”

    # nano /usr/NX/etc/node.cfg

    Uncomment the “DefaultXSession” line and set it to :

    DefaultXSession=/etc/X11/Xsession

    Then restart your server :p

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: