View previous topic :: View next topic |
Author |
Message |
Marcus613 n00b
Joined: 28 Feb 2024 Posts: 19
|
Posted: Thu Mar 07, 2024 9:12 pm Post subject: startx fail to run plasma with wayland |
|
|
Hi
I'm still fairly new to gentoo & linux.
I've compiled plasma-meta with both use flags "X" and "wayland".
With "startplasma-x11" in my .xinitrc file, nearly everything works fine when running startx.
With "startplasma-wayland" in .xinitrc, startx doesn't work and this log is produced ~/.local/share/xorg/Xorg.0.log https://bpa.st/2HJQ
emerge --info: https://bpa.st/GX5Q
dmesg: https://bpa.st/OHLA
lspci -nnk: https://bpa.st/2MPQ
Any idea why I can't start plasma with wayland ?
Last edited by Marcus613 on Thu Mar 07, 2024 9:20 pm; edited 1 time in total |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1688
|
Posted: Thu Mar 07, 2024 9:15 pm Post subject: |
|
|
By definition, you cannot use startx with anything wayland. Just start the wayland task if running from command-line. |
|
Back to top |
|
|
Marcus613 n00b
Joined: 28 Feb 2024 Posts: 19
|
Posted: Thu Mar 07, 2024 9:26 pm Post subject: |
|
|
dev-libs/wayland is installed, but I dont have a wayland command. The only waylandsomething command I have is wayland-scanner. |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1688
|
Posted: Thu Mar 07, 2024 9:27 pm Post subject: |
|
|
Marcus613 wrote: | dev-libs/wayland is installed, but I dont have a wayland command. The only waylandsomething command I have is wayland-scanner. |
Run startplasma-wayland from the command-line. Wayland is a protocol and each environment must implement its own way to display anything. |
|
Back to top |
|
|
Marcus613 n00b
Joined: 28 Feb 2024 Posts: 19
|
Posted: Thu Mar 07, 2024 9:35 pm Post subject: |
|
|
startplasma-wayland doesn't work and here is the error output: https://bpa.st/TPPQ
qdbus outputs
Code: | Could not connect to D-Bus server: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 |
So I guess I should tell in some config file to use wayland rather than X11.
I've tied to Quote: | export DISPLAY=":0" | before running startplasma-waymand but it doesn't work either. |
|
Back to top |
|
|
Chiitoo Administrator
Joined: 28 Feb 2010 Posts: 2581 Location: Here and Away Again
|
Posted: Thu Mar 07, 2024 10:08 pm Post subject: |
|
|
Perhaps using 'startx' to start wayland is... just a bit odd. :]
Could try the profile trick mentioned over at the wikki [1]:
Code: | File: ~/.profile
#!/bin/sh
dbus-launch --exit-with-session startplasma-wayland |
If that is too automagic, I suppose one could make an alias where 'startx' does just hat.
1. https://wiki.gentoo.org/wiki/KDE#No_display_manager _________________ Kindest of regardses. |
|
Back to top |
|
|
|