Xrdp 启动失败

Xrdp 启动失败

我正在运行 Ubuntu 16.04.4 LTS。我曾让 xrdp 正常工作,然后磁盘空间用完了,Ubuntu 做了一些疯狂的事情以确保它仍然可以启动。我已经重新启动系统并运行,并释放了磁盘空间。唯一仍然不起作用的是 xrdp。我尝试过完全删除它,重新启动然后重新安装,并给出了我在谷歌上找到的许多说明。它仍然不起作用。这是我得到的结果。

Setting up xrdp (0.6.1-2) ...
Job for xrdp.service failed because the control process exited with error code. See "systemctl status xrdp.service" and "journalctl -xe" for details.
invoke-rc.d: initscript xrdp, action "start" failed.
● xrdp.service - xrdp daemon
   Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2018-06-15 08:33:53 CDT; 6ms ago
     Docs: man:xrdp(8)
           man:xrdp.ini(5)
  Process: 5051 ExecStart=/usr/local/sbin/xrdp $XRDP_OPTIONS (code=exited, status=1/FAILURE)

Jun 15 08:33:53 GitLabServer systemd[1]: Starting xrdp daemon...
Jun 15 08:33:53 GitLabServer systemd[1]: xrdp.service: Control process exited, code=exited status=1
Jun 15 08:33:53 GitLabServer systemd[1]: Failed to start xrdp daemon.
Jun 15 08:33:53 GitLabServer systemd[1]: xrdp.service: Unit entered failed state.
Jun 15 08:33:53 GitLabServer systemd[1]: xrdp.service: Failed with result 'exit-code'.
dpkg: error processing package xrdp (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up tightvncserver (1.3.10-0ubuntu3) ...
update-alternatives: using /usr/bin/tightvncserver to provide /usr/bin/vncserver (vncserver) in auto mode
update-alternatives: renaming Xvnc.1.gz slave link from /usr/share/man/man1/Xvnc.1.gz to /usr/share/man/man1/Xvnc
Errors were encountered while processing:
 xrdp
E: Sub-process /usr/bin/dpkg returned an error code (1)

然后

$ journalctl -xe
Subject: Unit xrdp.service has begun start-up
Defined-By: systemd
Support: 

Unit xrdp.service has begun starting up.
Jun 15 08:33:53 GitLabServer systemd[1]: xrdp.service: Control process exited, code=exited status=1
Jun 15 08:33:53 GitLabServer systemd[1]: Failed to start xrdp daemon.
Subject: Unit xrdp.service has failed
Defined-By: systemd

Unit xrdp.service has failed.

The result is failed.
Jun 15 08:33:53 GitLabServer systemd[1]: xrdp.service: Unit entered failed state.
Jun 15 08:33:53 GitLabServer systemd[1]: xrdp.service: Failed with result 'exit-code'.
Jun 15 08:33:53 GitLabServer systemd[1]: Stopping xrdp session manager...
Subject: Unit xrdp-sesman.service has begun shutting down
Defined-By: systemd

Unit xrdp-sesman.service has begun shutting down.
Jun 15 08:33:53 GitLabServer systemd[1]: Stopped xrdp session manager.
Subject: Unit xrdp-sesman.service has finished shutting down
Defined-By: systemd
Support: 

Unit xrdp-sesman.service has finished shutting down.
Jun 15 08:33:56 GitLabServer sudo[4334]: pam_unix(sudo:session): session closed for user root
Jun 15 08:34:23 GitLabServer smbd[5124]: pam_unix(samba:session): session closed for user nobody
Jun 15 08:34:23 GitLabServer smbd[5125]: pam_unix(samba:session): session closed for user nobody
Jun 15 08:35:01 GitLabServer CRON[5234]: pam_unix(cron:session): session opened for user root by (uid=0)
Jun 15 08:35:01 GitLabServer CRON[5235]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jun 15 08:35:01 GitLabServer CRON[5234]: pam_unix(cron:session): session closed for user root
Jun 15 08:40:38 GitLabServer systemd[1]: Starting Cleanup of Temporary Directories...
Subject: Unit systemd-tmpfiles-clean.service has begun start-up
Defined-By: systemd

Unit systemd-tmpfiles-clean.service has begun starting up.
Jun 15 08:40:38 GitLabServer systemd-tmpfiles[6017]: [/usr/lib/tmpfiles.d/var.conf:14] Duplicate line for path "/var/log
Jun 15 08:40:38 GitLabServer systemd[1]: Started Cleanup of Temporary Directories.
Subject: Unit systemd-tmpfiles-clean.service has finished start-up
Defined-By: systemd

由于我不知所措,您能给我提供任何帮助都将非常有帮助。

谢谢安迪

相关内容