LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-12-2003, 11:54 PM   #1
sikandar
Member
 
Registered: Aug 2003
Distribution: Linux AS & RH 9
Posts: 255

Rep: Reputation: 30
Why manual startx?


I have RH7.2 installed and when ever I started it was loading the GUI mode GNOME but now it is just stopping at login prompt and after login I have to use startx to get load the gui.

Where I can change this behaviour?
 
Old 09-12-2003, 11:56 PM   #2
rufius
Member
 
Registered: Oct 2002
Location: Miami, FL
Distribution: Ubuntu
Posts: 184

Rep: Reputation: 30
I believe its in .xinitrc?
 
Old 09-12-2003, 11:56 PM   #3
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Well, I'm using Mandrake 9.1 and I had the same problem. But there definitely has to be some option in your control center or something like that that has the option of starting the graphical user interface.

Either that or there's some error that you're getting and you don't see it on the screen.
 
Old 09-13-2003, 12:06 AM   #4
sikandar
Member
 
Registered: Aug 2003
Distribution: Linux AS & RH 9
Posts: 255

Original Poster
Rep: Reputation: 30
That's what I am saying that I have changed nothing so why this happened. I just added dbstart script in rc.local but even after removing it still same behaviour. When from the GUI I use Log out it again goes to text mode.

su - oracle -c $ORACLE_HOME/bin/dbstart
 
Old 09-13-2003, 12:26 AM   #5
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
I don't know what to tell you. Sometimes computers have a mind of their own.
 
Old 09-13-2003, 01:27 AM   #6
sikandar
Member
 
Registered: Aug 2003
Distribution: Linux AS & RH 9
Posts: 255

Original Poster
Rep: Reputation: 30
what is the location of .xinitrc?
 
Old 09-13-2003, 01:30 AM   #7
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
if you're using red hat (maybe for other distros too, not sure though), just edit /etc/inittab as my guess is that something or someone probably changed the runlevel 5 line to runlevel 3.

basically look for a line like this:
id:X:initdefault:

where X is some number (my guess is it's probably 3).

change X to 5 and reboot if you want.
 
Old 09-13-2003, 01:50 AM   #8
sikandar
Member
 
Registered: Aug 2003
Distribution: Linux AS & RH 9
Posts: 255

Original Poster
Rep: Reputation: 30
It is already 5 and I have not changed it. I am the only user who is working on this machine.
 
Old 09-13-2003, 07:54 AM   #9
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Are you getting a message of any sort indicating that your login manager is broken somehow?

The only thing I can think of that would cause this sort of behaviour is:

1. You have autologin with GNOME

2. You tried to update GNOME and the update did not complete properly

3. The incomplete update broke GDM (which GNOME often uses for its login manager, even going so far as to switch your login manager to GDM if it was something else), so that when you log out/in, GDM can't be found, therefore can't start, thus no GUI login.

What I would suggest if this is the case, is temporarily changing your login manager to XDM or KDM and seeing if that solves the problem. If so, you can then reinstall or fix GDM if you want, or continue with XDM or KDM.

Hope this helps.
 
Old 09-13-2003, 10:15 AM   #10
sikandar
Member
 
Registered: Aug 2003
Distribution: Linux AS & RH 9
Posts: 255

Original Poster
Rep: Reputation: 30
I have upgraded my server to RH9 and now it is fine. You are right motub it seems problem as you mentioned.

Thanks to you all for your nice input.
 
  


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
WHY should I type startx twice to startx? hiux Debian 6 09-09-2005 09:12 AM
startx doesn't startx for user vdemuth Mandriva 10 11-08-2004 07:41 PM
Bug / Xwindows / startx : xinit works but startx crash www.rzr.free.fr Linux - Software 4 10-17-2004 08:06 AM
startx vs startx -- :2 (font dimension is different!!) moly82 Linux - General 7 09-15-2003 12:11 PM
RH 7.3 Manual Upgrade RodDog Linux - Distributions 2 05-13-2002 03:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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