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.

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

2 Answers 2

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:

[xrdp1]
name=sesman-Xvnc
lib=libvnc.so
username=ask
password=ask
ip=127.0.0.1
port=ask5910

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

Your Answer

 
discard

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.