[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Use alt + f2 to switch between domu console
On Sun, Aug 09, 2015 at 02:17:56PM +0200, Matthias Hoffmann wrote: > I have installed Xen 4.4 without GUI and its working fine. The VMs running > can be access via 'xl connect <vm>'. Thats fine. > > But it would be very nice if I could switch between running VMs pressing > alt+f2 (f3.). I know it switches to tty2 by default and my vm is running on > hvc0. Tried reading about vm cfgs and console stuff but cannot find a > solution to this. Is it possible ?? hvc0 is the console terminal in the guest, tty2 is a console in the dom0. (If you have an hvc0 in the dom0 this is usually connected to a serial port through Xen.) Usually you run a program such as getty in the dom0 to give you a login prompt on tty2. If you want to have the domU login instead I think you could change the init system to spawn xl console instead of bash. Untested for /etc/init/ttty2.conf on Ubuntu: exec /sbin/getty -l xl -o "console mydomU" -a root -8 38400 tty2 Which would auto login as root and execute xl console mydomU. James _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |