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.
i am using a toshiba satellite laptop and i have windows 7 installed on C drive and Linux Mint 9 in stalled on D Drive. When i boot it gives me 2 options 1. Windows and 2. Linux. When i select Linux it boots to a screen where it gives me 3 options and if i select the first option it boots to a command screen with my username and then i have to type exit to reboot and then i have to use startx to boot to GUI mode. Is there a workaround so that i can boot directly to the GUI mode.
Your default runlevel is set to text mode(init 3). You have to edit init 5 for gui mode in /etc/grub.conf. Also you can check your runlevel through the command "runlevel"
linuxmint, linux 2.6.32-21-generic
linuxmint, linux 2.6.32-21-generic (recovery mode)
windows 7 (loader) (on /dev/sda2)
i select the first option and it some to a screen where it asks me to enter my password, upon entering the password it comes to a command prompt with the following $username$@linuxmint ~ $
if i select option 2 it comes to recovery menu where i select the last option "drop to root shell prompt" where it prompts me for my password and upon entering the same it comes to a prompt "linuxmint ~ #". I type startx here and it loads the gui linux
i hope thats all the info u need and i am really new to linux
You can give following commands to edit /etc/inittab file.
username@linuxmint~]$ vi /etc/inittab
Now Press 'Insert' key twice, you will see REPLACE at the bottom.
Replace 3 with 5
Press Esc:x
Press Enter
username@linuxmint~]$init 6
Your machine will reboot.
Now you can enter directly to GUI!
Cheers!!!
jv2112,
Sorry for that post, the inittab file doesn'l seems to be there in LM. It's there in Redhat. Then in that case the solution I mentioned will not work.
You could probably edit the file /etc/init/rc-sysinit.conf and change the option env DEFAULT_RUNLEVEL to look like this
Code:
env DEFAULT_RUNLEVEL=2
If that does not solve the issue, if you look below the DEFAULT RUNLEVEL option, there is another option where you can set the runlevel by force.
set it to look like env RUNLEVEL=2
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.