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

I want to run a desktop session as user A, and from that session access a different desktop session as user B. This way I can test, screencast or share my screen from session B, while having access to apps/resources in session A that I do not want running/visible in session B. What application can I do this with?

I assume some kind of a remote desktop client/server is what I'm looking for. So far I have tried:

Am I attempting the impossible? Should I be looking for something other than a remote desktop tool?

share|improve this question
up vote 2 down vote accepted

Using X2Go should work, actually. I see no reason why it shouldn't.

However, I would not recommend using a terminal server for this. I think it would be much better to use a nested X server, such as Xephyr.

share|improve this answer
thanks - using this script I can get a single application running in a xephyr window - how would I get an entire unity desktop running? – d3vid Mar 28 '12 at 12:06
I think I'm looking for an up-to-date (11.10) version of – d3vid Mar 28 '12 at 12:22
You can use 'gnome-session --session=ubuntu' for Unity or 'gnome-session --session=ubuntu-2d' for unity2d – Jo-Erlend Schinstad Mar 28 '12 at 14:13
hmm, still struggling so I've opened a new question about that… - thanks for pointing me in the right direction! – d3vid Mar 29 '12 at 4:18

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.