Re: What determines {default} location of :0, :1 & :2?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2013-07-07 14:28 (GMT-0400) Thomas Lübking composed:

On Sonntag, 7. Juli 2013 18:46:12 CEST, Felix Miata wrote:

only care that the first session started, whether by KDM or not,
go on vt7; that the second, whether that be :0 or :1 or :2, go
on vt8, and that the third, whether :0 or :1 or :2, go on vt9. I

Occupy vt1-6
https://wiki.archlinux.org/index.php/Systemd_FAQ#Q:_How_do_I_change_the_number_of_gettys_running_by_default.3F

It helps. I don't use Arch. Based on what I found there, I built this repair script:

# /bin/sh
cp -a /usr/lib/systemd/system/getty@.service /usr/lib/systemd/system/getty@tty1.service sed -i 's/TTYVTDisallocate=yes/TTYVTDisallocate=no/' /usr/lib/systemd/system/getty@tty1.service ln -sf /usr/lib/systemd/system/getty@tty1.service /etc/systemd/system/getty.target.wants/getty@tty1.service
 systemctl start getty@tty1.service
ln -sf /usr/lib/systemd/system/getty@.service /etc/systemd/system/getty.target.wants/getty@tty2.service
 systemctl start getty@tty2.service
ln -sf /usr/lib/systemd/system/getty@.service /etc/systemd/system/getty.target.wants/getty@tty3.service
 systemctl start getty@tty3.service
ln -sf /usr/lib/systemd/system/getty@.service /etc/systemd/system/getty.target.wants/getty@tty4.service
 systemctl start getty@tty4.service
ln -sf /usr/lib/systemd/system/getty@.service /etc/systemd/system/getty.target.wants/getty@tty5.service
 systemctl start getty@tty5.service
ln -sf /usr/lib/systemd/system/getty@.service /etc/systemd/system/getty.target.wants/getty@tty6.service
 systemctl start getty@tty6.service

In openSUSE 13.1 I get the result I want, first two X sessions opened goto vt7 & vt8. vt1 keeps its boot messages. Login prompts appear on vts 2,3,5,6, and the login on vt4 where I ran startx -- :1 is full of expected Xorg messages.

In Fedora 19 and Mageia 3, prompts get started on vts 1-6, KDM goes to vt7, but on vt4, where I login to run startx -- :1, is where the 2nd X session is found instead of as expected on vt8.
--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/
_______________________________________________
xorg@xxxxxxxxxxx: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: list-xorg@xxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [X Forum]     [Intel Graphics]     [AMD Graphics]     [Nouveau Driver]     [XFree86]     [XFree86 Newbie]     [IETF Annouce]     [Security]     [Fontconfig]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Video for Linux]     [Linux RAID]

  Powered by Linux