[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensolaris-announce
Subject:    [osol-announce] Heads up: Switching between Xorg and virtual
From:       Aaron Zang <Aaron.Zang () Sun ! COM>
Date:       2009-08-27 2:39:53
Message-ID: 4A95F1F9.7090202 () Sun ! COM
[Download RAW message or body]

Hi folks,

My putback of 6480003 (Xorg should support virtual console on Solaris)
to the X server gate makes it possible to switch between X sessions
and virtual console terminals.

Please follow the procedure to enable it if you want to use this long
waited feature, and please read through before you take any action:

As root or privileged user:

# svcadm enable vtdaemon
# svcadm enable console-login:vt2
# svcadm enable console-login:vt3
# svcadm enable console-login:vt4
# svcadm enable console-login:vt5
# svcadm enable console-login:vt6
# svccfg -s vtdaemon setprop options/hotkeys=true
# svcadm refresh vtdaemon
# svcadm restart vtdaemon

I guess most people are unlikely to use the lock screen feature
(which will lock up your screen while you switch to other VTs),
you can disable it by:

# svccfg -s vtdaemon setprop options/secure=false
# svcadm refresh vtdaemon
# svcadm restart vtdaemon

If you are doing the above in X session, please log out and wait for Xorg
to restart. And then you will be able to switch between virtual console
terminals and X sessions via hotkeys (Alt + Ctrl + F#).

By default the first 6 virtual console terminals are reserved for console
login sessions, so Xorg will start on the 7th virtual console terminal.

There is an Xorg keyboard driver bug in build 122 which would occasionally
hang Xorg during switch. It has been fixed in build 123. If you are eager
to try it from build 122, please replace

/usr/X11/lib/modules/input/kbd_drv.so
/usr/X11/lib/modules/input/amd64/kbd_drv.so

with the attached ones.

You may also want to "pkill fbconsole" before you switch back to /dev/console
(Alt + Ctrl + F1) otherwise your console will lose input. It should be done upon
every reboot. It would be fixed when the new GDM comes in.

Why is it not enabled by default?
There are several console bugs like the fbconsole one that prevents the services
from being enabled by default. Our team will continue to fix these bugs until
it is prefect to be enabled by default. Now, if you want to use it, you need
to enable it manually.

Any console bugs go to solaris/kernel/console.

Special thanks to Edward Pilatowicz from whom I've learned a lot. Thanks for
the guidance and wonderful ideas.
Many thanks to Alan Coopersmith and Brian Cameron who have contributed a lot
especially to the phase II of this project.
And also many thanks to the colleagues who had been working on this project.

Regards,
Aaron


-- 
You know some birds are not meant to be caged, their feathers are just too bright.

["kbd_drv.so" (application/octet-stream)]
["kbd_drv.so(amd64)" (application/octet-stream)]

_______________________________________________
opensolaris-announce mailing list
opensolaris-announce@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-announce


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic