Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
14
rated 0 times [  14] [ 0]  / answers: 1 / hits: 39936  / 2 Years ago, sat, december 18, 2021, 7:11:38

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?


More From » ssh

 Answers
0

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.


[#42703] Sunday, December 19, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
uquelighted

Total Points: 242
Total Questions: 110
Total Answers: 106

Location: Cyprus
Member since Tue, Sep 22, 2020
4 Years ago
;