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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
08-25-2010, 01:14 PM
|
#1
|
|
LQ Newbie
Registered: Aug 2010
Location: kuwait
Posts: 4
Rep:
|
linux does now boot into gui mode
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.
Somebody help me
|
|
|
|
08-25-2010, 01:33 PM
|
#2
|
|
Member
Registered: Feb 2008
Location: Belgium
Distribution: PCLinuxOS
Posts: 102
Rep:
|
Can you say which 3 options the Linux menu gives,
Thanks
|
|
|
|
08-25-2010, 03:06 PM
|
#3
|
|
Member
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 221
Rep:
|
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"
Thanks
|
|
|
|
08-26-2010, 02:07 AM
|
#4
|
|
LQ Newbie
Registered: Aug 2010
Location: kuwait
Posts: 4
Original Poster
Rep:
|
linux gui
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
|
|
|
|
08-26-2010, 02:36 AM
|
#5
|
|
Guru
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 6.4, Centos 5.9
Posts: 14,938
|
The file you edit as root user is /etc/inittab
your system is probably set to '3' where the '5' is. Amend to look like the above and re-boot.
NB: take a backup copy of the file before editing!
|
|
|
1 members found this post helpful.
|
08-26-2010, 02:55 AM
|
#6
|
|
LQ Newbie
Registered: Aug 2010
Location: kuwait
Posts: 4
Original Poster
Rep:
|
and how do i edit that, i m really a newbie so pls assist me
|
|
|
|
08-26-2010, 06:26 AM
|
#7
|
|
LQ Newbie
Registered: Jun 2005
Posts: 4
Rep:
|
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!!!
|
|
|
|
08-28-2010, 07:23 AM
|
#8
|
|
Member
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 689
Rep: 
|
ravichinchkar,
Just curiouse is this for a LM distro ?
I am running LM 9 & I can't seem to find this file (inittab)
Even did a sudo find / -iname inittab and came up with nothing.
Am I just not understanding this post ?
Thanks in advance for the direction. 
|
|
|
|
08-29-2010, 02:32 AM
|
#9
|
|
Senior Member
Registered: Mar 2010
Location: Oakland,Ca
Distribution: DebianSqueeze, winsxp, wins7, Debian wheezy, LFS 7.2
Posts: 4,118
|
What desktop are you installing? Seems to me you only installed standard system.
Last edited by EDDY1; 08-29-2010 at 03:21 AM.
Reason: mispelling
|
|
|
|
08-31-2010, 01:04 AM
|
#10
|
|
LQ Newbie
Registered: Jun 2005
Posts: 4
Rep:
|
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.
Thanks
|
|
|
|
08-31-2010, 01:13 AM
|
#11
|
|
Senior Member
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Rep:
|
I'm guessing, since LM is based on Ubuntu, Ubuntu removed the file and LM had no choice but to leave it as is.
|
|
|
|
08-31-2010, 02:26 AM
|
#12
|
|
Senior Member
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,592
Rep: 
|
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
|
|
|
|
09-01-2010, 04:27 PM
|
#13
|
|
Member
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 689
Rep: 
|
Thanks for the clarification
|
|
|
|
09-02-2010, 08:34 AM
|
#14
|
|
LQ Newbie
Registered: Aug 2010
Location: kuwait
Posts: 4
Original Poster
Rep:
|
it already says env RUNLEVEL=2
|
|
|
|
09-02-2010, 12:01 PM
|
#15
|
|
Member
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 221
Rep:
|
Change to init 5 as
env RUNLEVEL=5
Thanks
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:52 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|