Created attachment 8275
ldd of /usr/local/bin/xfce4-session
I want to install xfce4 master from source on a debain stretch system.
I can build and install everything, however xfce4-session crashes on startup ( Login screen refuses to let me in )
If I boot into recovery root console and start xfce4-session "by hand" as user (/usr/local/bin/xfce4-session), I get the following error:
Gtk-Error **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
This is the related backtrace:
#0 0x00007fe7ce6ee261 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1 0x00007fe7ce6f09a1 in g_log_writer_default () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007fe7ce6eedfc in g_log_structured_array () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007fe7ce6ef0f9 in g_log_structured () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007fe7d008334f in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#5 0x00007fe7ce6f4790 in g_option_context_parse () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6 0x00007fe7d0083803 in gtk_init_with_args () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#7 0x00005645386b3114 in main (argc=<optimized out>, argv=<optimized out>) at main.c:340
However if I uninstall the self-build xfce4-session, so that I can login again, I cannot reproduce the bug.
If start xfce4-session from the source folder, 'gtk_init_with_args' is executed fine. (Exiting with: "Another session manager is already running")
So I assume that I miss some configuration which needs to be present during startup.
Any idea / proposal is welcome !
Attached he "ldd" of the installed /usr/local/bin/xfce4-session.
I had this same problem when session 4.12 was installed on /usr, now that 4.13 is installed everything looks good.
Created attachment 8288
ldd of working xfce4-session
Hmm, meanwhile my self build xfce4-session runs for me.
It looks like I should not link against libgtk-x11-2.0 and libgdk-x11-2.0 .. while I dont know exactly what has changed in between my building attempts / why I dont link against them any more.
ldd of the working xfce4-session binary is attached.
I tried several things. in the end I am not sure which change exactly did the trick. E.g.:
- uninstalled & purged xfce4-session 4.12, provided by debian, like described here:
- copied /etc/xdg/xfce4/xinitrc into $HOME/.config/xfce4
Just in case somebody else faces the same problems, I will put some notes into the docs.xfce: