[OpenIndiana-discuss] OI and console switching

Jim Klimov jimklimov at cos.ru
Sun Oct 28 19:23:34 UTC 2012

2012-10-28 22:55, Udo Grabowski (IMK) wrote:
>  > So, in short, the problems I posted about still remain in oi151_a7.
>  > More ideas welcome
> I'm out of ideas here, since the setup works for me. Maybe one
> possibility: Is Ctrl-Alt-F<x> already assigned as a shortcut for
> some other command ?
> Otherwise, I can only recommend to check again if all vt<x> and
> console SMF processes are up and clean. Sometimes a X11/gdm session
> is spawned to vt8 (e.g., when you are switching user, or a previous
> gdm not halted cleanly blocks a socket).

Unfortunately, no. The VT daemons do start up and bind to their
virtual ttys, but they fail to somehow attach these ttys to the
physical console, and while GDM is down these consoles refuse to
switch with the standard keys.

 From what I see while GDM starts and stops, it also spawns a vt/7
and runs from that empty text mode into a graphical mode and back,
then switches into the console on the physical screen with all its
boot messages and the login greeting. If GDM is restarting, it soon
blanks the screen into the empty text mode and back into graphics.

But I'm glad to hear this did work for you; I'll try to update my
initial installation BE (without my personal customizations) and
see if that would work for me, and if so - what differs.

root at nbofh:/home/admin# svcs -a | grep vt
online         20:04:42 svc:/system/vtdaemon:default
online         20:04:43 svc:/system/console-login:vt5
online         20:04:43 svc:/system/console-login:vt2
online         20:04:43 svc:/system/console-login:vt6
online         20:04:43 svc:/system/console-login:vt4
online         20:04:43 svc:/system/console-login:vt3

root at nbofh:/home/admin# svcs -p console-login
STATE          STIME    FMRI
online         20:04:42 svc:/system/console-login:default
                20:04:42     2233 ttymon
online         20:04:43 svc:/system/console-login:vt5
                20:04:42     2296 ttymon
online         20:04:43 svc:/system/console-login:vt2
                20:04:43     2303 ttymon
online         20:04:43 svc:/system/console-login:vt6
                20:04:43     2306 ttymon
online         20:04:43 svc:/system/console-login:vt4
                20:04:43     2304 ttymon
online         20:04:43 svc:/system/console-login:vt3
                20:04:43     2314 ttymon

root at nbofh:/home/admin# ps -ef | grep cons
     root  2303    10   0 20:04:43 vt/2        0:00 /usr/lib/saf/ttymon 
-g -d /dev/vt/2 -l console -m ldterm,ttcompat -h -p nbofh v
     root  2151     1   0 20:04:41 ?           0:00 
     root  5232  4312   0 20:06:24 ?           0:00 /usr/lib/saf/ttymon 
-g -d /dev/console -l console -m ldterm,ttcompat -h -p buil
     root  2296    10   0 20:04:43 vt/5        0:00 /usr/lib/saf/ttymon 
-g -d /dev/vt/5 -l console -m ldterm,ttcompat -h -p nbofh v
     root  2304    10   0 20:04:43 vt/4        0:00 /usr/lib/saf/ttymon 
-g -d /dev/vt/4 -l console -m ldterm,ttcompat -h -p nbofh v
     root  2233    10   0 20:04:42 console     0:00 /usr/lib/saf/ttymon 
-g -d /dev/console -l console -m ldterm,ttcompat -h -p nbof
     root  2314    10   0 20:04:43 vt/3        0:00 /usr/lib/saf/ttymon 
-g -d /dev/vt/3 -l console -m ldterm,ttcompat -h -p nbofh v
     root  2306    10   0 20:04:43 vt/6        0:00 /usr/lib/saf/ttymon 
-g -d /dev/vt/6 -l console -m ldterm,ttcompat -h -p nbofh v


More information about the OpenIndiana-discuss mailing list