LinuxQuestions.org
Help answer threads with 0 replies.
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-09-2003, 05:30 PM   #1
Aman9090
Member
 
Registered: Sep 2002
Location: Connecticut, USA
Distribution: Gentoo 2004.0
Posts: 174

Rep: Reputation: 30
Debian Probs - Logged in - now what?


Hey, just installed debian and everything SEEMS to be fine. But unlike Red Hat, which I used earlier, I do not boot right into the OS. I get a user name and password prompt, I enter the correct info, and then it brings me to another prompt. I am assuming that I have to type something in to boot to the Linux Image, however I dont know the command and I need guidance because I am a dumb newbie. Any help would be appreciated. Thanks!
 
Old 08-09-2003, 05:34 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
startx
 
Old 08-09-2003, 05:34 PM   #3
lfur
Member
 
Registered: Jul 2003
Location: Slovenia
Distribution: Slackware & FreeBSD
Posts: 209

Rep: Reputation: 30
Re: Debian Probs - Logged in - now what?

Quote:
I get a user name and password prompt, I enter the correct info, and then it brings me to another prompt.
Hmm ... I assume, that you are used to some sort of GUI. If that's it, try using:
startx

or:
xinit

at the prompt and it will put you in your GUI.
 
Old 08-09-2003, 05:53 PM   #4
GŠutama
Member
 
Registered: Jun 2003
Location: Tokyo
Distribution: Gentoo
Posts: 78

Rep: Reputation: 15
What I think you are asking for is how to get the Window managers up and running.

This depends whether you are stuck at the boot loader or if Debian boots but you don't get a graphical interface to work with.

If Debian boot alright you should see lots of lines telling you what services that start. If this is the case there is nothing wrong with Debian (otherwise look further down), what you see actually is the OS ( I know it doesn't look much ). What you have to do is log in as super user (root) and then check
Code:
/etc/inittab
Near the top there should be a line similar to
Code:
id:5:initdefault:
That line tells Linux what runlevel to start in i.e Single user, Multi User, X11.

If there is a '3' instead of the '5' that means you are starting in non graphical multiuser mode. Change that to a '5' and reboot.

If you have a '5' in the line you have some trouble with your X-window system. Log in as a normal user and type 'startx', 'xstart', 'xinit' that is different on every distro, check if you get any errors that might help you.

if you don't boot into the os you have problem with your boot loader, grub or LILO. Check what debian uses and google for it.
 
Old 08-09-2003, 09:20 PM   #5
Aman9090
Member
 
Registered: Sep 2002
Location: Connecticut, USA
Distribution: Gentoo 2004.0
Posts: 174

Original Poster
Rep: Reputation: 30
It uses LILO. I tried startx, xinit, and that idea you gave me Gautama, and none of them worked. When I tried startx and xinit it said it couldn't initialize X server... whatever that means..

When I tried /etc/inittab it said permission was denied even when I was logged into root...
 
Old 08-09-2003, 10:27 PM   #6
softgun
Member
 
Registered: Jun 2003
Posts: 119

Rep: Reputation: 15
How did you install Debian? WHat version is it? Did you do a basic install only? Can you go to a /etc/X11 directory?
If not you may not have installed X-windows at all
 
Old 08-10-2003, 05:56 AM   #7
GŠutama
Member
 
Registered: Jun 2003
Location: Tokyo
Distribution: Gentoo
Posts: 78

Rep: Reputation: 15
Code:
/etc/inittab
is a file you have to open it with a text editor. emacs, vi , nano, pico .... any of the above will do.

edit:
I wrote a crash course on emacs and vi in a previous thread
http://www.linuxquestions.org/questi...threadid=68347
/edit

if you just want to look at it use 'less' or 'more', you can't edit files just look at them.

And check if you can do
Code:
cd /etc/X11
as softgun suggested

Last edited by GŠutama; 08-10-2003 at 06:04 AM.
 
Old 08-10-2003, 03:37 PM   #8
Aman9090
Member
 
Registered: Sep 2002
Location: Connecticut, USA
Distribution: Gentoo 2004.0
Posts: 174

Original Poster
Rep: Reputation: 30
Well When I tried getting into the /bin/X11/ location it didn't allow me to get there - the farthest I could get was the /bin/ folder..

However, when I used /etc/X11/, I was able to get into the folder and saw the X-Window Manager and three other files that contained something to do with X. What does this mean?
 
Old 08-10-2003, 05:07 PM   #9
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
Quote:
Originally posted by GŠutama
What you have to do is log in as super user (root) and then check
Code:
/etc/inittab
Near the top there should be a line similar to
Code:
id:5:initdefault:
That line tells Linux what runlevel to start in i.e Single user, Multi User, X11.

If there is a '3' instead of the '5' that means you are starting in non graphical multiuser mode. Change that to a '5' and reboot.
Actually, this is only true for MOST distros, but that's because they all make the same (IMO, stupid) distinctions. Debian does not customize runlevels for you. Runlevels 2-5 are all exactly the same unless you do something special to one of them. So, the default runlevel is actually 2, and changing it to 5 won't change anything unless you set up runlevel 5 to be special.

If you want it to use a graphical login, you have to install a graphical login manager. That's it. It'll automatically set it up to start on boot.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
mysteriously logged out of kde (debian sarge) blue penguin Linux - Software 0 02-23-2005 06:55 AM
i,m logged in as user now what?/debian smuggly Linux - Newbie 1 08-15-2004 04:55 PM
kde much slower to start when logged in as alan than logged in as root arubin Slackware 0 04-26-2004 05:27 PM
mozilla works fine when logged in as a user but crashes when logged in as root jimi Linux - General 6 04-02-2003 09:34 PM
several debian probs Toasti Linux - Newbie 2 03-13-2003 07:40 AM

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

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