LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-10-2010, 02:03 PM   #1
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Rep: Reputation: 34
Virtual consoles in vmware player


I had installed vmware player in my windows 7 OS. How to work on virtual consoles in vmware player were I had installed linux.

Thanks
 
Old 08-10-2010, 02:21 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Q: Does <Alt-F1> work when your VM has focus (or your VM is full-screen)?

Q: Is your VM running Ubuntu? If so, try this:
Quote:
http://www.howtogeek.com/howto/ubunt...-vmware-guest/

If you are running an Ubuntu guest in VMware, you may have found that you cannot switch into the Console mode using Ctrl+Alt+F1. If you try, you will encounter a blank screen and won’t see a login prompt at all.

There’s an easy workaround for this, but it’s not an obvious one. I’ll have to thank larstr on IRC for this tip.

Open up /boot/grub/menu.lst using the following command (or use your favorite editor)

Code:
sudo gedit /boot/grub/menu.lst
Find the section that looks like this:
Code:
## ## End Default Options ##

title Ubuntu, kernel 2.6.17-10-386
root (hd0,0)
kernel /boot/vmlinuz-2.6.17-10-386 root=UUID=8312b3d9-e087-439b-8f3b-21f4b00434f1 ro quiet splash
initrd /boot/initrd.img-2.6.17-10-386
savedefault
boot
Remove “splash” from the kernel line. Save the file, and reboot.

You should now be able to switch to console mode by using Ctrl+Alt+F1 (or F2-F6)
'Hope that helps .. PSM
 
Old 08-11-2010, 01:55 PM   #3
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Original Poster
Rep: Reputation: 34
No that didn't work with ALT-F1 or ALT-CLT-F1 as when I select these function keys, I will be switched back to my windows 7 OS. My vmware is running redhat linux 5. I am able to work in the terminal in the gui mode but not able to switch to virtual console
(F1 TO F7.

Thanks
 
Old 08-12-2010, 12:33 AM   #4
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

It *should* work like I said. And, AFAIK, none of the Linux alt keys are used by VMWare (like, for example, VMWare's "<Ctl-Alt-Ins>").

NEVERTHELESS...

One more suggestion:
1. Install putty on Windows

2. Knock yourself out with as many text-mode (putty) sessions as you want

(assuming, of course, you're using bridged or NAT networking with your VM)

'Hope that helps .. PSM
 
Old 08-13-2010, 11:20 AM   #5
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Original Poster
Rep: Reputation: 34
Thanks for your response but I am unable to establish putty connection with vmware as using bridged or NAT networking with your VM.

Also as per your above statement,
Remove “splash” from the kernel line. Save the file, and reboot.
I can switch to virtual console if I had installed redhat linux.

Appreciate for any respose.
Thanks
 
Old 08-17-2010, 01:22 PM   #6
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Original Poster
Rep: Reputation: 34
Still not working.

Any responce will be appreciated.

Thanks
 
Old 08-17-2010, 01:54 PM   #7
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

Again, (in theory, at least ) you should be able to use virtual consoles. But there are several (completely different) reasons why they might not be working. And so far, nothing we've tried seems to have worked.

Sooooooooo ......

Let's step back for a moment and look at alternatives.

Q: Why exactly do you want/need "virtual consoles"?
<= Knowing the "context" might help suggest a good alternative

Q: What exactly went wrong when you tried putty?

Q: Can you "ping" your VM from Windows 7?

Thanx in advance .. PSM
 
Old 08-17-2010, 07:23 PM   #8
jfsylvain
LQ Newbie
 
Registered: Oct 2008
Posts: 1

Rep: Reputation: 1
Quote:
Originally Posted by smilemukul View Post
No that didn't work with ALT-F1 or ALT-CLT-F1 as when I select these function keys, I will be switched back to my windows 7 OS. My vmware is running redhat linux 5. I am able to work in the terminal in the gui mode but not able to switch to virtual console
(F1 TO F7.

Thanks

ctrl-alt-space, release space, f1
 
1 members found this post helpful.
Old 08-18-2010, 01:28 AM   #9
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
jfsylvain -

Good call! Thank you!

http://www.electrictoolbox.com/vmware-ctrl-alt-f1/
 
Old 08-18-2010, 01:51 AM   #10
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 113Reputation: 113
You can also use chvt command to switch between terminal.

Code:
# chvt 1

then 

ALT-F1 to F6  <- switch terminal
ALT-F7     <- switch command console to graphich
 
2 members found this post helpful.
Old 08-19-2010, 11:30 AM   #11
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Original Poster
Rep: Reputation: 34
sem007 -->

Thanks for the info, its working now but after switching through chvt 1 command, i am able to switch through chvt(1 to 7) command from the shell but from the keyboard only ALT-F6 function key is working.

Is there any keyboad setting need to be done for the function keys.

Thanks
 
Old 08-25-2010, 11:10 AM   #12
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Original Poster
Rep: Reputation: 34
Thanks friends, I am able to switch the function keys(F1 TO F7) through the combination of FN & ALT key + F(1 to 7).

Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
using virtual consoles sulekha Ubuntu 2 10-04-2008 12:56 PM
Virtual Networking in Vmware Player Aviynw Linux - Software 1 12-06-2007 02:09 PM
No virtual consoles slacard *BSD 2 05-12-2006 06:46 PM
virtual consoles pesachzon Linux - Software 1 05-15-2005 05:09 PM
virtual consoles naflan Slackware 1 08-02-2003 12:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration