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.

What shall I do to show my remote x window on my local system?

From the local system: export DISPLAY=local:0.0
OR

From the remote system: export DISPLAY=local:0.0
OR

From the local system: export DISPLAY=remote:0.0
OR

From the remote system: export DISPLAY=remote:0.0

share|improve this question
add comment

3 Answers

X clients (e.g. the remote application) find the X server (e.g. your local system) via the $DISPLAY environment variable, and are authenticated for connection via xauth cookies.

You must either allow a direct connection from the remote system to the local system and set $DISPLAY appropriately (e.g. export DISPLAY=1.2.3.4:0 or DISPLAY=1.2.3.4:0 xclock) and propagate the cookie to the remote system, or use something like SSH's X forwarding (i.e. ssh -X user@remotehost xclock) in order to automatically allow them to display on your system.

share|improve this answer
    
Where i write the command export DISPLAY? from remote or from local and 1.2.3.4 is ip of the remote or the local? there are many odds for that iw ill edit my quest and enter the odds that ive gotten from your answer –  user61928 Sep 19 '12 at 5:17
add comment

just go and install xrdp and x11rdp on the destination host then connect using remmina or any other remote client and choose for connection the (console)

share|improve this answer
add comment
up vote 0 down vote accepted

export DISPLAY=local:0.0 should be the right answer. You could just test it to see the result

share|improve this answer
add comment

Your Answer

 
discard

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