Skip to content

Instantly share code, notes, and snippets.

@mchelen
Created January 7, 2010 01:12
Show Gist options
  • Save mchelen/270869 to your computer and use it in GitHub Desktop.
Save mchelen/270869 to your computer and use it in GitHub Desktop.
#!/bin/bash
# this script should be run as root with "sudo"
if [ `id -u` != "0" ]; then
echo "Sorry, you are not root."
exit 1
fi
# add the freenx ppa repository list
add-apt-repository ppa:freenx-team
# update software information
apt-get update
# install freenx
aptitude install freenx
# Now use nxsetup to install necessary files and create the special user "nx"
/usr/lib/nx/nxsetup --install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment