Simple instructions on install NX Server
No Machine’s NX Server software is another one of those absolutely brilliant finds! This allows RDP type connections to Ubuntu boxes. For the simplest instructions on how to set it up for Hardy, check out Urban Puddle.
Leave a Comment
Mounting and unmounting Samba shares over CIFS
CIFS is apparently better than SMBFS for mounting shares across a network in Ubuntu. To set up fstab to automatically mount a share (with read/write access):
- apt-get install smbfs
- Create a file called .smbcredentials in the /root folder containing the lines:
username=[your username] password=[your password]
Then
chmod 700that file so that only root can access it. - For each share, add the line:
//Server/Sharename /[local mountpoint] cifs credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
Done. However, to make sure you don’t get the CIFS VFS: Server not responding error, execute:
ln -s /etc/init.d/umountnfs.sh /etc/rc0.d/K15umountnfs.sh
ln -s /etc/init.d/umountnfs.sh /etc/rc6.d/K15umountnfs.sh