Page 1 of 1
Virtual consoles
Posted: 7. May 2011, 20:10
by gezley
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?
Re: Virtual consoles
Posted: 8. May 2011, 09:17
by gapan
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:
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:
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...
Re: Virtual consoles
Posted: 8. May 2011, 09:25
by witek
gezley wrote:
X -query 172.16.1.3 -- :1
By the way, what "-query" means? I`ve been trying to find an explanation for this option in manuals but surprisingly I cannot

Re: Virtual consoles
Posted: 8. May 2011, 10:49
by laprjns
From "X -h"
-query host-name contact named host for XDMCP
Re: Virtual consoles
Posted: 8. May 2011, 13:34
by gezley
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...
Excellent. Thank you very much.
Re: Virtual consoles
Posted: 12. May 2011, 19:44
by witek
laprjns wrote:From "X -h"
-query host-name contact named host for XDMCP
Thanks a lot. I tried "X -h | grep query" but that didn`t work as expected

Re: Virtual consoles
Posted: 13. May 2011, 08:18
by witek
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