NX and VNC for Ubuntu 12.10 and 14.04

https://www.nomachine.com/AR07K00676

以下の設定でNXを設定して

Ubuntu 12.10 there are two different types of GNOME session fallback. The default fallback is named 'GNOME Classic' and neither NoMachine 4 or NX 3.5.0 are able to work with it. It's necessary instead to install and use the GNOME Classic (No effects) fallback.

Install GNOME Classic (No effects)
$ sudo apt-get install gnome-session-fallback

or from the Ubuntu Software Center: enter gnome-session-fallback into the search field and click to install it.

Then edit the node configuration file (namely installationDirectory/NX/etc/node.cfg) to have:

DefaultDesktopCommand "/usr/bin/gnome-session --session=gnome-fallback"

and:

CommandStartGnome "/usr/bin/gnome-session --session=gnome-fallback"

Notes for 3.5.0 users

Set in the node configuration file:

CommandStartGnome = "/usr/bin/gnome-session --session=gnome-fallback"

A drawback of this workaround is that logging out via the 'power' icon is not possible because the menu is empty. To log out, run from a terminal the following command:

$ gnome-session-quit



On Ubuntu 14.04, need to install MATE.

run from command line:

$ sudo add-apt-repository "deb http://repo.mate-desktop.org/archive/1.8/ubuntu $(lsb_release -cs) main"
$ wget -q http://mirror1.mate-desktop.org/debian/mate-archive-keyring.gpg -O- | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install mate-core mate-desktop-environment mate-notification-daemon

Then, set in the node configuration file:

DefaultDesktopCommand "/etc/X11/Xsession mate-session"

Note for 3.5.0 users

Set in the node configuration file:

CommandStartGnome "/etc/X11/Xsession mate-session"