Access to KTH Windows home folder and file shares from Ubuntu
The KTH Windows platform (aka WIKS) has a central role in the KTH IT environment. Ubuntu users might need to access the common file shares. This is how you do it.
In order to access the KTH Windows servers according to the instructions below your computer has fulfill any of these:
- be connected by wifi via Eduroam provided by KTH
- be connected by network cable at KTH
- be connected to the KTH network via VPN connection if you are outside KTH
Connect to home folder and other file shares
The KTH Windows platform has, besides the home folder, a number of common file shares.
The search path of the home folder is constructed by the first letters in the username, e.g. /home/a/l/alice.
To connect to any fo the file shares, follow the instructions below.
|Volume address||Name in KTH Windows||Description|
|/files.ug.kth.se/root/home\x\y\username||H:\||Home folder (see below)|
|/files.ug.kth.se/root/gemensam||G:\||Common files for workgroups|
|/files.ug.kth.se/root/projekt||P:\||Common files for projects|
|\\ug.kth.se\dfs\www||W:\||Webb server for student section homepages|
In the file manager (Nautilus) choose File > Connect to Server... and enter
From there you can access the other file areas.
You can also user the hotkey Ctrl-L and write the path in the address field.
If you need access to the folder from a commandline window or from another application you wlll find the file area mounted under //run/user/<<uid>>/gvfs, but can also be accessed under ~/.gvfs/.
Your own path
If you want to mount the folder at a specifik mountpoint.
Om du vill montera katalogen på en specifik monteringspunkt
1. Create a folder to which the remote location will be mounted
sudo mkdir /mnt/kth_homefolder
sudo mkdir /mnt/kth_common
2. Mount the remote location to the folder(s) that youve just created
sudo mount -t cifs -o username="username" //files.ug.kth.se/root/home/"u"/"s"/"username" /mnt/kth_homefolder
sudo mount -t cifs -o username="username" //files.ug.kth.se/root/gemensam/”path” /mnt/kth_common
If you want to add this to the fstab it should look something like this:
//files.ug.kth.se/root/home/"u"/"s"/"username" /mnt/kth_homefolder cifs rw,user="username",uid=1000,gid=1000 0 0
//files.ug.kth.se/root/gemensam/”path” /mnt/kth_common cifs rw,user=”username”,uid=1000,gid=1000 0 0
- "" should NOT be used when running the commands or in fstab.
- uid and gid might be different on your systems. They should correspond to your user uid.
If problems occurs
Some system can have problems accessing the home folders via the dfs services. Then it might work better to connect straight to the server where the home folder resides, e.g.
instead of smb://ug.kth.se/dfs/home/a/l/alice. Which server the folder resides on depends on the first letter of the username
- A—G: ughome01.ug.kth.se
- H—O: ughome02.ug.kth.se
- P—Z: ughome03.ug.kth.se