view desktop of connected users - neutrinolabs/xrdp GitHub Wiki

Disclaimer

This is not written by xrdp developers. xrdp developers does not guarantee the correctness of the content.

view desktop of connected users

So. this is a lifehack, how to view desktop of connected to xrdp server users. Just make user by template: User№ example: user1, user111, user214.

you must install x11vnc first and create a password (x11vnc -storepasswd pass file) for example (x11vnc -storepasswd 1234567 /etc/vncpasswd) you must make it readable to other users

after that, you can create a bash script:

#!/bin/bash a=$USER b=${a:4} let c=5900+$b echo 'tell support a number of PORT=' x11vnc -rfbauth /etc/vncpasswd -rfbport $c -once -q

so, if your user is user 115, you can connect to a port ((5900+115)=6015) serverip::6015

so, now you can connect to a session of some user.