The Alt + F1key combination does not switch from GUI to text-mode
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The Alt + F1key combination does not switch from GUI to text-mode
I have installed Vmware workstation on my Windows Xp and inside it I have installed Linux CentOs 5.4.
My virtual machine works fine. Two user accounts exist on CentOs: One is root and the other is user1.
I also adjusted my VMware to use Alt+Ctrl+Shift+Fi combination (where i is a number from 1 to 6) to switch from GUI to text-mode.
The problem is that when I am in the user1`s GUI log-in this key combination works well and takes me to text-mode, but in the root`s GUI it dosen`t operate at all and in fact nothing happens by pressing these keys.
I found that if I log out from root`s GUI login the combination will work on CentOs login page.
I want to know how can I have these hot keys enabled for root`s GUI to lunch into text-mode.
I would appreciate everyone who gives me help on the issue.
Have you tried Ctrl + Alt + f1 ( to f6 )? They should work without any definitions.
Since you are very new, I will tell you, if you have heard this before, please disregard. You should not use the root user in a gui. There is very great danger in you doing things to the system that may cause it not to run correctly. The root account should only be used for modifying things the regular user can not modify. Do it in a terminal, not a gui.
If you have to have the key combo working in root user gui, do in the root gui what you did in the user gui to define the key combo. User definitions and customizations are only for the user you make them in. This is not windoze.
Thank you for the time you spent answering my question.I would like to inform you that I have some good experiences relating to Linux operating systems and also have LPIC-1 certification. The story backs to about two years ago when I registered in LinuxQuestions.org but I never participated in this community`s activities and during this period just studied its materials. Recently I decided to make changes in the current situation. Nevertheless I assume myself as a student and see myself at the beginning of the road ahead.
Anyway now my question is that I have defined the Alt+Ctrl+Shift combination in VMware to avoid conflicting with Alt+Ctrl hot key combination which is used to return from the guest to the host, but don`t know why this combination just works in ordinary user`s GUI environment not in root`s!
As a matter of fact I want to know how can we enable or disable X to text mode hot keys?
As a matter of fact I want to know how can we enable or disable X to text mode hot keys?
The xserver is an application, like any other application. So if you do not want it running, you can swithch to run level that doesn't run the xserver, you would have to look at your distros documentation here, not all distros use the same run levels. I think run level 3 would work with Slackware, for example. The command would be 'init 3' as root, without the quotes.
I guess the other way is to use the kill command, you need to know the pid of the xserver. That would take root authority. Not at all sure if you could set this up with a hot key.
I do not use VMware, I do use VirtualBox though. I can not help with VMware questions.
I don`t want to disable or enable X server or change my current runlevel. I just want to find out why don`t the Alt+Fi(i=1,2,..,6) keys work in root`s GUI whereas they do in user1`s?
Suppose I am using GUI and at the same time need to have some jobs accomplished in text-mode without having to log out from GUI or change my run level or even disable X server so that after accomplishing my jobs, I would be able to switch back using Alt+F7.
You can forget about VMware and look at the scenario in a different manner :imagine two people connecting to Linux locally whose account name is root but one of them is using GUI and another is using text-mode.
Again Thanks a lot.
Have you tried Ctrl + Alt + f1 ( to f6 )? They should work without any definitions.
Have you tried this? If yes, and you did not get a command line, then you probably do not have a tty running.
You can see which one(s) are running, in a console, run the command 'ps aux | grep tty' and look at the output. My system has two running, here is what it looks like.
tty6 is one, and I can log into it. tty7 is where xserver is running. The last line is me searching for running processes ( the ones above ).
If you don't have a spare tty running, then you have nothing to switch to. Since Centos is primarily set up as a server, it may be any extra tty's are disabled. I would have to find out how to start one. So post your results.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.