Hello out there,
my use case is to get an rdp session to an Ubuntu 18.04.5 LTS System. So I installed xrdp and output of "systemctl status xrdp" shows
Code:
xrdp.service - xrdp daemon
Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2020-11-17 20:29:32 CET; 26min ago
Docs: man:xrdp(8)
man:xrdp.ini(5)
Process: 25230 ExecStop=/usr/sbin/xrdp $XRDP_OPTIONS --kill (code=exited, status=0/SUCCESS)
Process: 25243 ExecStart=/usr/sbin/xrdp $XRDP_OPTIONS (code=exited, status=0/SUCCESS)
Process: 25235 ExecStartPre=/bin/sh /usr/share/xrdp/socksetup (code=exited, status=0/SUCCESS)
Main PID: 25244 (xrdp)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/xrdp.service
└─25244 /usr/sbin/xrdp
Nov 17 20:29:31 <hostname obfuscated> systemd[1]: Starting xrdp daemon...
Nov 17 20:29:31 <hostname obfuscated> xrdp[25243]: (25243)(140257481279296)[DEBUG] Testing if xrdp can listen on 0.0.0.0 port 3389.
Nov 17 20:29:31 <hostname obfuscated> xrdp[25243]: (25243)(140257481279296)[DEBUG] Closed socket 7 (AF_INET6 :: port 3389)
Nov 17 20:29:31 <hostname obfuscated> systemd[1]: xrdp.service: Can't open PID file /var/run/xrdp/xrdp.pid (yet?) after start: No such file or directory
Nov 17 20:29:32 <hostname obfuscated> systemd[1]: Started xrdp daemon.
Nov 17 20:29:33 <hostname obfuscated> xrdp[25244]: (25244)(140257481279296)[INFO ] starting xrdp with pid 25244
Nov 17 20:29:33 <hostname obfuscated> xrdp[25244]: (25244)(140257481279296)[INFO ] listening to port 3389 on 0.0.0.0
I tried to connect with ufw enabled and disabled. Started tcpdump to see if request reaches the host (it did) and analyzed the log files. journalctl -xe founds an entry like
Code:
polkitd(authority=local)[1333]: Unregistered Authentication Agent for unix-process:25650:34595746 (system bus name :1.9361, object path /org/freedesktop/PolicyKit1/AuthenticationAgent
after restarting the service.
vnc is not an option.
Has somebody an idea how to analyze this failure. By the way: does a vnc server have to be installed as well to get it work? Some postings tell this.
Regards
Frank
Bookmarks