Supports multiple virtual consoles on the solairs character Interface

Source: Internet
Author: User
Remark #19, but his FAQ has been introduced.

I always hoped that solaris could switch to the console by pressing alt + function keys like freebsd and linux. I have done it today and I will share it with you, only solairs7 and the previous system first note that sun's official website is not supported, please refer to the details here http://access1.sun.com/FAQSets/Solarisx86FAQs.html#19 but his FAQ has introduced

We always hope that solaris can switch to the console by pressing alt + function keys like freebsd and linux. We have done it today and share it with you. Only solairs7 and earlier systems are supported.

First, it indicates that sun's official website is not SupportedFor details, please see here http://access1.sun.com/FAQSets/Solarisx86FAQs.html#19

But is his FAQ about http://access1.sun.com/cgi-bin/rinfo2html? 244502. faq

From Solaris x86 2.4 to 7, solairs is not installed by default. SupportedThis feature is lucky to say that the previous solairs7 system did not really turn this feature off from the kernel. sun is a little human and does not know what sun thinks, there may be a brain problem :), If we manually configure it, you can SupportedThis feature is removed from solairs8 x86.

My operating system solairs7 x86 will start working below

First, run the grep command to check the Device File Name:

# Grep-I chanmux/etc/name_to_major

Chanmux

Create a device file in the/dev directory. The number parameter is the result of the above grep command:

Mknod/dev/vt01 c 1

Mknod/dev/vt02 c 2

Etc...

Then add the following in the/etc/inittab:

V1: 234: respawn:/usr/lib/saf/ttymon-g-h-p "VT1 Login:"-T AT386-d/dev/vt01-l console

V2: 234: respawn:/usr/lib/saf/ttymon-g-h-p "VT2 Login:"-T AT386-d/dev/vt02-l console

Etc...

Run the init command to read the inittab file or reboot. You can also run the following command:

/Usr/sbin/init q

Okay, now we can test it.

Switch Alt-PrintScreen F1 to VT1

Alt-PrintScreen F2 switch to VT2,

Alt-PrintScreen P switch to the previous one Interface.

Alt-PrintScreen N switch to the next Interface.

Alt-PrintScreen H switch to X console screen (not Alt-PrintScreen F8 ).

Note: here we press "Alt" and "PrintScreen" together, and then press F2

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.