Linux

安装xubuntu-desktop,通过xmanager连接桌面

2021-06-21  本文已影响0人  风吹路过的云

软件环境:
linuxmint20.1
xmanager7

安装xubuntu-desktop

sudo apt install xubuntu-desktop

安装完xubuntu-desktop后,lightdm就有了,也跑起来了,可以看下它的状态

oem@xxx:~$ systemctl status lightdm.service 
● lightdm.service - Light Display Manager
     Loaded: loaded (/lib/systemd/system/lightdm.service; indirect; vendor preset: enabled)
     Active: active (running) since Mon 2021-06-21 17:44:59 CST; 25s ago
       Docs: man:lightdm(1)
    Process: 37118 ExecStartPre=/bin/sh -c [ "$(basename $(cat /etc/X11/default-display-manager 2>/dev/null))" = "lightdm" ] (code=exited, status=0/SUCCESS)
   Main PID: 37121 (lightdm)
      Tasks: 9 (limit: 19044)
     Memory: 34.0M
     CGroup: /system.slice/lightdm.service
             ├─37121 /usr/sbin/lightdm
             └─37133 /usr/lib/xorg/Xorg -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -listen tcp vt7 -novtswitch

6月 21 17:45:00 xxx lightdm[37226]: PAM adding faulty module: pam_kwallet.so
6月 21 17:45:00 xxx lightdm[37226]: PAM unable to dlopen(pam_kwallet5.so): /lib/security/pam_kwallet5.so: cannot open shared object file: No such file or directory
6月 21 17:45:00 xxx lightdm[37226]: PAM adding faulty module: pam_kwallet5.so
6月 21 17:45:00 xxx lightdm[37226]: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "oem"
6月 21 17:45:00 xxx  lightdm[37226]: pam_unix(lightdm:auth): Couldn't open /etc/securetty: No such file or directory
6月 21 17:45:03 xxx  lightdm[37226]: pam_unix(lightdm:auth): Couldn't open /etc/securetty: No such file or directory
6月 21 17:45:03 xxx  lightdm[37226]: gkr-pam: unable to locate daemon control file
6月 21 17:45:03 xxx  lightdm[37226]: gkr-pam: stashed password to try later in open session
6月 21 17:45:03 xxx  lightdm[37226]: pam_unix(lightdm:session): session opened for user oem by (uid=0)
6月 21 17:45:03 xxx  lightdm[37226]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring

配置lightdm,修改/etc/lightdm/lightdm.conf文件,用如下内容替换即可。

[XDMCPserver]
enabled=true
[SeatDefaults]
xserver-allow-tcp=true
greeter-show-remote-login=true
[XDMCPServer]
enabled=true
port=177

重启lightdm

systemctl restart lightdm.service

接下来,用xmanager建一个会话,连接就可以了

登录界面 进入系统后
上一篇下一篇

猜你喜欢

热点阅读