Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Trying to run wayland again, but...

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
34 posts
  • Previous
  • 1
  • 2
Author
Message
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Wed Feb 04, 2026 2:48 pm

If you don't have a Wayland [compositor] session to choose from, then your system likely doesn't have any Wayland [compositor] session file installed. SDDM has nothing to do with that.
Top
rab0171610
l33t
l33t
Posts: 719
Joined: Sat Dec 24, 2022 1:41 am

  • Quote

Post by rab0171610 » Wed Feb 04, 2026 5:31 pm

In addition to what asturm said, SDDM finds its available sessions as .desktop files in /usr/share/wayland-sessions and /usr/share/xsessions.
I have:
/usr/share/wayland-sessions/plasma.desktop
/usr/share/xsessions/plasmax11.desktop
/usr/share Xsession.desktop
These are installed by plasma-login-sessions:

Code: Select all

Found these USE flags for kde-plasma/plasma-login-sessions-6.5.5:
 U I
 + + X       : Install X11 session file for Display Managers (default is Wayland if both enabled)
 + + wayland : Install Wayland session file for Display Managers
The /usr/share/wayland-sessions/plasma.desktop file contains the exec lines:

Code: Select all

Exec=/usr/libexec/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland
TryExec=/usr/bin/startplasma-wayland
The file in the exec line, usr/bin/startplasma-wayland , should be installed by kde-plasma/plasma-workspace .
Maybe you have a non-standard Plasma installation or custom/inconsistent use flags.
Top
MaDDeePee
Guru
Guru
User avatar
Posts: 428
Joined: Wed Aug 18, 2004 5:24 pm
Location: Germany
Contact:
Contact MaDDeePee
Website

  • Quote

Post by MaDDeePee » Wed Feb 04, 2026 8:13 pm

rab0171610 wrote:In addition to what asturm said, SDDM finds its available sessions as .desktop files in /usr/share/wayland-sessions and /usr/share/xsessions.
I have:
/usr/share/wayland-sessions/plasma.desktop
/usr/share/xsessions/plasmax11.desktop
/usr/share Xsession.desktop
These are installed by plasma-login-sessions:

Code: Select all

Found these USE flags for kde-plasma/plasma-login-sessions-6.5.5:
 U I
 + + X       : Install X11 session file for Display Managers (default is Wayland if both enabled)
 + + wayland : Install Wayland session file for Display Managers
The /usr/share/wayland-sessions/plasma.desktop file contains the exec lines:

Code: Select all

Exec=/usr/libexec/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland
TryExec=/usr/bin/startplasma-wayland
The file in the exec line, usr/bin/startplasma-wayland , should be installed by kde-plasma/plasma-workspace .
Maybe you have a non-standard Plasma installation or custom/inconsistent use flags.
hey and thanks for your help :)

i got these files too:

Code: Select all

/usr/share/xsessions 
with Xsession.desktop and plasmax11.desktop (looks like this are my two choices in sddm bottom-left-corner-menu?!)
and:

Code: Select all

/usr/share/wayland-sessions
with plasma.deskop and also weston.desktop

it must be smth else i am missing :(
Top
MaDDeePee
Guru
Guru
User avatar
Posts: 428
Joined: Wed Aug 18, 2004 5:24 pm
Location: Germany
Contact:
Contact MaDDeePee
Website

  • Quote

Post by MaDDeePee » Fri Feb 06, 2026 2:49 pm

its think its my /etc/sddm.conf that is wrong.
could someone post me a working one?

its is modified late 2023 and i commented wayland stuff out or deleted them, for some reason... :(

Code: Select all

 cat /etc/sddm.conf
[General]
InputMethod=
#DisplayServer=wayland
#GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell

[Theme]
DisableAvatarsThreshold=7
EnableAvatars=true
FacesDir=/usr/share/sddm/faces
ThemeDir=/usr/share/sddm/themes

[Users]
DefaultPath=/usr/local/bin:/usr/bin:/bin
HideShells=
HideUsers=
RememberLastSession=true
RememberLastUser=true
ReuseSession=false

[Wayland]
EnableHiDPI=true
SessionCommand=/usr/share/sddm/scripts/wayland-session
SessionDir=/usr/share/wayland-sessions
SessionLogFile=.local/share/sddm/wayland-session.log
#CompositorCommand=kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1


[X11]
DisplayCommand=/usr/share/sddm/scripts/Xsetup
DisplayStopCommand=/usr/share/sddm/scripts/Xstop
EnableHiDPI=true
MinimumVT=7
ServerPath=/usr/bin/X
SessionCommand=/usr/share/sddm/scripts/Xsession
SessionDir=/usr/share/xsessions
SessionLogFile=.local/share/sddm/xorg-session.log
UserAuthFile=.Xauthority
XauthPath=/usr/bin/xauth
XephyrPath=/usr/bin/Xephyr
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Fri Feb 06, 2026 3:02 pm

Just throw it away.
Top
MaDDeePee
Guru
Guru
User avatar
Posts: 428
Joined: Wed Aug 18, 2004 5:24 pm
Location: Germany
Contact:
Contact MaDDeePee
Website

  • Quote

Post by MaDDeePee » Fri Feb 06, 2026 3:12 pm

asturm wrote:Just throw it away.
ok
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Sat Feb 07, 2026 10:21 am

Did that fix it then? What do you have in /etc/sddm.conf.d/ instead?
Top
MaDDeePee
Guru
Guru
User avatar
Posts: 428
Joined: Wed Aug 18, 2004 5:24 pm
Location: Germany
Contact:
Contact MaDDeePee
Website

  • Quote

Post by MaDDeePee » Sat Feb 07, 2026 10:34 am

asturm wrote:Did that fix it then? What do you have in /etc/sddm.conf.d/ instead?
lol sorry, I thought it was a joke :(

I completely deleted /etc/sddm.conf, and surprisingly it didn’t change anything.
SDDM doesn’t recreate it after boot, but the login screen still looks the same as with my old config.

in /etc/sddm.conf.d i got two files:

Code: Select all

cat /etc/sddm.conf.d/01gentoo.conf 
[General]
# Remove qtvirtualkeyboard as InputMethod default
InputMethod=

Code: Select all

cat /etc/sddm.conf.d/kde_settings.conf 
[Autologin]
Relogin=false
Session=
User=

[General]
HaltCommand=/sbin/shutdown -h -P now
Numlock=on
RebootCommand=/sbin/shutdown -r now
DisplayServer=x11
EnableHiDPI=true

[Theme]
Current=breeze
CursorSize=48
CursorTheme=Oxygen_Black
Font=Noto Sans,10,-1,0,400,0,0,0,0,0,0,0,0,0,0,1

[Users]
MaximumUid=60000
MinimumUid=1000

[X11]
ServerArguments=-dpi 168
I don’t see anything Wayland-related there. That’s why I gave up on Wayland a while ago… stupidly.
This system is from 2015, I’ve kept it updated over the years, but maybe I still have some leftover code from early Wayland experiments that’s breaking things now :(
Top
RayDude
Advocate
Advocate
User avatar
Posts: 2194
Joined: Sat May 29, 2004 6:11 am
Location: San Jose, CA

  • Quote

Post by RayDude » Fri Feb 13, 2026 12:09 am

I don’t see anything Wayland-related there. That’s why I gave up on Wayland a while ago… stupidly.
This system is from 2015, I’ve kept it updated over the years, but maybe I still have some leftover code from early Wayland experiments that’s breaking things now :(
If that's the case, this may help: https://wiki.gentoo.org/wiki/On_occasional_emptytree

Just keep in mind that you have to go through all the updated config files (/etc etcetera :) and make sure you merge your original files appropriately.

It will take a while... But it might help.

I've done it when things just wouldn't behave. But I haven't had to do it for a very long time. -DNuq usually does enough.
Some day there will only be free software.
Top
Post Reply

34 posts
  • Previous
  • 1
  • 2

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy