I know that this is possible, I've seen it done, but I've forgotten the command.

Basically, what I want to do (for various reasons) is to spawn a GDM/Gnome/etc session (a new one) from within my current session. I don't want to use another tty. I want it to be windowed, and appear under my current session, so I can easily Alt+Tab, start/stop the session easily.

Ideally I'll be able to do something to the effect of: <command> /path/to/gdm

2 Answers 2


Possibly xnest or xephyr - these both let you start up an X session in a window.

  • Yep, these were what I was after, unfortunately seems not compatible with my end goal, but the question is answered.
    – N J
    May 1, 2011 at 6:54
  • What is your end goal? Maybe we can refine these answers. Maybe ask another question?
    – Caleb
    May 2, 2011 at 11:58

In addition to the above two mentioned commands, you can also use:


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .