Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

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

From the local system: export DISPLAY=local:0.0

From the remote system: export DISPLAY=local:0.0

From the local system: export DISPLAY=remote:0.0

From the remote system: export DISPLAY=remote:0.0

share|improve this question

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= or DISPLAY= 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 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

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

Your Answer


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