LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-28-2006, 11:40 PM   #1
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,373

Rep: Reputation: Disabled
I need to boot into the GUI


I just installed Debian successfully (I think), but it takes me to the command line by default. How can I set up the GUI? And by the way, I don't suppose I can change that setting from inside a different distro? By that, I have in mind using a liveCD to, if needed, change settings for some distro on my HD.

Last edited by newbiesforever; 05-28-2006 at 11:42 PM.
 
Old 05-28-2006, 11:45 PM   #2
prozac
Member
 
Registered: Oct 2005
Location: Australia
Distribution: slackware 12.1
Posts: 753

Rep: Reputation: 32
find /etc/inittab file and read it, you will know. By the way a suggestion, also find yourself a debian book or something alike. it will answer most of your questions and save your time.
 
Old 05-28-2006, 11:46 PM   #3
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
Change the default run level in your /etc/inittab to 5 (I think for debian).
 
Old 05-29-2006, 01:18 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I don't know if debian used init 5 for starting in the GUI, however, it should be documented in the contents of the
/etc/inittab file.
Code:
#
# /etc/inittab
#
...
# The default runlevel is defined here
id:5:initdefault:

# First script to be executed, if not booting in emergency (-b) mode
si::bootwait:/etc/init.d/boot

# /etc/init.d/rc takes care of runlevel handling
#
# runlevel 0  is  System halt   (Do not use this for initdefault!)
# runlevel 1  is  Single user mode
# runlevel 2  is  Local multiuser without remote network (e.g. NFS)
# runlevel 3  is  Full multiuser with network
# runlevel 4  is  Not used
# runlevel 5  is  Full multiuser with network and xdm
Edit the line:id:5:initdefault:
So it matches the runlevel for "Full multiuser with network and xdm"

You may also be able to do the same thing in a configuration program, but you'll need to read the your user guide to find it. ( I don't have your distro )

Last edited by jschiwal; 05-29-2006 at 01:22 AM.
 
Old 05-29-2006, 01:43 AM   #5
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Rep: Reputation: 53
As I have recently found, runlevels 2-5 are the same in Debian. Chaninging the default runlevel does not work. What has to be done is this:

make sure you have /etc/rc2.d/S99gdm, this is the startup script where S99 is ¨start process number 99, the gnome desktop manager¨.
This took some trial and error for me, and the help of this forum to figure out. Debian does not handle the runlevels in the same way that other distros do (at least as far as the desktop is concerned.)

I personally like booting into a command line and using ¨startx¨

Hope this helps

Bob
 
Old 05-29-2006, 02:11 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
To boot your system into graphical mode on Debian and Ubuntu do
Code:
#update-rc.d gdm defaults
Replace gdm with the login manager you use.
 
Old 05-29-2006, 02:41 AM   #7
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Rep: Reputation: 53
To redazz...thanks for explaining the exact command. I missed that, I was going in the back door.

Thanks

Bob
 
Old 05-29-2006, 03:19 AM   #8
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Actually run lvl 3 is console and run lvl 5 is the GUI.

If you installed a desktop like KDE or Gnome it should load when you login. I am lazy and just set mine to autologin. No one but myself and my wife that wouldn't touch a pc if she had to have physical access so I figure autologin as use is ok.
 
Old 05-29-2006, 04:10 AM   #9
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,373

Original Poster
Rep: Reputation: Disabled
Prozac, I think that Linux books are generally useless, because Linux distributions evolve far too rapidly for the speed of publishing to keep up with. I have read that when Knoppix was brand new, the designers were releasing updates several times a day! The Internet, where Linux effectively lives, is the only medium that transmits new information rapidly enough to help anyone.
 
Old 05-29-2006, 05:32 AM   #10
prozac
Member
 
Registered: Oct 2005
Location: Australia
Distribution: slackware 12.1
Posts: 753

Rep: Reputation: 32
Quote:
Originally Posted by newbiesforever
Prozac, I think that Linux books are generally useless, because Linux distributions evolve far too rapidly for the speed of publishing to keep up with. I have read that when Knoppix was brand new, the designers were releasing updates several times a day! The Internet, where Linux effectively lives, is the only medium that transmits new information rapidly enough to help anyone.
newbiesforever,
I didn't asked you to go buy a book from your bookstore. pretty much every linux distribution comes up with a distro book which are pretty much standard and updated according to the distro evolvement. you can download it for free from each distro home site.

you above response pretty much confirms to your name. if you are gonna ignore the books and find them useless to give them a few minutes read then i predict you're always gonna be a newbie forever.

Last edited by prozac; 05-29-2006 at 05:34 AM.
 
Old 05-29-2006, 05:36 AM   #11
prozac
Member
 
Registered: Oct 2005
Location: Australia
Distribution: slackware 12.1
Posts: 753

Rep: Reputation: 32
i also suggest u give a read to the following post if you don't feel lazy already:
http://www.linuxquestions.org/questi...d.php?t=449446
 
Old 05-29-2006, 05:49 AM   #12
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally Posted by newbiesforever
Prozac, I think that Linux books are generally useless, because Linux distributions evolve far too rapidly for the speed of publishing to keep up with. I have read that when Knoppix was brand new, the designers were releasing updates several times a day! The Internet, where Linux effectively lives, is the only medium that transmits new information rapidly enough to help anyone.
Read generic books that are not too distro focused. If you then need information about a specific distro and your book does not cover it, then read the distros documentation. Distro specific docs are usually available online and somewhere on the installation disc or installed on the system. Many distros publish their own books which are usually available for free download, so take a look at the Debian site and see if there are any.

By the way Knoppix and Mepis do certain things differently to Debian, so just because something works in a certain way in Knoppix or Mepis does not mean it will be the same as Debian (and vice versa). If I remember correctly Mepis uses the same runlevels as Redhat, Mandriva, Suse et al but Debian does not.
 
Old 05-29-2006, 07:52 AM   #13
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
The need to read

When I started in Linux a few years back I mostly used the internet as my tutor. Last year I decided it was time to get some foundation to my knowledge, so I've read the O'Reilly book "Running Linux", a book on Unix (Unix and Linux have strong historical ties!) and I just started reading on C++, in a book written by Bjarne Stroustrup who wrote C++ in the first place I don't pretend to know all now, but I definitely do know more then before...

If you don't want to spend money on a book written on paper, try the Linux Documentation Project stuffed with Howto's and other interesting tutorials. Wisdom only comes to those who are willing to invest in it...

My

Regards, Dutch Master
 
Old 05-29-2006, 01:47 PM   #14
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,373

Original Poster
Rep: Reputation: Disabled
Prozac, because I aspire to be a civilized and harmless individual, I apologize for misunderstanding your advice. I thought by "book," you meant a printed book. I will even acknowledge that I'm probably wrong to discount Linux books. Now that I've apologized, I will also say this: your snobbish and rude behavior is not a credit to the Linux community. The polite and helpful posts by Redazzz and Dutch Master provide a nice contrast.

Oh, and I deliberately selected "newbiesforever" to stick my tongue out at rude LQ regulars. I have actually made at least 200 posts between three different IDs, of which this is the third; with both of the two others, I had also been quasi-flamed, so I changed IDs in order to (a)shake off anyone I might have offended (which would explain their rudeness), and (b)see if the same thing would happen to new "personas."

Last edited by newbiesforever; 05-29-2006 at 01:51 PM.
 
Old 05-29-2006, 10:57 PM   #15
prozac
Member
 
Registered: Oct 2005
Location: Australia
Distribution: slackware 12.1
Posts: 753

Rep: Reputation: 32
Quote:
Originally Posted by newbiesforever
Prozac, because I aspire to be a civilized and harmless individual, I apologize for misunderstanding your advice. I thought by "book," you meant a printed book. I will even acknowledge that I'm probably wrong to discount Linux books. Now that I've apologized, I will also say this: your snobbish and rude behavior is not a credit to the Linux community. The polite and helpful posts by Redazzz and Dutch Master provide a nice contrast.
i apologize too. but sometimes the best way to make somebody come inside the line is to force him to think again.

Quote:
Originally Posted by newbiesforever
Oh, and I deliberately selected "newbiesforever" to stick my tongue out at rude LQ regulars. I have actually made at least 200 posts between three different IDs, of which this is the third; with both of the two others, I had also been quasi-flamed, so I changed IDs in order to (a)shake off anyone I might have offended (which would explain their rudeness), and (b)see if the same thing would happen to new "personas."
this is again a wrong approach. how do i don't think you are not playing games here? It will ultimately work against you than for you. you better stick to one ID and make yourself count by working progressively. That way regular LQers will know you have been doing your homework and will make a change in their opinion towards you if you honestly show you are not the image they have been percieving. One more thing nobody here (new members included) are flamed for asking questions- if they get flamed thats because they have been lazily being stupid or are offending too many others unneccessarily. take the heed and try to be like a mature person-after all its a small world and we are destined to meet again. but you got keep your friends and make sure you don't burn bridges while going out or else you yourself won't have a way to come in.

Last edited by prozac; 05-29-2006 at 10:58 PM.
 
  


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
no boot to GUI? auke1 Mandriva 4 02-05-2006 06:46 AM
...boot to non-gui...? JohnStormrider Linux - General 2 10-13-2005 08:31 AM
mandrake 10 command line to gui boot, then stuck at boot with hour glass chris008 Linux - Laptop and Netbook 1 11-14-2004 05:29 PM
How do I Boot without the GUI? atko Mandriva 2 01-09-2004 12:14 PM
Cant boot into GUI nicomon Linux - Software 4 04-16-2002 10:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:15 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