Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I run VirtualBox in Linux , running CentOS in it , and I can't switch to ttyX in the CentOS since I'll go to the ttyX in my Linux.

Any solutions ?

share|improve this question
add comment

2 Answers 2

up vote 7 down vote accepted

In the default Virtualbox configuration, you can use RCtrl-F1, where RCtrl is the right control key.

share|improve this answer
add comment

I don't know if you can send arbitrary keyboard sequences with VirtualBox, but you could try chvt:

sudo chvt 1

should take you to tty1.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.