You are not logged in.

#1 2014-11-17 22:24:06

veegatedas
Member
Registered: 2014-11-17
Posts: 4

GDM always comes up on tty1

Hi everyone,

over here, GDM notoriously starts up on tty1 (as vt1).
I very much like to convince it to use vt7 instead.

The details:

I type: 'systemctl start gdm'
GDM starts up in tty1.
'ps' shows that GDM made Xorg start with a command line argument 'vt1'.
So my question is:

How can I tell Xorg which VT it should use, when the start of Xorg is caused by GDM?

The system in question is up to date (newly installed).

Many thanks for enlightening answers in advance!

Last edited by veegatedas (2014-11-18 10:38:10)

Offline

#2 2014-11-17 22:37:27

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Offline

#3 2014-11-17 22:46:30

veegatedas
Member
Registered: 2014-11-17
Posts: 4

Re: GDM always comes up on tty1

@Head_on_a_Stick,

thanks for the quick response. Unfortunately, GDM seems to start Xorg.bin; at any rate, Xorg gets started with the argument 'vt1'. And I don't k now how to modify the command line with which Xorg gets started when I type 'systemctl start gdm'.

Any idea?

Offline

#4 2014-11-17 22:49:40

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: GDM always comes up on tty1

Um, no sorry I'm new to GNOME hmm

Why do you want it on TTY7?
You could drop GDM and run it from .xinitrc using `exec startx -- vt7` in your .bash_profile

Last edited by Head_on_a_Stick (2014-11-17 22:51:25)

Offline

#5 2014-11-17 22:57:51

veegatedas
Member
Registered: 2014-11-17
Posts: 4

Re: GDM always comes up on tty1

@Head_on_a_Stick

thanks, yes, I could fire up Xorg in a different manner and have it behave as I wish. But - this is about GDM, which I would like to use and start up on vt7.

@all
So, how can I modify the command line (and the vt in particular) with which Xorg.bin gets called by GDM?

Last edited by veegatedas (2014-11-17 22:58:57)

Offline

#6 2014-11-18 10:57:17

hcra
Member
From: Oregon
Registered: 2013-04-20
Posts: 56

Re: GDM always comes up on tty1

You might have a look at this blog.

Offline

#7 2014-11-18 11:38:13

veegatedas
Member
Registered: 2014-11-17
Posts: 4

Re: GDM always comes up on tty1

@hcra,

thanks for the link.

Well, according to the blog, it takes recompiling GDM in order to make it start up on VT7.

I actually was aware of this option; I just couldnt believe that there should be no way to pass the desired VT to Xorg by some kind of systemd/GDM/Xorg configuration.

Still anyone out there who knows better (or can confirm the blog's conclusion)?

UPDATE:

Meanwhile, I have compiled GDM from source, and now it shows up on VT 7. Hurray!

But when switching users / starting a second session - GDM/Xorg grabs VT 2 (tty2).

Sigh...

Last edited by veegatedas (2014-11-19 00:29:34)

Offline

Board footer

Powered by FluxBB