Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I wanted to try out using graphical tools over ssh. Just to learn a new thing :)

so my understanding is this, I connect like this: ssh -port -x user@server

But I'm running ubuntu server so it has no gui and thus no gui tools. My understanding is I've to install gedit on server. But also xserver?

Can someone clear up this concepts to me?

share|improve this question

1 Answer

up vote 1 down vote accepted

The correct command is

ssh -p 2222 -X user@host

where I suppose the server listen on 2222 port number. Also note that the case of X option is important, it must be uppercase.

You need to have the program you want to run installed on the server (gedit in this case). Also you may install gedit without installing X, just because you can run gedit on a remote X server, as you are trying to do.

share|improve this answer
nice, but were does mu port number go? I'm not on default port. should I do ssh -x user@host:port ? – Sandro Dzneladze Oct 21 '11 at 20:09
@SandroDzneladze: see updated answer – enzotib Oct 21 '11 at 20:12
cool, exactly what I had written :D thanks for explaining though. – Sandro Dzneladze Oct 21 '11 at 20:14

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.