-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xrdp.service: Can't open PID file /run/xrdp/xrdp.pid (yet?) after start: Operation not permitted #2728
Comments
There's no problem with that listing, except for this:-
That looks very much like a systemd problem. There are multiple reports of this online:-
It's not clear whether this is causing your xrdp problem or not. I don't understand what this means:-
Can you be more specific? Also, what distro are you running? |
Step 1, I input the command line guangsen@DESKTOP-85JA84V :~$sudo systemctl restart xrdp Step 2: I connect to localhost: 3390 through the window Remote Desktop Services Step 3, I input my account and password in the xrdp tool The result screen went black and exited, but ubuntu was not successfully opened |
Thanks @liuguangsen Some questions for you:-
Thanks |
Hello I connect to the Remote Desktop Services, enter the account password, and the black screen will flash back
The following is a command line error.
liuguangsen@LAPTOP-G1CHMO40:
$ sudo systemctl restart xrdp$ sudo systemctl status xrdpliuguangsen@LAPTOP-G1CHMO40:
Failed to dump process list for 'xrdp.service', ignoring: Input/output error
● xrdp.service - xrdp daemon
Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2023-06-13 14:56:32 CST; 11s ago
Docs: man:xrdp(8)
man:xrdp.ini(5)
Process: 1877 ExecStartPre=/bin/sh /usr/share/xrdp/socksetup (code=exited, status=0/SUCCESS)
Process: 1885 ExecStart=/usr/sbin/xrdp $XRDP_OPTIONS (code=exited, status=0/SUCCESS)
Main PID: 1886 (xrdp)
Tasks: 2 (limit: 14300)
Memory: 3.0M
CGroup: /system.slice/xrdp.service
Jun 13 14:56:31 LAPTOP-G1CHMO40 xrdp[1885]: (1885)(140034403936064)[INFO ] address [0.0.0.0] port [3389] mode 1
Jun 13 14:56:31 LAPTOP-G1CHMO40 xrdp[1885]: (1885)(140034403936064)[INFO ] listening to port 3389 on 0.0.0.0
Jun 13 14:56:31 LAPTOP-G1CHMO40 xrdp[1885]: (1885)(140034403936064)[INFO ] xrdp_listen_pp done
Jun 13 14:56:31 LAPTOP-G1CHMO40 xrdp[1885]: (1885)(140034403936064)[DEBUG] Closed socket 7 (AF_INET6 :: port 3389)
Jun 13 14:56:31 LAPTOP-G1CHMO40 systemd[1]: xrdp.service: Can't open PID file /run/xrdp/xrdp.pid (yet?) after start: Operation not permitted
Jun 13 14:56:32 LAPTOP-G1CHMO40 systemd[1]: Started xrdp daemon.
Jun 13 14:56:33 LAPTOP-G1CHMO40 xrdp[1886]: (1886)(140034403936064)[INFO ] starting xrdp with pid 1886
Jun 13 14:56:33 LAPTOP-G1CHMO40 xrdp[1886]: (1886)(140034403936064)[INFO ] address [0.0.0.0] port [3389] mode 1
Jun 13 14:56:33 LAPTOP-G1CHMO40 xrdp[1886]: (1886)(140034403936064)[INFO ] listening to port 3389 on 0.0.0.0
Jun 13 14:56:33 LAPTOP-G1CHMO40 xrdp[1886]: (1886)(140034403936064)[INFO ] xrdp_listen_pp done
The text was updated successfully, but these errors were encountered: