Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Can't run Plasma on a new install
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
Mh7tiger
n00b
n00b


Joined: 29 Apr 2024
Posts: 22

PostPosted: Fri Jan 10, 2025 6:10 pm    Post subject: [SOLVED] Can't run Plasma on a new install Reply with quote

I am on a fresh install with desktop OpenRC stage3 and desktop/plasma profile. Following https://wiki.gentoo.org/wiki/KDE, I have tried to set up Plasma, but unsuccessfully:
running
Code:
dbus-run-session startplasma-wayland
yields
Code:
org.kde.startup: not a reply org.freedesktop.locale1 QDBusMessage(type=Error, service="", error name="org.freedesktop.DBus.Error.Disconnected", error message="Not connected to a D-Bus server", signature="", contents=() )
QIODevice::write (QFile, "/home/kuba/.config/kdedefaults/package"): device not open
dbus-daemon[4807]: [session uid=1000 pid=4807 pidfd=5] Activating service name='org.kde.KSplash' requested by ':1.0' (uid=1000 pid=4808 comm="startplasma-wayland")
Could not create wayland socket
org.kde.plasma.waitforname: WaitForName: Service was not registered within timeout
dbus-daemon[4807]: [session uid=1000 pid=4807 pidfd=5] Activating service 'org.kde.KSplash' failed: Process org.kde.KSplash exited with status 1
.
Trying
Code:
dbus-launch --exit-with-session startplasma-x11
results in
Code:
$DISPLAY is not set or cannot connect to the X server.

I'm not sure what to do now, so thanks in advance.


Last edited by Mh7tiger on Fri Jan 10, 2025 6:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5298
Location: Bavaria

PostPosted: Fri Jan 10, 2025 6:31 pm    Post subject: Reply with quote

Have you added "elogind" service to runlevel boot ? ( https://wiki.gentoo.org/wiki/Elogind#Service )

Have you set VIDEO_CARDS before emerging xorg-server ? ( https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Base#VIDEO_CARDS )

If both yes, was there a problem in one of these steps (from my installation) ? ->
Code:
# check if using a PLASMA-profile:
# eselect profile list
# eselect profile set X

# emerge -vD xorg-server

# next is only necessary for non us-/en-keyboards
# cd /etc/X11
# mkdir xorg.conf.d
# cd xorg.conf.d
# cp /usr/share/X11/xorg.conf.d/40-libinput.conf .
# nano -w 40-libinput.conf
! Add to keyboard section => Option "xkb_layout" "de"

# emerge -vD plasma-meta kdecore-meta
# nano -w /etc/conf.d/display-manager
! Change => DISPLAYMANAGER="sddm"
# rc-update add elogind boot
# rc-update add display-manager default

_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Mh7tiger
n00b
n00b


Joined: 29 Apr 2024
Posts: 22

PostPosted: Fri Jan 10, 2025 6:52 pm    Post subject: Reply with quote

pietinger wrote:
Have you added "elogind" service to runlevel boot ? ( https://wiki.gentoo.org/wiki/Elogind#Service )

Have you set VIDEO_CARDS before emerging xorg-server ? ( https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Base#VIDEO_CARDS )

If both yes, was there a problem in one of these steps (from my installation) ? ->
Code:
# check if using a PLASMA-profile:
# eselect profile list
# eselect profile set X

# emerge -vD xorg-server

# next is only necessary for non us-/en-keyboards
# cd /etc/X11
# mkdir xorg.conf.d
# cd xorg.conf.d
# cp /usr/share/X11/xorg.conf.d/40-libinput.conf .
# nano -w 40-libinput.conf
! Add to keyboard section => Option "xkb_layout" "de"

# emerge -vD plasma-meta kdecore-meta
# nano -w /etc/conf.d/display-manager
! Change => DISPLAYMANAGER="sddm"
# rc-update add elogind boot
# rc-update add display-manager default

I have not added "elogind" service to runlevel boot . Now that it is set, it works great! Thank you very much!
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5298
Location: Bavaria

PostPosted: Sat Jan 11, 2025 2:41 am    Post subject: Reply with quote

Mh7tiger wrote:
[...] Now that it is set, it works great! Thank you very much!

Happy to hear that. You are very Welcome! :D

Have fun with Gentoo! 8)
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
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