View previous topic :: View next topic |
Author |
Message |
sirlark Guru


Joined: 25 Oct 2004 Posts: 319 Location: Limerick, Ireland
|
Posted: Fri Apr 11, 2025 10:10 pm Post subject: [SOLVED] How do I use rootless Xwayland on wayfire |
|
|
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 |
|
 |
Zucca Moderator


Joined: 14 Jun 2007 Posts: 4044 Location: Rasi, Finland
|
Posted: Sat Apr 19, 2025 4:51 pm Post subject: Re: How do I use rootless Xwayland on wayfire |
|
|
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 |
|
 |
sirlark Guru


Joined: 25 Oct 2004 Posts: 319 Location: Limerick, Ireland
|
Posted: Sat Apr 19, 2025 4:57 pm Post subject: |
|
|
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 |
|
 |
Zucca Moderator


Joined: 14 Jun 2007 Posts: 4044 Location: Rasi, Finland
|
Posted: Sat Apr 19, 2025 8:31 pm Post subject: |
|
|
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 |
|
 |
sirlark Guru


Joined: 25 Oct 2004 Posts: 319 Location: Limerick, Ireland
|
Posted: Sun Apr 20, 2025 9:06 am Post subject: |
|
|
Doh! Doh! Doh!
I had in /etc/qtgreet/wayfire.ini, but in my user's .config/.wayfire.ini
Everything is working now having enabled them both. Thanks _________________ Adopt an unanswered post today |
|
Back to top |
|
 |
|