Linux / UNIX: Virtual consoles (VC)

by on August 7, 2007 · 2 comments· LAST UPDATED August 7, 2007

in , ,

Q. Can you explain the term Virtual Consoles and elaborate the usage of the same?

A. Under FreeBSD, Linux, or UNIX the virtual console (VC) allows a user to have multiple logins without using X windows GUI system. It is also known as virtual terminal (VT)

Linux has 6 VC

It is a combination of the keyboard and the display for a user interface. The concrete combination is the system console of the computer, where the user can switch between the virtual consoles to access multiple unrelated user interfaces. Usually in Linux, the first six virtual consoles provide a text terminal with a login prompt to a unix shell. The graphical X Window System starts in the seventh virtual console. To access 6 terminal press and hold [CTRL] + [ALT]+F{1,2,3,4,5,6}. For example press CTRL+Alt+F1 (or ALT+F1) to access the virtual console number 1.

Access X GUI system

To access X GUI system press CTRL+ALT+F7.

Other options for VC/VT

GNU Screen is a program that can change between several text-mode programs in one textual login.

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 2 comments… read them below or add one }

1 Babu January 5, 2012 at 6:40 am

Hey can you please guide me as to how i can access these Virtual terminals / Virtual Consoles in VMware, as i have the minimal install of Centos 6.0.

Brief description:
I installed Centos 6.0 Minimal Install and set a Static Ip for my eth0. So that i can access my Router Emulator in Virtual Machine in the Host machine . The issue i face is my Centos machine network interface will be up only when my modem is switched on , i.e pinging from Virtual machine to host happens upon modem being on otherwise it fails & i don’t know how to set Route between Virtual Machine to Host Machine without the default gateway ( my ISP modem ).

When i try to access these Virtual Consoles by holding the Ctrl+Alt [F1 to F6] so that i can telnet to different routers it doesn’t show up.

When my modem is Switched on i use putty to ssh and start routers one by one. Later i use SecureCRT to connect those routers in tab.

My host machine ip is set to : 192.168.1.5 /24
Virtual Machine is set to Bridge Mode with Staic Ip assigned to Centos: 192.168.1.14 /24.

Reply

2 Babu January 5, 2012 at 8:11 am

[ It was many of the posts at http://www.cyberciti.biz that helped me setup the Cent O.S. ]

Yeah i found, my mistake.

It was Alt+ F1 through F6 & not Ctrl+Alt+F1.

Please help enabling Routing Between Virtual Machine Cento OS 6.0 & Host Windows 7. As explained earlier my Virtual Machine Centos is not able to Ping with Windows 7 & i need to know how to enable Routing between these.

My host machine ip is set to : 192.168.1.5 /24
Virtual Machine is set to Bridge Mode with Staic Ip assigned to Centos: 192.168.1.14 /24.
My default gateway is set to my Modem 192.168.1.1.

When i switch on my default gateway (modem) i can clearly see that communication is happening between VM (Cent O.S 6.0 ) to Modem (192.168.1.1) to Host (192.168.1.5). If Modem is down ping fails.

Please suggest what should be done.

Reply

Leave a Comment

Tagged as:

Previous Faq:

Next Faq: