LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 02-27-2006, 04:05 AM   #1
simbobo
LQ Newbie
 
Registered: Jan 2006
Location: Hampshire, UK
Distribution: Debian Lenny - it may be testing, but XP is a lot more testing!
Posts: 27

Rep: Reputation: 15
Lost GUI login page


I've been using Etch for a few days, and had a crash.

Errors are:

Synaptic tells me (wrongly) I have no packages installed

I can only startx as root

If I log in as an ordinary user I get the following:
bash: id: command not found
bash: [: : integer expression expected
bash: dircolors: command not found
I can't then startx

Any idea what's going on?
 
Old 02-27-2006, 08:26 AM   #2
anti.corp
Member
 
Registered: Nov 2005
Location: Copenhagen
Distribution: Debian E, Vectorlinux 5.1std, Arch, Gentoo 2006.0
Posts: 576

Rep: Reputation: 30
Hi and welcome to LQ

Sounds like your inittab got overwritten.

(As root) open /etc/inittab in a texteditor, and check the runlevel. Change it from '3' to '5'.

To open type (as root)
Code:
nano /etc/inittab
Hope this helps you out
 
Old 02-27-2006, 08:29 AM   #3
dracae
Member
 
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
Debian runlevels 2-5 are the same. You probably do not have gdm/kdm/xdm installed.
 
Old 02-27-2006, 09:16 AM   #4
simbobo
LQ Newbie
 
Registered: Jan 2006
Location: Hampshire, UK
Distribution: Debian Lenny - it may be testing, but XP is a lot more testing!
Posts: 27

Original Poster
Rep: Reputation: 15
initab runlevel was in fact 2 - I've changed it to 5 and will post what happens.

< Debian runlevels 2-5 are the same. You probably do not have gdm/kdm/xdm installed.

gdm is installed - as root I can get a normal desktop.

Thanks for your tips
 
Old 02-27-2006, 09:24 AM   #5
simbobo
LQ Newbie
 
Registered: Jan 2006
Location: Hampshire, UK
Distribution: Debian Lenny - it may be testing, but XP is a lot more testing!
Posts: 27

Original Poster
Rep: Reputation: 15
Changing runlevel makes no difference. As before x fails.

Any ideas on why synaptic is telling me I have no software installed?
 
Old 02-27-2006, 10:24 AM   #6
anti.corp
Member
 
Registered: Nov 2005
Location: Copenhagen
Distribution: Debian E, Vectorlinux 5.1std, Arch, Gentoo 2006.0
Posts: 576

Rep: Reputation: 30
Quote:
Originally Posted by simbobo
Changing runlevel makes no difference. As before x fails.

Any ideas on why synaptic is telling me I have no software installed?

Did you experience these problems from the start, or did they show up after a upgrade?

Sincerely, Jørgen
 
Old 02-27-2006, 02:04 PM   #7
dracae
Member
 
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
It looks like a problem in your bashrc, rename ~/.bashrc to something else and startx
 
Old 02-28-2006, 03:26 AM   #8
simbobo
LQ Newbie
 
Registered: Jan 2006
Location: Hampshire, UK
Distribution: Debian Lenny - it may be testing, but XP is a lot more testing!
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks for your thoughts. I've done a reinstall, and this time I'll log every bit of software I add.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
i want to make a html page that looks like or is a curses gui. user1442 General 9 11-14-2005 05:51 PM
Login Page exit Linux - General 6 09-01-2005 09:20 PM
lost start page (home page?) multiplaone Linux - Newbie 1 05-29-2005 06:10 PM
Help lost gui on Man10 barrythai Mandriva 2 01-22-2005 05:10 AM
How to recover a lost username / password for Solaris 7 at gui login screen noitwhiz Solaris / OpenSolaris 2 09-29-2004 12:32 PM


All times are GMT -5. The time now is 03:22 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration