Ask Your Question

When I log in with GDM, it spawns another Xorg

asked 2016-01-07 05:51:12 +0000

subpop gravatar image

When I log in with GDM (running on vt1), what actually happens is a second Xorg session is spawned on a random vt (vt2, vt3, somtimes vt7). My GNOME session launches on that second Xorg. I only noticed this because the instance of gnome-shell that runs on gdm seems to have a leak of some sort and was consuming over 1 GB of memory. I think started jumping to other VTs and found GDM running on vt1. Why does GDM continue to run on another virtual terminal? Can I disable this somehow?

I've disabled Wayland in /etc/gdm/custom.conf, and am using the nvidia proprietary drivers.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2017-05-17 20:58:46 +0000

tfolger gravatar image

Same here, trying to figure this out.

$ ps aux | grep "[X]org vt"
root      2868  0.0  0.1 282848 62852 tty1     Sl+  May16   0:10 /usr/libexec/Xorg vt1 -displayfd 3 -auth /run/user/42/gdm/Xauthority -nolisten tcp -background none -noreset -keeptty -verbose 3
root      4496  2.3  1.4 820196 468408 tty2    Sl+  May16  32:47 /usr/libexec/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -nolisten tcp -background none -noreset -keeptty -verbose 3

# cat /etc/passwd | grep '1000\|42'
muser:x:1000:1001:Main User:/home/muser:/bin/bash

OK, here's the answer: https://bugzilla.gnome.org/show_bug.c...

In summary: "working as designed" :(

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

1 follower


Asked: 2016-01-07 05:51:12 +0000

Seen: 256 times

Last updated: May 17 '17