LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 04-08-2008, 07:17 PM   #1
bophster
LQ Newbie
 
Registered: Feb 2008
Posts: 12

Rep: Reputation: 0
Gnome Desktop doesn't load automatically


I don't know what I did but now when I turn on the computer, it goes directly to dos screen. I have to type startx for it to load Gnome desktop. Can somebody help me on this? How can I restore to the time when it worked fine. Thank you.
 
Old 04-08-2008, 09:35 PM   #2
davimint
Member
 
Registered: Jan 2006
Distribution: Slackware Current
Posts: 272

Rep: Reputation: 33
I'm not sure I have read your post correctly but If I understand your situation when you start your computer it is going into a terminal mode (tty?). So your computer is not starting x. You may have changed the run level on your system. In Slackware it is in the file /etc/inittab but since your distro is not listed under your profile I'm not sure if this will help or if I've read your post correctly.
 
Old 04-08-2008, 09:39 PM   #3
andreas_skw
Member
 
Registered: Jan 2008
Location: Indonesia, tanah air beta
Distribution: Knoppix v5
Posts: 97

Rep: Reputation: 15
I think you should modifying file under /etc. Find inittab. Edit it with any text editor you like. Find this word (runlevel) 3 (This about multiuser but not using x server). Changed parameter 3 to 4. This parameter will tell systems, for every time you boot, you don't have to type startx.

Hope this will help you
 
Old 04-09-2008, 01:11 AM   #4
bophster
LQ Newbie
 
Registered: Feb 2008
Posts: 12

Original Poster
Rep: Reputation: 0
I'm sorry for not telling you that I'm currently using Debian Etch. Yes, it's correct that the computer goes directly to the tty screen. I'm very new to this so it would help me a lot if you could show me in steps. Thank you very much.
 
Old 04-09-2008, 06:38 AM   #5
davimint
Member
 
Registered: Jan 2006
Distribution: Slackware Current
Posts: 272

Rep: Reputation: 33
If your scared you will break something remember to backup any file you are
working with that you have to be root or sudo to fix. The inittab is a file that requires you to be root to edit.

Type from the terminal: cat /etc/inittab | less
( you will be able to read the file to see what runlevel )

I'm not sure in Debian so you will have to Google around to see which
runlevel you need or if that is what has been changed. There is also instructions on the net to show you how to edit this file.
 
Old 04-09-2008, 06:57 AM   #6
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
While you are at the terminal, log in as root and type
/etc/init.d/gdm start
 
Old 04-09-2008, 07:47 AM   #7
greengrocer
Member
 
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353

Rep: Reputation: 37
The problem could be caused by a number of things, you should check the following:

1) Have a look for a file called "default-display-manager" in the /etc/X11 directory:

Code:
cd /etc/X11
ls
If you see the file "default-display-manager", then edit it by doing the following:

Code:
pico default-display-manager
Make sure the following line is there:

Code:
/usr/sbin/gdm
If it is not, then add type the above line in, then save the file CTRL+O and then exit CTRL+X


2) Have a look in your /etc/init.d directory:

Code:
cd /etc/init.d
ls
There should be a file called 'gdm', which is a script that is used to launch Gnome Display Manager.

If you don't have it, you will need to somehow acquire that file.


3) Have a look in your /etc/rc3.d directory. In there you should find a file (actually a symlink), such as S13gdm or similar number.

Code:
cd /etc/rc3.d
ls
If not, then you might want to add a symlink to the /etc/init.d/gdm script file.

Code:
ln /etc/init.d/gdm /etc/rc3.d/S13gdm

Hope this helps.
 
  


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
How to configure VNC server to load up the complete GNOME desktop? tlawlessrr Linux - Newbie 8 03-21-2014 08:21 AM
GNOME desktop doesn't refresh automatically deesto Linux - General 4 03-04-2010 02:19 AM
LXer: How To Make Desktop Applications Start Automatically After Login (GNOME) LXer Syndicated Linux News 0 11-09-2007 05:11 PM
Cannot load GNOME or KDE desktop windefault Linux - Newbie 6 09-06-2004 06:21 AM
how do i get modules to load automatically behmjose Linux - General 2 04-13-2004 08:32 PM

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

All times are GMT -5. The time now is 04:10 PM.

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