Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

In Ubuntu running Gnome 2 you were able to select "Connect to Server" from the Places menu and you would get a graphical connection to whatever server you connected to.

Example:

enter image description here enter image description here

How can you do this from within Xubuntu?

share|improve this question
add comment

3 Answers

up vote 8 down vote accepted

I was able to connect to servers by first running

sudo apt-get install gvfs-fuse gvfs-backends

Then, open up any folder and hit Ctrl+L. In the location dialog box it presented I could then enter:

sftp://user@hostname:port/directory/path

This would give me a browser of the remote system.

share|improve this answer
    
Adding remote servers to /etc/fstab is very useful for frequent mounts. If you have SSH access, you can use SSHFS to mount the remove volume easily and automatically. –  earthmeLon Nov 9 '11 at 17:30
    
I thought of that as well, but didn't want to have them always mounted for two reasons: 1) In the event I'm not connected to a network it can slow down and/or pause boot and 2) It poses a security risk if someone were to get unauthorized access to my PC. –  PHLAK Nov 9 '11 at 18:52
    
In the case that you're using Public Key Authentication, your risk with 'unauthorized access' isn't with putting it in your fstab. Also, fstab entries with basic settings do not mount at boot; You still have to request their mounting (totally optional). Have fun either way :D –  earthmeLon Nov 11 '11 at 5:27
    
When you press Ctrl+L in Ubuntu 13.04, it doesn't show up any dialog box. Instead, it takes the focus to the location bar (/your/current/path/ on top). You can still paste the location provided by @PHLAK: sftp://user@hostname:port/directory/path. After hitting Enter, it should prompt a dialog box for your password. For an unexpected reason, it doesn't take you directly to the location, but you can find it in the side bar (View->Side Pane->Tree). –  toto_tico Nov 9 '13 at 3:12
add comment

This is not yet built in into thunar, it is however work in progress. In the meantime, use gigolo to manage these bookmarks.

share|improve this answer
    
This is not correct, see PHLAK's answer. –  Syzygy Mar 23 '12 at 3:10
    
Works fine for me. –  D. Strout Apr 17 '13 at 3:48
add comment

I just installed Xubuntu 13.10 and was using a combination of this guide and another to get my SSH connections set up.

As aquaherd mentioned, you can easily manage your SSH connections using Gigolo which then opens the connection in Thunar (click the Xfce logo in the top left and select System > Gigolo from the drop-down menu). Hopefully this solution still falls under the purview of your support request.

I also wanted to mention that I tried PHLAK's solution as well and I did not need to install that packages he mentioned as of Xubuntu 13.10 (I have not tried any other versions). I also wanted to add a note that was the source of some confusion for me, in the line:

sftp://user@hostname:port/directory/path

hostname should refer to the local ip address of the computer on the network.

So for example, on a default Xubuntu 13.10 installation, without installing any additional packages, one should be able to open Thunar and press Ctrl+L (or click on the address/location bar) and enter (e.g.,):

3. Connect to local machine

sftp://dan@192.168.1.153:22/home/dan

to be taken to the home folder of dan on the computer with the local ip 192.168.1.153 after entering the password for dan in the prompt that comes up. I am not sure of the significance of the port. I saw another guide that says to use port 22 and I have always had success with port 22.

I hope this helps some people, I was a little confused because I was trying to enter my other computer's hostname by name as opposed to local ip address. I also figured it's always good to have fewer unneeded packages on the system if possible. I did not need to install gvfs-fuse or gvfs-backends

Edit (added): I did however install openssh-server and openssh-client. I am not sure if this is required for Xubuntu 13.10 but it is included as a necessary step in every SSH setup guide so I will add that after a clean install of Xubuntu 13.10 you may need to open the terminal (ctrl+alt+t) and type:

1. Install SSH

sudo apt-get install openssh-server openssh-client

in order to install these packages.

Additional edit: I will also add, for the sake of making my answer as complete as possible, the easiest way to find the local ip address of a machine you want to connect to is to open a terminal on that machine and type:

2. Determine local IP of target machine

ifconfig

and listed under the current device being used to connect to your network it should say the ip address next to 'inet addr:' or something similar.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.