Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
startx fail to run plasma with wayland
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Marcus613
n00b
n00b


Joined: 28 Feb 2024
Posts: 19

PostPosted: Thu Mar 07, 2024 9:12 pm    Post subject: startx fail to run plasma with wayland Reply with quote

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
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1660

PostPosted: Thu Mar 07, 2024 9:15 pm    Post subject: Reply with quote

By definition, you cannot use startx with anything wayland. Just start the wayland task if running from command-line.
Back to top
View user's profile Send private message
Marcus613
n00b
n00b


Joined: 28 Feb 2024
Posts: 19

PostPosted: Thu Mar 07, 2024 9:26 pm    Post subject: Reply with quote

dev-libs/wayland is installed, but I dont have a wayland command. The only waylandsomething command I have is wayland-scanner.
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1660

PostPosted: Thu Mar 07, 2024 9:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
Marcus613
n00b
n00b


Joined: 28 Feb 2024
Posts: 19

PostPosted: Thu Mar 07, 2024 9:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2575
Location: Here and Away Again

PostPosted: Thu Mar 07, 2024 10:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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