You are not logged in.
Before switching to systemd, I edited inittab to have 9 tty's ready with log in prompt. So I had 9 tty's, and gdm started on the next available, which was tty10
With systemd, this simple change is not so simple. I have edited the ( i don't recall and can't find it now)-file to add from default of 7 to 9 tty's. This is working and the log in prompt is waiting on all unused tty's.
Problem is, gdm still runs on tty 7. I have looked, and cannot find the info on how to change gdm from tty7 to tty10.
In the following code it appears if I'm not mistaken, that VTNr=7 is related to or is tty7, (virtual terminal 7) ?
Where is this set and how to change it?
[jeff@Arch2010p5 ~]$ loginctl show-session $XDG_SESSION_ID
Id=1
Timestamp=Sun, 2012-11-11 14:30:40 PST
TimestampMonotonic=44440325
DefaultControlGroup=name=systemd:/user/jeff/1
VTNr=7
Display=:0
Remote=no
Service=gdm
Leader=415
Audit=1
Type=x11
Class=user
Active=yes
State=active
KillProcesses=no
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
Name=jeffLast edited by jeff story (2012-11-13 19:32:12)
Check out my website for info on the Arch Linux Installer
Offline
Setting the NAutoVTs and ReserveVT settings to 9 in /etc/systemd/logind.conf may work. If that doesn't work and you are willing to recompile GDM, you could add '--with-initial-vt=10' to the ./configure flags and recompile.
Offline
Thanks Stebalien,
The /etc/systemd/logind.conf must be the (don't recall and can't find it now)- file I mentioned in the op. It was already set to 9 per below.
I also should have mentioned I'm running gdm-old from the AUR.
Interesting info you gave is this could be changed via recompiling... That means the tty # is set in/by gdm?
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# See logind.conf(5) for details
[Login]
NAutoVTs=9
ReserveVT=9
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#Controllers=
#ResetControllers=cpu
#InhibitDelayMaxSec=5
#HandlePowerKey=poweroff
#HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
#HandleLidSwitch=suspend
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yesLast edited by jeff story (2012-11-13 19:34:02)
Check out my website for info on the Arch Linux Installer
Offline
OK, Fixed this issue but I'm hoping this was the hard way and something easier will surface in the future.
Here's what I did simple version, edited the defaults.conf file in the PKGBUILD, compiled, updated gdm-old with the new modified version.
Detailed version:
1) Download gdm-old PKGBUILD https://aur.archlinux.org/packages/gd/g … old.tar.gz
2) Extract the contents of gdm-old.tar.gz,
3) Edit gdm-old/defaults.conf file as follows:
4) Uncomment lines 205, 206
5) Edit line 205 FirstVT=7 to FirstVT=10
6) Save the edits
7) Get the new sha of defaults.conf $ sha256sum defaults.conf
8) Replace line 30 in the PKGBUILD with the new sha #
9) Save the edits
10) Compile and install as normally
Last edited by jeff story (2012-11-14 00:22:14)
Check out my website for info on the Arch Linux Installer
Offline