5

Possible Duplicate:
How do I run a graphical application on a remote server when logged in through ssh?

I am getting the following error message when using ssh to log into a remote machine:

gedit: cannot open display

I am using ssh in - Ubuntu 12.04.

Erez
  • 53

1 Answers1

8

You simply need to ssh to your remote machine with ssh -X

ssh -X -l root your-machine-name

Once Logged in you just start gedit or any other program of your choice from command line.

Eliah Kagan
  • 117,780
Amol Sale
  • 1,006
  • The performance may not be too great. If you are working over SSH it is recommended to use a CLI editor like nano (easier to use) or vim (more advanced but also more difficult). – Lekensteyn Aug 27 '12 at 09:58
  • 1
    Thanks - the problem was only that I used a small 'x' and not the capital 'X' ! – Erez Sep 12 '12 at 09:24