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 have an XP machine hosting a portable Ubuntu instance. When I access the XP machine via remote desktop client, the portable Ubuntu applications are not starting up, failing with the error "DISPLAY environment variable not set".

How can I can view the portable Ubuntu GUI apps via remote desktop access to the host?

I am not allowed to run a VNC server on the host; remote desktop is the only access I have.

share|improve this question

migrated from stackoverflow.com Jul 5 '10 at 22:32

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

2 Answers 2

Try the following in your Ubuntu shell:

setenv DISPLAY host_name:0.0

share|improve this answer

FreeNX or the commercial version of NX (from nomachine,they offer a free version as well, just not open source) is the best for this, at least was the last time I checked.. it has good performance and you just need a small client... check out their website at: http://nomachine.com

and google around about freenx so you can become familiar with it.. it blows VNC away in terms of speed and performance.

share|improve this answer

Your Answer


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