School of GeoSciences

School of GeoSciences

Setting up Ubuntu

This page gives you some hints of how to make your own Ubuntu desktop/laptop play nicely with our system if you really insist on managing your own Linux machine.

  • make sure you think about backups
  • use your university username (UUN) on your ubuntu box, this will make connecting to our system more straight forward.
  • setup Kerberos to access your home and data shares using samba
  • setup cups to print to our printers
  • setup samba

Setting up Kerberos and Connecting to your Home Directory

First of all you need to install some packages. In a terminal run
sudo apt-get install curl krb5-user
Then, you need to download and install a suitable krb5_linux_v2.conf by entering the following (then press return):
sudo curl -o /etc/krb5.conf
If you use the same username and password for your ubuntu machine as for EASE, you can authenticate using EASE by installing
sudo apt-get install libpam-krb5
Next time you log in you should have a kerberos ticket.

You can now ssh into any of our managed Linux servers without entering your password

Use the file browser and open the connect to server dialog. Enter the server name as and the name of the share, e.g. your uun. If you want to, you can create a book mark for the connection. The network share is mounted in ~/.gvfs which you can use to access the directory from the shell.

Cups Printing

Printing can also be configured in the Control Centre. Select Show printers shared by other systems in the settings dialog. Close the settings dialog and open it again. Expand the Advanced settings options and add to the list of servers to be browsed. A list of available printers should now appear. Cloud-Mono will be your default printer.

On Ubuntu 13.04 you need to edit /etc/cups/cups-browsed.conf. The file should contain the following lines

BrowseRemoteProtocols dnssd cups

Passwordless Samba

Edit your /etc/samba/smb.conf. In the global section you need to set
workgroup = ED
realm = ED.AC.UK