[OpenIndiana-discuss] OI and console switching

Udo Grabowski (IMK) udo.grabowski at kit.edu
Sat Oct 27 12:36:21 UTC 2012


On 10/27/12 01:36 PM, Jim Klimov wrote:
> Hello all,
>
>    I tried to enable the vtdaemon (and vt[23456]) services on the
> oi_151a5 laptop, and found that (Ctrl+)Alt+F# keys don't switch
> me to other text consoles. From X11 I can use Ctrl+Alt+F1 to get
> into the text mode, however there is no console text nor any
> chance to get out of this "console" back into X11 nor blindly
> type anything, so I can only poweroff and poweron the laptop
> with the power button (no reset).
> Does anyone else see such behavior? Do multiple text or X
> consoles work for other people in recent OI builds?
> ...
> crw--w----   1 root  tty  110,  5 2012-10-27 13:09 5
> crw--w----   1 root  tty  110,  6 2012-10-27 13:10 6
> crw--w----   1 admin tty  110,  7 2012-10-27 12:53 7
> crw-------   1 root  root 110,  8 2012-10-27 12:53 8
> crw-------   1 root  root 110,  9 2012-10-27 12:53 9
> lrwxrwxrwx   1 root  root       1 2012-10-27 12:53 active -> 7
> lrwxrwxrwx   1 root  root       0 2012-10-27 13:10 console_user -> 7
>
>    I did also try to disable vtdaemon security so as to allow
> the unprivileged user to use any console, no luck.
>
> Ideas (or confirmations/disprovals) are welcome,

I also had some problems in a5 (a2 was ok), which disappeared
again in a7. But I have a slightly different setting on vt7:
/etc/gdm.conf (I think that's only a question of taste, but
who knows...):
...
[security]
CheckDirOwner=false
...
so /dev/vt/7 and X11 are owned by me. The usual
checks should give you:

svcs -a|grep vt
online         13:38:03 svc:/system/vtdaemon:default
online         13:38:03 svc:/system/console-login:vt3
online         13:38:03 svc:/system/console-login:vt6
online         13:38:03 svc:/system/console-login:vt5
online         13:38:03 svc:/system/console-login:vt4
online         13:38:03 svc:/system/console-login:vt2
~: svcs -a | grep console
disabled       13:38:00 svc:/system/xvm/console:default
online         13:38:02 svc:/system/consolekit:default
online         13:38:03 svc:/system/console-login:default
online         13:38:03 svc:/system/console-login:vt3
online         13:38:03 svc:/system/console-login:vt6
online         13:38:03 svc:/system/console-login:vt5
online         13:38:03 svc:/system/console-login:vt4
online         13:38:03 svc:/system/console-login:vt2

Also /var/run/gdm/ (owner gdm:gdm) should exist (it's
usually missing).

I think your suspend/resume problems are unrelated
to this, that depends also on ACPI tables in your
bios and actual capabilities of hardware, I also did
not advance it to proper state on my machine yet.
HTH
-- 
Dr.Udo Grabowski    Inst.f.Meteorology a.Climate Research IMK-ASF-SAT
www-imk.fzk.de/asf/sat/grabowski/ www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology            http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany  T:(+49)721 608-26026 F:-926026



More information about the OpenIndiana-discuss mailing list