Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've currently have the following situation.

I have a server, that is connected to the internet with ssh (on a non 22 port). This is an ubuntu server without X server. Now i have a machine inside this network, that is used as a desktop machine.

Is it possible to forward all request on a specific port (for the server) directly to that desktop machine, to be able to use the Xserver over SSH?

share|improve this question

migrated from Feb 26 '11 at 22:55

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

If you want the X client to appear on your desktop machine, the normal way I do this is with ssh -X servername

Check to make sure your Display environment variabile is set via echo $DISPLAY and any xclient started from that X session will show up on your desktop x server.

share|improve this answer

Your Answer


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.