You are not logged in.

#1 2023-04-08 10:43:56

D3vil0p3r
Member
Registered: 2022-11-05
Posts: 203

GNOME - switch the order between Wayland and Xorg session at login

I'm using Arch Linux with GNOME and when I reach the Login Manager, GNOME with Wayland is the default GNOME session set. I tested it by using GDM and then LightDM.

I would like to create an Arch Linux environment where the user can use both Xorg and Wayland, but Xorg must be the default session. Is there a method to make Xorg session default without disabling Wayland?

Last edited by D3vil0p3r (2023-04-08 10:44:29)

Offline

#2 2023-04-08 11:33:57

3beb6e7c46a615a
Member
Registered: 2021-03-27
Posts: 165

Re: GNOME - switch the order between Wayland and Xorg session at login

See https://access.redhat.com/documentation … nvironment

Works the same on Arch Linux; Accountsservice is distribution-agnostic.

Offline

#3 2023-04-16 21:05:09

D3vil0p3r
Member
Registered: 2022-11-05
Posts: 203

Re: GNOME - switch the order between Wayland and Xorg session at login

lunaryorn wrote:

See https://access.redhat.com/documentation … nvironment

Works the same on Arch Linux; Accountsservice is distribution-agnostic.

I tried this solution by adding "/etc/accountsservice/user-templates/standard" with the content:

[Template]
#EnvironmentFiles=/etc/os-release;

[User]
Session=gnome-xorg
Icon=${HOME}/.face

where "gnome-xorg" is defined in "/usr/share/xsessions/gnome-xorg.desktop". Despite this, when I reboot, and when I reach LightDM login manager, I still see GNOME Wayland session.

The strange fact is that, when I enter manually in GNOME Xorg, and then I reboot, when I reach LightDM the session menu does not persist on GNOME Xorg (that is the latest I accessed) but it shows always GNOME Wayland choice.

Offline

#4 2023-04-17 04:48:03

3beb6e7c46a615a
Member
Registered: 2021-03-27
Posts: 165

Re: GNOME - switch the order between Wayland and Xorg session at login

The documentation I linked was für gdm.  I don't know if it works under lightdm.

Offline

#5 2023-04-17 19:48:23

D3vil0p3r
Member
Registered: 2022-11-05
Posts: 203

Re: GNOME - switch the order between Wayland and Xorg session at login

lunaryorn wrote:

The documentation I linked was für gdm.  I don't know if it works under lightdm.

I tried to modify "/etc/lightdm/lightdm.conf" by adding "user-session=gnome-xorg". It seems to work.

Offline

Board footer

Powered by FluxBB