Skip to contentSkip to conversation

Run Level 5 problems

DISCUSSION David Andrew - Sun MDE 4 participants 4 messages Mar 12, 1999 – Mar 13, 1999

lore
Share & tools
lore
#0 lore raw

Hi,

I have been successful in loading UltraPenguin-1.1.9 in many Ultra platforms, but have not been able to log in at Run level 5. Is there something I am missing? I have done it as root, as well as with another username. As soon as the name and password are entered, it tries to do something, then comes back up with the same login screen, with no reasonable exit. I am running the newest UP RPMS, including the 2.2.2-3 kernel files, but this happened on earlier versions as well.

I can get the X up with startx, but not by going to run level5. This happens even if I have already logged in at level 3.

Is this a known bug?

Thanks,

David Andrew Tel: 781-442-2316 Internal: 22316
Market Development Engineer - I/O Technologies FAX: 781-442-1520
Sun Microsystems, 1 Network Drive - M/S UBUR01-203, Burlington, MA 01803
e-mail: [email protected]

#1 lore raw
Quoted 9 lines · David Andrew - Sun MDE

I have been successful in loading UltraPenguin-1.1.9 in many Ultra platforms, but have not been able to log in at Run level 5. Is there something I am missing? I have done it as root, as well as with another username. As soon as the name and password are entered, it tries to do something, then comes back up with the same login screen, with no reasonable exit. I am running the newest UP RPMS, including the 2.2.2-3 kernel files, but this happened on earlier versions as well.

Quoted 4 lines

I can get the X up with startx, but not by going to run level5. This happens even if I have already logged in at level 3.

Is this a known bug?

This generally happens when the startup scripts that xdm spawns (Xsession) tries to run something like a window manager and fails (when the script that runs the window manager exits, X will exit and xdm will restart). There _should_ be a file with a name similar to ".xsession.log" or ".xsession-errors" in the user's home directory which may provide more insight into what exactly is going wrong (I'd suspect a missing program or a bad path.)

Steve
[email protected]

#2 lore raw
In reply to David Andrew - Sun MDE

This is a known bug in xdm, reported (with a fix) by David Waddell on the sparclinux list a week or so ago. His fix (and what will be in the next set of UltraPenguin X rpms) is to add:

DisplayManager*userPath:
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games DisplayManager*systemPath:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11

to the /etc/X11/xdm/xdm-config file.

Later,
David S. Miller
[email protected]

#3 lore raw
In reply to David Andrew - Sun MDE

There is a file in /var/log... xdm-error.log. I have used it to troubleshoot many a failed login attempt. Also, I have found that just because you can run startx and get into X ok, doesn't mean xdm will work. Sometimes xdm won't recognize your .xinitrc or other startup file, alot of time it wants .Xsession and .Xsession only. and sometimes it has to be executable. and sometimes if you declare variables in your .Xsession they don't take. (Although I suspect some of these problems were due to a buggy beta KDE release.) I know the question had already been answered, I just wanted to vent :) God I love Unix. =P

Matt

Quoted 34 lines

-----Original Message-----
From: Steve Dunham [SMTP:[email protected]]
Sent: Saturday, March 13, 1999 1:02 AM
To: David Andrew - Sun MDE
Cc: [email protected]
Subject: Re: Run Level 5 problems

Quoted 9 lines · David Andrew - Sun MDE

I have been successful in loading UltraPenguin-1.1.9 in many Ultra platforms, but have not been able to log in at Run level 5. Is there something I am missing? I have done it as root, as well as with another username. As soon as the name and password are entered, it tries to do something, then comes back up with the same login screen, with no reasonable exit. I am running the newest UP RPMS, including the 2.2.2-3 kernel files, but this happened on earlier versions as well.

Quoted 4 lines

I can get the X up with startx, but not by going to run level5. This happens even if I have already logged in at level 3.

Is this a known bug?

This generally happens when the startup scripts that xdm spawns (Xsession) tries to run something like a window manager and fails (when the script that runs the window manager exits, X will exit and xdm will restart). There _should_ be a file with a name similar to ".xsession.log" or ".xsession-errors" in the user's home directory which may provide more insight into what exactly is going wrong (I'd suspect a missing program or a bad path.)

Steve
[email protected]