Super User is a question and answer site for computer enthusiasts and power users. 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

Is it possible to connect to a RD session that has been started (and abandoned) from a remote machine using xrdp? Also I'd like to be able to do the exact opposite: to remotely login to a session that has been initiated locally.
I'm trying to get as close as possible to how Windows RD behaves. (Which also includes that the session would use my terminal machine/monitor resolution. I wasn't able to achieve that using VNC.)

Suggestions to a better alternative to xrdp are welcome please. I don't know Linux too much.

share|improve this question

xrdp runs xvnc over rdp and does so very well. The default configuration launches a new xvnc session on each connection, starting at port 5910. To get it to reconnect to an existing session, edit /etc/xrdp/xrdp.ini thusly:


This way it asks for the port with a default of 5910. If no vnc session exists on 5910 then a 5910 connection attempt will fail. In that case try again, but set the port to -1 to force the creation of a new session, typically on 5910.

share|improve this answer
up vote 0 down vote accepted

This is how one can connect to a locally started session: Xrdp, installing.

To connect locally to a remotely initiated session one would probably use some VNC client, simply connect via VNC to your own machine...? My understanding is that xrdp is kinda 'layer' above VNC so the VNC server is running anyways.

share|improve this answer

You must log in to answer this question.

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