Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Plasma Wayland vs X11 auto login - [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 783

PostPosted: Sun Sep 29, 2024 9:16 pm    Post subject: Plasma Wayland vs X11 auto login - [SOLVED] Reply with quote

Hi,

If I log out and select Plasma X-11 instead of Wayland, and log back in, then every time I go to the SDDM login menu, Plasma X-11 is set as default.

EXCEPT if I set my user to auto-login.

Then it will automatically select Wayland no matter what I set as default.

The reasons I'd prefer X11 are

- The machine is older and is running the open source nvidia (nouveau) driver, and Wayland makes the mouse VERY SLOW, unusable, really.
- The login also autostarts the VNC server x11vnc. I'm not sure if there is a Wayland solution for this.

Any insights appreciated


Last edited by Progman3K on Mon Oct 07, 2024 10:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
42n4
n00b
n00b


Joined: 10 Feb 2015
Posts: 23

PostPosted: Tue Oct 01, 2024 2:35 pm    Post subject: Re: Plasma Wayland vs X11 auto login Reply with quote

Progman3K wrote:
Hi,

If I log out and select Plasma X-11 instead of Wayland, and log back in, then every time I go to the SDDM login menu, Plasma X-11 is set as default.



In /etc/sddm.conf set:
# Name of session file for autologin session
Session=plasmax11

and you have a default X11 autologin, at least in my plasma 6 configuration it works.
_________________
OS: Gentoo 2.15 gcc13/14
Kernel: Linux 6.11.3-zen1
KDE Plasma 6.2.0
WM: NVIDIA 4060/AMD Wayland
http://bit.ly/gen2ls
Back to top
View user's profile Send private message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 783

PostPosted: Mon Oct 07, 2024 10:05 pm    Post subject: Reply with quote

Hi 42n4!

Thanks for taking the time!
Hmm... Tried what you wrote, and it doesn't seem to change anything...
Perhaps it changes what the default session in the login drop-down will be, but auto-login still picks up wayland...

Maybe I'm not typing it right.

The file contains only that one line, no sections..

Eureka!

The file I had to modify was in fact

/etc/sddm.conf.d/kde_settings.conf

It now contains

[Autologin]
Relogin=false
Session=plasmax11
User=myuser


And it works as expected!

Thanks, 42n4!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum