SDDM 0.20.0 Running in wayland mode
by walecha from LinuxQuestions.org on (#6CPKZ)
For those who want to try running sddm 0.20.0 in wayland mode:
Edit /etc/inittab:
Disable agetty for tty1 when running in init 4 (GUI login). This is because sddm (and gdm for comparison) in wayland mode always running in tty1, so tty1 should not be used by other.
Code:# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:
--- other lines ---
# These are the standard console login getties in multiuser mode:
#c1:12345:respawn:/sbin/agetty --noclear 38400 tty1 linux
c1:123:respawn:/sbin/agetty --noclear 38400 tty1 linuxEdit /etc/sddm.conf:
Enable wayland as display server:
Code:DisplayServer=waylandUse kwin_wayland as compositor (you can also use weston from SBo)
Code:CompositorCommand=kwin_wayland --no-lockscreen --no-global-shortcutsReboot is recommended
Result:
Code:root 878 1 0 11:07 ? 00:00:00 /usr/bin/sddm
root 1013 878 0 11:07 ? 00:00:00 /usr/libexec/sddm-helper --socket /tmp/sddm-auth-b2aad25f-6a5d-4caa-a60d-9b3fe7b1c518 --id 2 --start /usr/bin/sddm-greeter --socket /tmp/sddm--FXwHTY --theme /usr/share/sddm/themes/breeze --user sddm --display-server kwin_wayland --no-lockscreen --no-global-shortcuts --greeter
sddm 1183 1013 0 11:07 tty1 00:00:00 /usr/libexec/sddm-helper-start-wayland kwin_wayland --no-lockscreen --no-global-shortcuts /usr/bin/sddm-greeter --socket /tmp/sddm--FXwHTY --theme /usr/share/sddm/themes/breeze
sddm 1189 1183 0 11:07 tty1 00:00:04 /usr/bin/kwin_wayland --no-lockscreen --no-global-shortcuts
sddm 1205 1183 0 11:07 tty1 00:00:08 /usr/bin/sddm-greeter --socket /tmp/sddm--FXwHTY --theme /usr/share/sddm/themes/breeze
Edit /etc/inittab:
Disable agetty for tty1 when running in init 4 (GUI login). This is because sddm (and gdm for comparison) in wayland mode always running in tty1, so tty1 should not be used by other.
Code:# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:
--- other lines ---
# These are the standard console login getties in multiuser mode:
#c1:12345:respawn:/sbin/agetty --noclear 38400 tty1 linux
c1:123:respawn:/sbin/agetty --noclear 38400 tty1 linuxEdit /etc/sddm.conf:
Enable wayland as display server:
Code:DisplayServer=waylandUse kwin_wayland as compositor (you can also use weston from SBo)
Code:CompositorCommand=kwin_wayland --no-lockscreen --no-global-shortcutsReboot is recommended
Result:
Code:root 878 1 0 11:07 ? 00:00:00 /usr/bin/sddm
root 1013 878 0 11:07 ? 00:00:00 /usr/libexec/sddm-helper --socket /tmp/sddm-auth-b2aad25f-6a5d-4caa-a60d-9b3fe7b1c518 --id 2 --start /usr/bin/sddm-greeter --socket /tmp/sddm--FXwHTY --theme /usr/share/sddm/themes/breeze --user sddm --display-server kwin_wayland --no-lockscreen --no-global-shortcuts --greeter
sddm 1183 1013 0 11:07 tty1 00:00:00 /usr/libexec/sddm-helper-start-wayland kwin_wayland --no-lockscreen --no-global-shortcuts /usr/bin/sddm-greeter --socket /tmp/sddm--FXwHTY --theme /usr/share/sddm/themes/breeze
sddm 1189 1183 0 11:07 tty1 00:00:04 /usr/bin/kwin_wayland --no-lockscreen --no-global-shortcuts
sddm 1205 1183 0 11:07 tty1 00:00:08 /usr/bin/sddm-greeter --socket /tmp/sddm--FXwHTY --theme /usr/share/sddm/themes/breeze