本人Kubuntu版本是22.04
名词:SDDM(SDDM - Arch Linux 中文维基)显示管理器
配置流程如下:
1.修改配置文件
a.配置.bashrc
vim ~/.bashrc
//以下内容删除
#export WLD=$HOME/install
#export LD_LIBRARY_PATH=$WLD/lib/x86_64-linux-gnu
#export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$HOME/install/lib/x86_64-linux-#gnu/pkgconfig/:$HOME/install/share/pkgconfig
#export PATH=$PATH:$WLD/bin
添加如下内容
export WLD=/usr/local
source ~/.bashrc
b.配置/etc/profile
sudo vim /etc/profile
export LD_LIBRARY_PATH=/usr/local/lib/x86_64-linux-gnu
export PKG_CONFIG_PATH=/usr/local/lib/x86_64-linux-gnu/pkgconfig/:/usr/local/share/pkgconfig
export PATH=/usr/local/bin:$PATH
sudo ldconfig
2.修改配置后,根据weston 1步骤 全部重新编译(个人路径下,weston不能启动)
3.配置登录后直接启动weston
cd /usr/share/
sudo mkdir wayland-sessions (有的话可以不创建)
cd wayland-sessions
sudo vim weston.desktop
#添加如下内容
[Desktop Entry]
Name=Weston
Comment=The reference Wayland server
Exec=/usr/local/bin/weston
Type=Application
4.重启按下图选择 weston选项,可开机进入weston,重启后选择x11可切换回原有桌面。
进入后