Dec 132011
 

If you want to start a certain desktop environment when connecting to a Ubuntu Linux machine running a FreeNX or NeatX NX server, you have to change the command to be run remotely:

For a 2D Unity session:

gnome-session --session=2d-ubuntu

For a 2D Gnome session:

gnome-session --session=2d-gnome

Resources

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Nov 282011
 
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:freenx-team

As long as oneiric is not in the list of http://ppa.launchpad.net/freenx-team/ppa/ubuntu/dists/ you have to tell your packages sources to download and install the packages for lucid 10.04:
sudo sed -i 's/oneiric/lucid/g' /etc/apt/sources.list.d/freenx-team-ppa-oneiric.list

sudo vi /etc/apt/sources.list.d/freenx-team-ppa-oneiric.list
sudo apt-get update
sudo apt-get install neatx-server

Resources

Aug 092010
 

FreeNX

sudo apt-get install python-software-properties && sudo add-apt-repository ppa:freenx-team
sudo apt-get update
sudo aptitude install freenx

Now use nxsetup to install necessary files and create the special user “nx”

sudo /usr/lib/nx/nxsetup --install

If you need nxsetup binary for this check out: https://help.ubuntu.com/community/FreeNX?action=AttachFile&do=view&target=nxsetup.tar.gz

shadow sessions on FreeNX – enables concurrent access to a desktop

http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_HowtoShadow

Neatx – the Google alternative to FreeNX

http://www.ubuntugeek.com/how-to-install-neatx-similar-to-freenx-server-on-ubuntu-10-04-lucid-lynx.html

sudo apt-get install python-software-properties && sudo add-apt-repository ppa:freenx-team
sudo apt-get update
sudo apt-get install neatx-server

resources

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Feb 182009
 

Installation:

wget http://64.34.161.181/download/3.3.0/Linux/nxclient_3.3.0-3_x86_64.deb
wget http://64.34.161.181/download/3.3.0/Linux/nxnode_3.3.0-3_x86_64.deb
wget http://64.34.161.181/download/3.3.0/Linux/FE/nxserver_3.3.0-8_x86_64.deb
sudo dpkg -i nxclient_3.3.0-3_x86_64.deb
sudo dpkg -i nxnode_3.3.0-3_x86_64.deb
sudo dpkg -i nxserver_3.3.0-8_x86_64.deb

Note: Go to the NoMachine Installation Instructions for detailed instructions on how to install the NX Client, NX Node and NX Server packages. The NX service can be controlled by the command

sudo /usr/NX/bin/nxserver --status|--start|--stop|--restart

Additional commands are available to configure the server. Try

/usr/NX/bin/nxserver --help

for more information. Please, don’t forget to download and read the NX Server Administrator’s Guide available at http://www.nomachine.com/documentation/admin-guide.php .

set to the correct ssh port:

Feb 182009
 

source: https://help.ubuntu.com/community/FreeNX

add the following lines (replace VERSION with intrepid if you’re running 8.10) to your /etc/apt/sources.list

deb http://ppa.launchpad.net/freenx-team/ubuntu VERSION main
deb-src http://ppa.launchpad.net/freenx-team/ubuntu VERSION main

then update your repository informations and install freenx

sudo apt-get update
sudo aptitude install freenx

to have a opensource client:

sudo aptitude install qtnx

otherwise use the client from NoMachine

to stop and start freeNX

sudo /etc/init.d/freenx-server stop
sudo /etc/init.d/freenx-server start

Configuring SSH port

By default, nxserver uses port 22 for communicating over SSH. On some machines or networks, port 22 may be blocked; some Internet providers block port 22, for instance. Port 22 is also a common target of people trying to crack into a network. To make the SSH server listen on port 8888, you can do the following:

Feb 182009
 

If you want to use mathematica via a nx server, you need to make the mathematica fonts available via xfs (X font server): note that there may be another way to load the fonts: http://forum.ubuntuusers.de/topic/freenx-automatische-installation-mit-fehler/#post-1053311

sudo aptitude install xfs

and change file /etc/X11/fs/config: at the end of catalogue:

catalogue = /usr/share/fonts/X11/misc/,
        /usr/share/fonts/X11/cyrillic/,
        /usr/share/fonts/X11/100dpi/:unscaled,
        /usr/share/fonts/X11/75dpi/:unscaled,
        /usr/share/fonts/X11/Type1/,
        /usr/share/fonts/X11/100dpi/,
        /usr/share/fonts/X11/75dpi/

add

        /usr/local/Wolfram/Mathematica/7.0/SystemFiles/Fonts/AFM/,
        /usr/local/Wolfram/Mathematica/7.0/SystemFiles/Fonts/BDM/,
        /usr/local/Wolfram/Mathematica/7.0/SystemFiles/Fonts/Type1/

and comment out the line no-listen = tcp:

#no-listen = tcp

then restart the X font server:

sudo /etc/init.d/xfs restart

to set up the client:

xset fp+ tcp/localhost:7100
xset fp rehash

or using a shell script: