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.

Is it possible to run a GUI application (firefox / xterm / GNU plot) on an Ubuntu server (The server does not have X11 installed) over an SSH with X11 forwarding (The client has X11 installed)?

I am unable to experiment and try it out :-( Has anyone tried this?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

When using X11 only need a X server on the machine that has the keyboard and monitor you want to use, you don't need a X server on the machine the applications (X clients) are running on.

So yes, you can use the programs from your client over SSH.

share|improve this answer
    
Thanks :-) So does that mean that I will also not need to have xvfb installed on the server? What I understand is that X11 clients direct the output to xvfb (something like directing to /dev/null ?) , but with X11 forwarding, it is directing the output over ssh. Have I got anything wrong? –  Lord Loh. Apr 3 '12 at 20:14
    
You don't need any X server on the server. The X clients connect to the X server that is running on your client machine with SSH working as some kind of tunnel that is forwarding the data between the two machines. –  Florian Diesch Apr 3 '12 at 20:34

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.