You are not logged in.
Hi,
when looking at CPU usage of my processes, I saw that Xorg was running. That confused me, since I thought I was only using Wayland. So I ran
loginctlwhich showed that there are two sessions active, one with my user, and one with gdm as the user. The gdm session uses xorg, while my session uses wayland:
[gaspode@gaspodelaptop ~]$ loginctl show-session c3 -p Type
Type=x11
[gaspode@gaspodelaptop ~]$ loginctl show-session c1 -p Type
Type=waylandWhy does this gdm session exist and why does it use Xorg? Seems like a waste of resources (and thus battery on my notebook) to me, considering that the xorg process sometimes uses up to 5% of my CPU.
Last edited by Gasp0de (2018-04-03 11:18:56)
Offline
Are you sure that your gdm session uses x11 while your user session uses wayland and it's not the other way around?
Because c1 is usually the gdm session and per default, the gdm session runs within a wayland session.
Next to the login button you can choose, whether you want an x11 or wayland user session.
The gdm session runs as a separate session because it handles things like the login, user switching or screen locking.
Last edited by flortsch (2018-04-03 11:13:05)
Offline
Oops, you are correct!
[gaspode@gaspodelaptop ~]$ loginctl
SESSION UID USER SEAT TTY
c3 1000 gaspode seat0 tty2
c1 120 gdm seat0 tty1 How do I change it? I guess that is something I need to configure in gdm, since that starts the X11 session for me? I can't see any way to choose on the login screen.
Last edited by Gasp0de (2018-04-03 11:14:03)
Offline
Next to the login button in gdm should be a preferences icon where you can set your user session type.
Last edited by flortsch (2018-04-03 11:16:53)
Offline
Found it, thank you! I must have chosen X at some point when I was having trouble with teamviewer and then forgot to change it back...
Offline