Feb
11
2008

HowTo – install FreeNX on Ubuntu 7.10 x64

I found this url in the endless ubuntuforms.org. These steps worked great for me. In order to get this working correctly you must know your external ip and/or dns name and also have ssh installed with the correct port (22) forwarded to the machine in question.

Start by setting up your repos:
Add the following to /etc/apt/sources.list

deb http://www.datakeylive.com/ubuntu gutsy main
deb-src http://www.datakeylive.com/ubuntu gutsy main

This next step failed for myself, but is only the repo apt-key and didn’t cause the install to fail:

wget http://www.datakeylive.com/ubuntu/dists/gutsy/wjeremy.key | sudo apt-key add -

Then run good ol: sudo apt-get update

This next step will install the packages required:

sudo apt-get install expect openssh-server tcl8.4 libxcomp2 libxcompext2 libxcompshad nxlibs nxagent nxproxy nxclient freenx

You can check to make sure it installed correctly by executing:

sudo apt-get -f install

sudo apt-cache show expect openssh-server tcl8.4 libxcomp2 libxcompext2 libxcompshad nxlibs nxagent nxproxy nxclient freenx | grep “Unable”

I needed to add the following to the bottom of /etc/X11/xorg.conf (make sure to back your’s up first!)

Section “Files”

# path to defoma fonts
FontPath “/usr/share/fonts/X11/misc”
FontPath “/usr/share/fonts/X11/100dpi/:unscaled”
FontPath “/usr/share/fonts/X11/75dpi/:unscaled”
FontPath “/usr/share/fonts/X11/Type1″
FontPath “/usr/share/fonts/X11/100dpi”
FontPath “/usr/share/fonts/X11/75dpi”
FontPath “/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType”
EndSection

You’ll need to download the following file ( i used my home directory)

nxcupsd-wrapper

You need to set the permissions on that last file downloaded to make it work right:

chmod a+x nxcupsd-wrapper
sudo chmod 755 /usr/lib/cups/backend/ipp

Now you need to add a user that is able to remote in; replace xxxx with username:

sudo nxserver –adduser xxxx

On your remote machine make sure to install the client and you’re good to go!

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • E-mail this story to a friend!
  • LinkedIn
  • Live
  • StumbleUpon
  • Technorati
  • TwitThis
  • Yahoo! Buzz
Written by Tom Tags: , , ,

6 Comments »

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress | Aeros Theme | TheBuckmaker.com WordPress Themes