Unix / Linux Hilfe Allgemein
Aus Mein Wiki
Sebra (Diskussion | Beiträge) |
Sebra (Diskussion | Beiträge) (→Mounten) |
||
Zeile 16: | Zeile 16: | ||
sudo mount -t cifs //127.0.0.1/c$ /mnt -o user=nutzer | sudo mount -t cifs //127.0.0.1/c$ /mnt -o user=nutzer | ||
http://www.thomas-krenn.com/de/wiki/Windows_Freigabe_unter_Linux_mounten | http://www.thomas-krenn.com/de/wiki/Windows_Freigabe_unter_Linux_mounten | ||
+ | |||
+ | ===== Auto-Mounting Windows Share ===== | ||
+ | $ sudo apt-get install gigolo gvfs-fuse | ||
+ | * Launch Gigolo, setup your shares as bookmarks and mark them as “Auto-Connect”. | ||
+ | * During (first) connection, you will be prompted for your password and you have the possibility to store it in the GNOME keyring (and here it’s encrypted, not in plain-text!). | ||
+ | * You should also configure the Gigolo preferences so that it starts minimized in the system tray (because we’re going to run it on session startup): | ||
+ | * Add new startup programm: | ||
+ | ** /usr/bin/gigolo | ||
+ | * The main limitation is that those shares are not real mounts, instead they are available within GNOME’s virtual file system (GVFS). If you use only 100% GNOME application, then it’s not a problem but otherwise it’s pretty annoying. You can’t “cd” in those shares from a terminal for example. | ||
+ | |||
+ | There’s a workaround though, it’s called “gvfs-fuse” and you installed it right at the start of this HOWTO. This service hooks into GVFS and exports all the virtual filesystem(s) in a real fuse-based mount that is automatically setup in ~/.gvfs/. However for this to work, the user must be in the “fuse” group. So you should run something like this: | ||
+ | |||
+ | $ sudo adduser $USER fuse | ||
+ | |||
+ | By the way, I haven’t found a way to use a non-hidden directory so if you want this directory to be more visible, I suggest that you create a symlink pointing to it. | ||
==== Mounten von ftp / sftp ==== | ==== Mounten von ftp / sftp ==== |