Hi,
I installed QGIS Desktop from Fedora repo. It launched ok initially but since some time it doesn’t start when launched from the application menu. What can i do ?
Launch it from command line and see the error message that it’s throwing.
It says : QGIS starting in non-interactive mode not supported. You are seeing this message most likely because you have no DISPLAY environment variable set.
When asking for help with an issue, you should provide enough detail to allow others to reproduce the problem. In particular, which versions of Fedora and QGIS are you using?
Fedora 41 KDE Plasma, QGIS is repo version.
QGIS has had updates. Here it does launch the same as with other apps.
Compare (in a terminal) what you have with:
$ type qgis
qgis is /usr/bin/qgis
$ qgis --version
QGIS 3.40.5-Bratislava 'Bratislava' (exported)
$ env | grep DISPLAY
DISPLAY=:0
GNOME_SETUP_DISPLAY=:1
WAYLAND_DISPLAY=wayland-0
$ qgis
Warning: QSocketNotifier: Can only be used with threads started with QThread
(qgis:187790): Gtk-WARNING **: 16:00:33.671: Theme parsing error: <data>:1:0: Expected a valid selector
True
Many large applications generate warnings but still function properly for most needs.
You may find error messages by running (in a terminal) journalctl --no-hostname -g qgis
.
[alexandre@Host-004 ~]$ type qgis
qgis est /usr/bin/qgis
[alexandre@Host-004 ~]$ qgis --version
QGIS 3.40.5-Bratislava 'Bratislava' (exported)
[alexandre@Host-004 ~]$ env | grep DISPLAY
WAYLAND_DISPLAY=wayland-0
[alexandre@Host-004 ~]$ qgis
QGIS starting in non-interactive mode not supported.
You are seeing this message most likely because you have no DISPLAY environment variable set.
I have QGIS on multiple systems and there are some differences in the message when I run qgis
in terminal, but QGIS does start.
Do you have libSM
(the X.Org X11 SM (Session Management) runtime library)?
QGIS has many “add-ons”. What do you get for qgis --no-plugins
in a terminal?
Try creating a new user login and see if QGIS works for that user. If so, look at your ~/.config/QGIS/qgis.conf
file.