Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

We have a project involving Linux programming. Unfortunately, we have only an ssh interface, and not a convenient graphic one. What can we do? We heard that xterm can solve our problems, but we couldn't run it properly (We get: cant open DISPLAY, depite the fact that we tried DISPLAY=:0.0 and export DISPLAY=:0.0),and despite the fact that we have roots permissions.

We found some issues on the linux forums, for example http://www.linuxquestions.org/questions/slackware-14/xterm-error-display-not-set-583271/, but it didn't help...

How we can convert to a grqphic interface?

share|improve this question

migrated from stackoverflow.com Nov 2 '11 at 20:29

This question came from our site for professional and enthusiast programmers.

2 Answers 2

Take a look at X11 forwarding.

You might look at Xming & X2go.

share|improve this answer
How does on use X11 forwarding? –  Simon Sheehan Nov 8 '11 at 21:12


ssh -X username@remote_machine

-X Enables X11 forwarding. This can also be specified on a per-host basis in a configuration file.

but to make this work make sure that "X11Forwarding" directive in /etc/ssh/sshd_config in the remote server is set to "yes"

share|improve this answer

Your Answer


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