合 连接Xfce4桌面报错connection problem, giving upsome problem Error connecting to user session
现象
在openKylin上安装xfce4桌面后,远程登录卡住,最后报错:
1 2 3 4 5 6 | connecting to sesman on 127.0.0.1:3350 sesman cornect ok sending login info to session manager. Please wait ...login successful for user root on display 10 started connecting connection problem, giving upsome problem Error connecting to user session |
解决
由于openKylin基于debian系统,需要安装xorgxrdp包:
1 2 3 4 5 6 7 8 9 10 | sudo apt-get install xorgxrdp sudo apt-get install xserver-xorg-core sudo apt-get install xserver-xorg-input-all sudo apt-get install xrdp apt-get install desktop-base xfce4 xfce4-places-plugin xfce4-goodies update-alternatives --config x-session-manager ## select 2 |
但是往往安装的时候会报错:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | root@openkylin:/# sudo apt-get install xorgxrdp Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: xorgxrdp : Depends: xorg-video-abi-24 E: Unable to correct problems, you have held broken packages. root@openkylin:/# sudo apt-get install xorg-video-abi-24 Reading package lists... Done Building dependency tree... Done Reading state information... Done Package xorg-video-abi-24 is a virtual package provided by: xserver-xorg-core 2:1.20.8-ok0 [Not candidate version] E: Package 'xorg-video-abi-24' has no installation candidate root@openkylin:/# sudo apt-get install xserver-xorg-core Reading package lists... Done Building dependency tree... Done Reading state information... Done xserver-xorg-core is already the newest version (2:21.1.7-ok3). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. root@openkylin:/# |