Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] How do I use rootless Xwayland on wayfire
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
sirlark
Guru
Guru


Joined: 25 Oct 2004
Posts: 319
Location: Limerick, Ireland

PostPosted: Fri Apr 11, 2025 10:10 pm    Post subject: [SOLVED] How do I use rootless Xwayland on wayfire Reply with quote

Hi,

I'm installing a system, and have wayfire running, using qtgreet as my greeter. Wayland apps work fine. I can also get X apps to work by manually starting Xwayland with a root window. But I can't seem to figure out how to get an X app to work with rootless XWayland. I set the DISPLAY variable and the app starts, but now window/surface appears. From reading around, I gather I need to have an X window manager running, and that I need to provide a file descriptor for the WM client to to.

I'm launching Xwayland like so

Code:
$ Xwayland :0 -rootless -dpms -nolock -tst -xinerama +extension GLX +extension XVideo +extension COMPOSITE +extension RENDER -glamor gl -verbose


I think I need pass an extra '-wm <FD>' but I don't know what to put for FD.

Has anyone figured this out?

EDIT: I had xwayland=false in my user's ~/.config/wayfire.ini; changing it to true fixed everything
_________________
Adopt an unanswered post today


Last edited by sirlark on Sun Apr 20, 2025 9:07 am; edited 1 time in total
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 4044
Location: Rasi, Finland

PostPosted: Sat Apr 19, 2025 4:51 pm    Post subject: Re: How do I use rootless Xwayland on wayfire Reply with quote

sirlark wrote:
I can't seem to figure out how to get an X app to work with rootless XWayland.

Hi.
I also run Wayfire, but haven't had this problem. What does happen if you just run a X program? Does it spit out any errors if you run it in terminal (wayland native terminal)?
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
sirlark
Guru
Guru


Joined: 25 Oct 2004
Posts: 319
Location: Limerick, Ireland

PostPosted: Sat Apr 19, 2025 4:57 pm    Post subject: Reply with quote

No errors. It's just that a window (surface in Wayland parlance) doesn't appear. I think the problem might be that I don't have an X window manager running. I'm not sure whether wayfire provides one? Maybe it's a plugin I haven't enabled?
_________________
Adopt an unanswered post today
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 4044
Location: Rasi, Finland

PostPosted: Sat Apr 19, 2025 8:31 pm    Post subject: Reply with quote

Do you have
wayfire.ini:
[core]
...
xwayland = true
and wayfire compiled with USE=X?
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
sirlark
Guru
Guru


Joined: 25 Oct 2004
Posts: 319
Location: Limerick, Ireland

PostPosted: Sun Apr 20, 2025 9:06 am    Post subject: Reply with quote

Doh! Doh! Doh!

I had
Code:
xwayland=true
in /etc/qtgreet/wayfire.ini, but
Code:
xwayland=false
in my user's .config/.wayfire.ini

Everything is working now having enabled them both. Thanks
_________________
Adopt an unanswered post today
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