That's not good, Linux GUI problems are often very hard to debug...

I'm guessing the xcb issue might be because you are a different user, but you 
can try using "QT_DEBUG_PLUGINS=1 lyx" to
get some more information.

You said you got lots of error messages, perhaps if you run `lyx -x lyx-quit` 
lyx will survive long enough to give error messages but not long enough to 
completely crash you're computer?

You can also try using SSH and X-Forwarding to yourself with 'ssh -X localhost 
lyx' I've had to use that due to GUI problems before. But if you haven't 
already got SSH set up it's a bit involved to do so.

Do other QT applications have problems, or is it just LyX? You could also try 
the beta for 2.4 which uses Qt6 (see https://ftp.lip6.fr/pub/lyx/devel/lyx-2.4/)
________________________________
From: lyx-users <lyx-users-boun...@lists.lyx.org> on behalf of Peter 
<peter.northe...@gmail.com>
Sent: Tuesday, 31 October 2023 10:31 PM
To: lyx-users@lists.lyx.org <lyx-users@lists.lyx.org>
Subject: Debian 12 and Lyx 2.3.7-1

Hi, I have just upgraded to Debian 12 and find Lyx will not load.  In addition, 
trying to load it seems to crash xorg, so the only way out is to reboot.  I was 
going to post the slew of error messages from the terminal, but as soon as I 
opened Claws the display became unusable.  Moving the cursor led to a broad 
black line across the display, and clicking no longer worked.

I have tried starting Lyx from the terminal as a different user, and I get this:

[different user]:~$ lyx
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even
though it was found. This application failed to start because no Qt
platform plugin could be initialized. Reinstalling the application may
fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl,
offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl,
wayland-xcomposite-glx, xcb.

I have checked, and xcb is installed.

Any suggestions?  Should I try to revert to an earlier version, which worked 
just fine under Debian 11, and if so how would one do that?  I have tried 
reinstalling as suggested above, but it makes no difference.

What happens on launch is that a large window with no borders comes up.  The 
Lyx starting logo is in the middle.  But there is no toolbar, neither right nor 
left clicks work either.

This is Debian 12 with fluxbox.

Any help gratefully received.  I can try running debug if anyone knows what 
flags to use and what to look for.

Peter
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to