Hi
I use virtual terminals to log in to virtual machines on Salix KVM. For example, I start a virtual machine and then do Ctrl+Alt+F2. I log in, and then:
X -query 172.16.1.3 -- :1
This starts a new X session on display :1
How do I change Salix64 (13.1) so that TTYs F1-F6 are for getty and TTYs F7-F12 for X, so that I can have 6 X sessions?
Virtual consoles
Re: Virtual consoles
If you want to add more virtual consoles, all you have to do is edit /etc/inittab and add more entries like the ones already there:
but you don't have to add more virtual consoles to do what you want. You can do that from just a single console. Just run the command by adding a & at the end:
and then you'll be able to go back to the same console and start another X session in the same manner and so on...
Code: Select all
# These are the standard console login getties in multiuser mode:
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:12345:respawn:/sbin/agetty 38400 tty2 linux
c3:12345:respawn:/sbin/agetty 38400 tty3 linux
but you don't have to add more virtual consoles to do what you want. You can do that from just a single console. Just run the command by adding a & at the end:
Code: Select all
X -query 172.16.1.3 -- :1 &
Re: Virtual consoles
By the way, what "-query" means? I`ve been trying to find an explanation for this option in manuals but surprisingly I cannotgezley wrote: X -query 172.16.1.3 -- :1

Re: Virtual consoles
From "X -h"
-query host-name contact named host for XDMCP
-query host-name contact named host for XDMCP
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
― George Orwell, 1984
Re: Virtual consoles
Excellent. Thank you very much.gapan wrote:If you want to add more virtual consoles, all you have to do is edit /etc/inittab and add more entries like the ones already there ... but you don't have to add more virtual consoles to do what you want. You can do that from just a single console. Just run the command by adding a & at the end:and then you'll be able to go back to the same console and start another X session in the same manner and so on...Code: Select all
X -query 172.16.1.3 -- :1 &
Re: Virtual consoles
Thanks a lot. I tried "X -h | grep query" but that didn`t work as expectedlaprjns wrote:From "X -h"
-query host-name contact named host for XDMCP

Re: Virtual consoles
By the way can anybody give me short tutorial or a link to one that describes how to configure xdmcp login on Salix?
[EDIT] It looks I finally managed to login via xdmcp. I think I might describe this in the wiki:
http://www.salixos.org/wiki/index.php/H ... s_remotely
[EDIT] It looks I finally managed to login via xdmcp. I think I might describe this in the wiki:
http://www.salixos.org/wiki/index.php/H ... s_remotely