在 Ubuntu 16.04.6 LTS Xenial 机器上,我像这样设置 xRDP:
sudo apt-get update
sudo apt-get install -y xrdp mate-core mate-desktop-environment mate-notification-daemon
sudo sed -i.bak '/fi/a #xrdp 多用户配置\n mate-session \n' /etc/xrdp/startwm.sh
sudo ufw 允许 3389
sudo shutdown -r now从 MS-Win10 连接看起来可以按预期工作:
- 输入登录名和密码信息后,我得到这个屏幕:
- 几秒钟后,我断开了连接。
文件.xsession-errors如下所示:
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
openConnection: connect: No such file or directory
cannot connect to brltty at :0
upstart: upstart-event-bridge pre-start process (42575) terminated with status 1
upstart: gnome-session (Unity) main process (42704) terminated with status 1
upstart: unity-settings-daemon main process (42696) killed by TERM signal
upstart: Disconnected from notified D-Bus bus
upstart: logrotate main process (42549) killed by TERM signal
upstart: update-notifier-release main process (42601) killed by TERM signal
upstart: bamfdaemon main process (42698) killed by TERM signal
upstart: unity7 pre-start process (42699) terminated with status 143
upstart: indicator-messages main process (42773) killed by TERM signal
upstart: indicator-bluetooth main process (42774) killed by TERM signal
upstart: indicator-power main process (42775) killed by TERM signal
upstart: indicator-datetime main process (42776) killed by TERM signal
upstart: indicator-keyboard main process (42779) killed by TERM signal
upstart: indicator-session main process (42784) killed by TERM signal
upstart: indicator-sound main process (42782) killed by TERM signal
Xsession: X session started for at mardi 10 mars 2020, 10:16:44 (UTC+0100)
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 109 (X_ChangeHosts)
Value in failed request: 0x5
Serial number of failed request: 6
Current serial number in output stream: 8
localuser:bob being added to access control list
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 109 (X_ChangeHosts)
Value in failed request: 0x5
Serial number of failed request: 6
Current serial number in output stream: 8
openConnection: connect: No such file or directory
cannot connect to brltty at :0
gnome-session-is-accelerated: No composite extension.
gnome-session-check-accelerated: Helper exited with code 256
gnome-session-is-accelerated: No composite extension.
gnome-session-check-accelerated: Helper exited with code 256
gnome-session-binary[1937]: WARNING: software acceleration check failed: Child process exited with code 1
gnome-session-binary[1937]: CRITICAL: We failed, but the fail whale is dead. Sorry....
Xsession: X session started for at mardi 10 mars 2020, 10:17:02 (UTC+0100)
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 109 (X_ChangeHosts)
Value in failed request: 0x5
Serial number of failed request: 6
Current serial number in output stream: 8
localuser:bob being added to access control list
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 109 (X_ChangeHosts)
Value in failed request: 0x5
Serial number of failed request: 6
Current serial number in output stream: 8
openConnection: connect: No such file or directory
cannot connect to brltty at :0
gnome-session-is-accelerated: No composite extension.
gnome-session-check-accelerated: Helper exited with code 256
gnome-session-is-accelerated: No composite extension.
gnome-session-check-accelerated: Helper exited with code 256
gnome-session-binary[2057]: WARNING: software acceleration check failed: Child process exited with code 1
gnome-session-binary[2057]: CRITICAL: We failed, but the fail whale is dead. Sorry....
请问我该如何解决这个问题?