You are not logged in.
Pages: 1
hello, i installed xfce4-panel version 4.19.2 to try out on my wayland desktop (wayfire) but getting an error when trying to run it.
xfce4-panel: Failed to connect to session manager: Failed to connect to the session manager: SESSION_MANAGER environment variable not defined
** Message: 15:33:05.842: Your compositor does not support the ext_workspace_manager_v1 protocol
(xfce4-panel:93637): Wnck-WARNING **: 15:33:05.943: libwnck is designed to work in X11 only, no valid display found
Segmentation fault (core dumped)
I do have wayfire installed along with the xfce desktop so maybe there are conflicting files/versions? I did remove the xfce4-panel package that came a long with installing the xfce desktop before installing version 4.19.2. I also removed the ~/.config/xfce4 directory before installing the new panel version.
the new xfce4-panel version 4.19.2 is installed to /usr/local/bin
any suggestions i might try to get this working? thanks
Last edited by callmejoe (2024-02-02 03:59:46)
Offline
Can you post the configure/autogen command you used and the full outputs of those commands? Make sure your properly building the wayland version (which should take care of not installing X11 components like libwnck) and not the X11 version.
the new xfce4-panel version 4.19.2 is installed to /usr/local/bin
If you're trying to run two concurrent versions of xfce4-panel, you're going to run into alot of problems. If not, is there any reason you didn't install to your default prefix and libdirs so that all the libraries can be properly found?
Which distro are you using?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Here is the log from configure command
http://dpaste.com//2GVC3MHV4
I did remove xfce4-panel version 4.18.2 before I attempted to install this newer version. I didn't purposely install to /usr/local/bin. that's just where 'make install' put everything. Sounds like I need to specify a prefix then?
Distro is Arch
Offline
Distro is Arch
So unless the goal is to learn, you should probably just use https://aur.archlinux.org/packages/xfce4-panel-devel or https://aur.archlinux.org/packages/xfce4-panel-git.
Offline
callmejoe wrote:Distro is Arch
So unless the goal is to learn, you should probably just use https://aur.archlinux.org/packages/xfce4-panel-devel or https://aur.archlinux.org/packages/xfce4-panel-git.
ah good idea. i always forget to look in the aur. i'll try it.
Offline
ok i removed all instances of xfce4 pacakges from /usr/local/
i then installed xfce4-panel-devel from aur, but panel didnt launch. I didn't get the session_manager error, just this one
** Message: 18:24:43.588: Your compositor does not support the ext_workspace_manager_v1 protocol
(xfce4-panel:4889): Gtk-WARNING **: 18:24:43.630: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
(xfce4-panel:4889): Wnck-WARNING **: 18:24:43.698: libwnck is designed to work in X11 only, no valid display found
Segmentation fault (core dumped)
i removed xfce4-panel-devel and tried xfce4-panel-git. but unfortunately, same error
I imagine it could be incompatible with wayfire. wayfire has had so much development over past 6 months.
oh well.
Last edited by callmejoe (2024-02-01 23:35:16)
Offline
You need to run your configure or autogen.sh command like this:
./configure --prefix=/usr --enable-wayland --disable-x11
make
sudo make install
I don't have a system to test this on so please post back all the output and the results of whether it works or not.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
There's something wrong with your environment, making GTK think you're on X11 when you're not. X11 code paths (including wnck) can be disabled at compile time, but you don't have to, as they're also protected at runtime. I'm afraid that even with --disable-x11 you'll still have problems. That said, it may be worth testing to get a better idea of the problem.
Offline
am i okay leaving the xfce4-dev-tools-git package in place?
Offline
ok. used
./configure --prefix=/usr --enable-wayland --disable-x11
but still getting same error.
here is the config.log. i do see some errors. not sure if they are critical.
http://dpaste.com//3MNNYU32C
Offline
configure:24938: WARNING: unrecognized options: --enable-wayland, --disable-x11
My understanding is obviously wrong. I'll let @Tamaranch take over, he'll understand this best.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
hey got it working! i was using the 4.19.2 tarball to install the panel this whole time. decided to scrap that and just build from master branch and it is running now.
i definitely complicated things not knowing I needed to provide these arguments when building
--prefix=/usr --enable-wayland --disable-x11
using an older dev-tools package also didnt help.
thanks ToZ and Tamaranch for the help!
Last edited by callmejoe (2024-02-02 04:04:23)
Offline
It's a difficult story to follow, we obviously don't have all the elements we need to understand it. Anyway, all the better if it works out in the end
Offline
Pages: 1
[ Generated in 0.015 seconds, 8 queries executed - Memory usage: 571.46 KiB (Peak: 588.3 KiB) ]