GDM starting two sessions on login

Recently I've noticed my processor being under a slightly heavier load than usual. I opened up top and found that under GDM there were two gnome-sessions running, one of which was using xwayland. If launched using lxdm, this second gnome-session does not exist. Does anyone know why GDM might be launching a second session in parallel with the one I'm using?

Re: GDM starting two sessions on login

Re: GDM starting two sessions on login

Can you guys also confirm that the gnome-session (when logged in) no longer runs on Virtual Terminal 1 (VT1)? My gnome-session is started on VT2. If I switch to VT1 (Ctrl+Alt+F1), then I get back to the GDM login screen.

Re: GDM starting two sessions on login

I'm experiencing the same issue: I see two gnome-session instances one on tty2 one on tty1. If I try to switch back to tty1 I get a hard lock (but I'm running it in a VM in virtualbox). I've been trying to run this issue down for a few days with no success.

Whatever is causing GDM to spawn two gnome-sessions seems to break hardware acceleration in Virtualbox. Rolling back to 3.14 fixes it. Disabling wayland in 3.16 doesn't seem to fix it. Starting GDM 3.16 with wayland disabled in the /etc/gmd/custom.conf still launches two gnome-sessions, and still breaks hardware acceleration.

No such issues launching gnome in the same environment with lightdm or lxdm.

If anyone figures out how to eliminate this, I'd love to hear about it.

Re: GDM starting two sessions on login

Very interresting. After reading this and checking, I also have gdm on tty2. Not sure if performances are improved using another DM as I only have gdm atm, but I will sure find out soon.Sounds to me all of us are in the same boat and it is a 'feature' rather than a bug...

Re: GDM starting two sessions on login

Yes, it appears as though gnome opens a session on a new virtual terminal. This may be intentional to increase the speed of "switching" users, logging in, and starting wayland sessions (however this is purely speculative). If it is intentional, it's certainly a problem on systems with lower-than-average memory.

Re: GDM starting two sessions on login

Re: GDM starting two sessions on login

Emm...Very interesting.I accidentally find this behavior today. Maybe this could become a great feature. But at least they should provide a choice. Not every device has enough ram to realize the feature.