Click to See Complete Forum and Search --> : RedHat, Graphical Login


ChaosCommand
03-05-2003, 09:59 PM
I don't know what happened, but my graphical login screen is gone.... can anyone help me get it back?

I am using RedHat 7.3

Thanks


O yes, please don't tell me to try using the cd's, because I always get some error "you did not choose to install any kernal things, no changes to boot loader will be made"


Thankfully I can still login though with startx

yinrunning
03-05-2003, 10:14 PM
look in /etc/inittab

Check the line

"si:5:initdefault:"

That number will be either a 3 or a 5. If it's a 3, change it to 5, and that should fix things. reboot.

If it's a 5, then something else is wrong.

ChaosCommand
03-05-2003, 10:17 PM
It is a 5.... any other ideas?

ChaosCommand
03-05-2003, 11:07 PM
I just reinstalled, now it is the same problem again. First it was that I couldn't get RedHat to install, now I can't get a graphical login.... what's next?

Anyone out there help?!$?!$

Icarus
03-05-2003, 11:30 PM
Instead of typing startx, try gdm

check and see if the /etc/X11/gdm directory is still there and populated.

What does your /etc/sysconfig/desktop say?

ChaosCommand
03-05-2003, 11:58 PM
Errr... I'm heading back to Mandrake.... RedHat seems to be going in the direction for me. 7.3 is screwing up, 8.0 won't even work, so if 8.1 doesn't work, I'm not messing with RedHat until I get a new computer "which will be a long, long while"

Hopefully RedHat can fix these problems.


Thanks for trying though.

brockmasterflex
03-06-2003, 01:03 AM
quitter.....

:D
b-rock

yinrunning
03-06-2003, 01:05 AM
Yeah, no doubt. Go get windows if you expect things to be that easy.

And if you want to pay a king's ransom for a crappy OS.

Creech
03-12-2003, 12:36 PM
i had this same problem. i seemed to recall trying to fix it, when i did, it was a 5 also, the thing is though that usually it starts using a text-based login, but occasionally it will boot into a graphical login, its strange, does anyone know why this is. im going ot tyr thhis new approach suggested by mahdi( the guided one). thanks a lot. mahdi, didnt they Kitchner and his men play soccer with your skull. just wondering. well thanks again.

Icarus
03-12-2003, 12:52 PM
Originally posted by Creech
mahdi, didnt they Kitchner and his men play soccer with your skull. just wondering. well thanks again. Gee, your welcome for the suggestion. It's at least a good place to start :)


But the skull referance went right over my, err...head.

Creech
03-12-2003, 04:15 PM
yeah after the fadosha crisis, where the madhi and the mahdists rebel against the English is Egypt i believe, not positive, and they kill charles "chinese" gordon. 10 years later someone Kitchener and his men mowed down 11,000 mahdists at the battle of ormuduma i believe its called, then they desicrated the mahdis grave and played soccer with his skull. but now that the history lesson is over today, lol, ill get back on that question i had later. cya

Creech
03-12-2003, 11:40 PM
yeah i checked and mine was at 5. but mine looks dif and i also noticed this line that looked kind of odd to me. let me know what u think.

id:5:initdefault:
thats the one line

here is the one i thought looked strange:

si::sysinit:/etc/rc.d/rcsysinit

thanks again

Creech
03-12-2003, 11:48 PM
another thing, i checked /etc/sysconfig/desktop
and it said DESKTOP="GNOME"
dont know what that means but u asked for it so there ya go. thanks

Creech
03-23-2003, 02:37 PM
does anyone have an explanation for this problem yet.

saithan
03-23-2003, 02:54 PM
many times the graphic login will fail due to network errors. The way to tell if this is the case is to run gnome after logging in by text type:
startx

if gnome starts and reports a non resolve of the machines name "gnome may not operate properly" error.

then the fix is as simple as adding the hosts name to the /etc/hosts file.
also making sure the loopback entries are in the hosts file. if the loop back is missing x will fail to initialize causing it to drop to text loggin.

Hard to say exactry what it is witout checking the x logs for errors.

yinrunning
03-23-2003, 03:02 PM
http://cloud.prohosting.com/redllama/rhHOWTO1.html

saithan
03-23-2003, 05:30 PM
if you are running a static lan then the /etc/hosts is a perm solution. how ever you are right that if the lan ip is changing a lot or the machine is pulling dhcp direct from their ISP then yes it the prob does return after reboot.

yinrunning
03-23-2003, 10:39 PM
yes. I should probably clarify that better in the howto. I'll get around to it sometime. :)

yinrunning
03-23-2003, 10:44 PM
sorry, second thought:

anytime you're pulling off a router/switch, using a reserved IP range (192.168.x.x etc.) the effect is the same regardless of ISP, since the local box is a dhcp server. That seems to be a consideration that gets left out sometimes.

Side note: I happen to know that Debian does not suffer the same problem as RH, since the hostname is set in /etc/hostname at install time and can be changed there. So, this is distro-specific. No idea about other distros.

sharth
03-23-2003, 10:45 PM
okay. whenever this problem happens. please atleast do this.

/var/log

there should be a kdm, gdm, X, XFree86 or something log. read the end of it. see what the error is. if you don't understand it. post an ls of that directory, we will tell you what file. But we can't help, if we don't know the problem. (we can guess, but its stupid and painful)

Creech
03-29-2003, 02:10 PM
alright here is the ls of gdm, it says this:



:0.log
i hope that is what u wanted

yinrunning
03-29-2003, 05:18 PM
Did you even follow the link I put up, and did the steps on the last page fix the problem? That should do it.

Creech
03-30-2003, 02:44 PM
it says ipconfig is not a valid command, so yeah, dont know what im supposed to do about that

sharth
03-30-2003, 08:29 PM
its probably ifconfig

yinrunning
03-31-2003, 04:00 PM
yes, it is ifconfig, and it must be run as root or su.