- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Redhat Login Problem - gdm.conf
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2008 07:42 PM
тАО06-11-2008 07:42 PM
Redhat Login Problem - gdm.conf
your session lasted less than 10 seconds. if you have not logged out yourself, this could mean that there is some installation problem or that you may be out of diskspace. try loggin in with one of the failsafe sessions to see if you can fix this problem.
my .xsession-errors file states:
/etc/X11/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/X11/gdm/PreSession/Default: running: /usr/bin/X11/sessreg -a -w /var/log/wt
mp -u /var/run/utmp -x "/var/gdm/:0.Xservers" -h "" -l ":0" "root"
tset: standard error: Invalid argument
stty: standard input: Inappropriate ioctl for device
stty: standard input: Inappropriate ioctl for device
I've harden the server. The only change done on the gdm side is the gdm.conf which I uncommented:
#SystemMenu=true
now I've restored it to original file yet I cannot login thru X.
Help please.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2008 08:19 PM
тАО06-11-2008 08:19 PM
Re: Redhat Login Problem - gdm.conf
but im still dazed and confused. which configuration should i modify so that i can directly login to the redhat gui?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2008 09:41 PM
тАО06-11-2008 09:41 PM
Re: Redhat Login Problem - gdm.conf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2008 06:40 AM
тАО06-13-2008 06:40 AM
Re: Redhat Login Problem - gdm.conf
The error messages of tset and stty commands in your .xsession-errors file suggest that your /etc/profile, ~/.profile and/or other login scripts contain some commands that attempt to initialize terminal settings without first making sure that the current session *has* a terminal.
gdm will run several scripts when initializing an X session. To initialize all environment variables properly, these scripts will execute /etc/profile (and whatever other login scripts) as with a terminal login, but with stdin redirected from /dev/null and stdout+stderr redirected to .xsession-errors file. If any of these scripts end with an error, gdm will see it as an indication that the X session setup has failed, and will re-display the login dialog.
You should make any tset and stty commands in your login scripts conditional, for example:
if tty -s; then
tset
fi
or
tty -s && stty
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2008 06:39 PM
тАО06-15-2008 06:39 PM
Re: Redhat Login Problem - gdm.conf
but if i start at level 5 it prompts for username and password. then i cannot login. it gives me the same error as stated earlier.