经典(Wayland 显现服务器)?
在/usr/share/xsessions/下的.desktop文件中都没有找到“经典(Wayland 显现服务器)”字样。
通过cat /var/lib/AccountService/users/lulu,可以看到当前的Session名称是gnome-classic-wayland,这个session名称在/usr/share/xsessions/中不存在。
gnome-classic-wayland在哪里?为什么会话类型是x11?
接下来试试查找gnome-classic-wayland.desktop文件
[root@localhost 桌面]# find / -name gnome-classic-wayland.desktop
/usr/share/wayland-sessions/gnome-classic-wayland.desktop
[root@localhost 桌面]# vim /usr/share/wayland-sessions/gnome-classic-wayland.desktop
文件内容如下:
修改好之后,重启生效。
网友评论