

Sudo /usr/NX/bin/nxsetup -install -setup-nomachine-key Ln -s /usr/NX/lib/libXrender.so.1.2.2 /usr/NX/lib/libXrender.so.1.2 ] & sed -e "s/#COMMAND_START_GNOME=gnome-session/COMMAND_START_GNOME=\"gnome-session -session=ubuntu-2d\"/g" -i.bak Sed -e "s/#COMMAND_SMBUMOUNT_CIFS=\/sbin\/umount.cifs/COMMAND_SMBUMOUNT=\/bin\/umount/g" -i.bak Sed -e "s/#COMMAND_SMBUMOUNT=smbumount/COMMAND_SMBUMOUNT=umount/g" -i.bak Sed -e "s/etc\/cups/usr\/share\/cups\/mime/g" -i.bak Sed -e "s/foomatic-ppdfile/foomatic/g" -i.bak Sed -e "s/PATH_BIN PATH_LIB CUPS_BACKEND NX_VERSION/& NX_ETC_DIR/g" -i.bak Makefile Sed -e "s/etc\/cups\//usr\/share\/cups\/mime/g" -i.bak nxloadconfig Sed -e "s/foomatic-ppdfile/foomatic/g" -i.bak nxloadconfig # Patch the source files: nxloadconfig Makefile The following script compile and install freenx server on Ubuntu 11.10 oneiric and Ubuntu 12.04 LTS precise:.
