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.

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 stackoverflow.com Feb 26 '11 at 22:55

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

add comment

1 Answer

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
add comment

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.