Recent Tweets

    Elsewhere

     

    February 2010
    S M T W T F S
    « Jan   Mar »
     123456
    78910111213
    14151617181920
    21222324252627
    28  

    Archives

    Enabling virtual consoles in OpenSolaris

    OpenSolaris was lacking virtual console for a while. This support was made available since build snv_124. However, due to various bugs, it is turned off by default. To enable virtual consoles, do the following.

    $ pfexec svcadm enable vtdaemon
    $ pfexec svcadm enable console-login:vt2
    $ pfexec svcadm enable console-login:vt3
    $ pfexec svcadm enable console-login:vt4
    $ pfexec svcadm enable console-login:vt5
    $ pfexec svcadm enable console-login:vt6

    To enable hot keys for switching virtual consoles, do the following.

    $ pfexec svccfg -s vtdaemon setprop options/hotkeys=true
    $ pfexec svcadm refresh vtdaemon
    $ pfexec svcadm restart vtdaemon

    Console security is enabled by default. What it means is that if you leave a virtual console and move to another one, the previous virtual console will be locked and you will have to provide the password to unlock it. If you don’t like that, turn the security off.

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

    If you have already logged into an X session while doing this, logout and wait for Xorg to restart. After that, you should be able to switch between the virtual consoles by pressing the hotkey Alt + Ctrl + F#, where # => 1 to 7. Console 1 is the primary console, 2-6 are virtual consoles and 7 is the Xorg.

    • Digg
    • del.icio.us
    • Twitter
    • Facebook
    • Google Bookmarks
    • LinkedIn
    • Live
    • Yahoo! Bookmarks
    • Posterous
    • Sphinn
    • Mixx

    Leave a Reply

     

     

     

    You can use these HTML tags

    <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">