You are not logged in.

#1 2023-06-16 00:56:04

BigDawg
Member
Registered: 2023-06-16
Posts: 5

Startx command doesn't start Gnome, fully.

I decided recently to try ditching a display manager, and start using startx instead. After configuring my xinitrc file to start gnome-session, and running startx command at startup, gnome shell starts and looks seemingly fine at first. However, the gnome settings app wont open at all, my applied theme doesn't get used (and trying to change the theme back does nothing) as well as some (but not all) extensions aren't working, namely ArcMenu showing as active and appearing on the gnome dash, but not actually opening.

None of these problems occur when starting a gnome session through gdm, or any other display manager like lightdm or ly. So far I've tried to add "gnome-settings-daemon" to the xinitrc file as it seems that might be in control of some of these things from what I've read, but I couldn't get that to work. I've also had no luck trying to start that service manually once loaded into a session.

Edit: 64 bit, x11 session, proprietary nvidia drivers

Last edited by BigDawg (2023-06-16 00:58:25)

Offline

#2 2023-06-16 00:58:34

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,471
Website

Re: Startx command doesn't start Gnome, fully.

Were you running gnome on xorg with gdm?  I thought wayland was the default now for gnome.

But perhaps more directly relevant, did you handle all the autostart files described here:
https://wiki.archlinux.org/title/GNOME#Configuration

Last edited by Trilby (2023-06-16 01:00:00)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2023-06-16 01:00:38

BigDawg
Member
Registered: 2023-06-16
Posts: 5

Re: Startx command doesn't start Gnome, fully.

Trilby wrote:

Were you running gnome on xorg with gdm?  I thought wayland was the default now for gnome.

Yes my install initially started with just lightdm, all other were for testing. I don't even have xwayland installed on the system

Offline

#4 2023-06-16 01:11:18

drewcube
Member
Registered: 2022-03-06
Posts: 10

Re: Startx command doesn't start Gnome, fully.

The fact that Gnome works when a dm is used makes me think of dbus and not having a session there.  Although systemd should be starting a user dbus session.  Not sure this will work though, but worth a try to isolate it. Prepend the gnome-session command in .xinitrc with:

dbus-run-session gnome-session

Offline

#5 2023-06-16 01:16:52

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,471
Website

Re: Startx command doesn't start Gnome, fully.

Do not use dbus-run-session, it will only break things more.  Check that the autostart is properly set up as described in the wiki - as failing to do that would result in exactly the symptoms described.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2023-06-16 06:30:35

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,233

Re: Startx command doesn't start Gnome, fully.

However, the gnome settings app wont open at all, my applied theme doesn't get used (and trying to change the theme back does nothing) as well as some (but not all) extensions aren't working, namely ArcMenu showing as active and appearing on the gnome dash, but not actually opening.

Last link below, post it in doubt.

Offline

Board footer

Powered by FluxBB