Solved

XDM failing to start x session

Posted on 2001-08-19
7
291 Views
Last Modified: 2013-12-27
I have a working X. I am trying to get xdm to play nice and failing.

XDM gives teh GUI login acts normal if i type the wrong password or UID. But if i use teh correct UID and Password the screen goes black then restarts the login GUI. Ever thing looks right. Any one have any idea on where to start the Debug, or have seen this befroe?
0
Comment
Question by:Barn_Owl
7 Comments
 
LVL 14

Expert Comment

by:xberry
ID: 6425022
Before we start our troubleshooting:

> GUI login acts normal if i type the wrong password or UID.

Does it give you it's 'normal' "Wrong password, authentication failed" message or does it literally give to undenied access to your account ?
Which, with a wrong password would indeed be quite unusual.
0
 
LVL 1

Author Comment

by:Barn_Owl
ID: 6425088
"Wrong password, authentication failed" was what i was getting. on a lark i set my xinitrc to excutable and it started working. I am not sure that that is really secure though.
0
 
LVL 14

Expert Comment

by:xberry
ID: 6425211
> On a lark i set my xinitrc to executable

That's pretty standard !  The default for my /etc/X11/xinit/xinitrc.d
has always been set to '-rwxr-xr-x' .  
Since xinitrc is a scriptfile it has to be executable, don't you think so ?

> I am not sure that that is really secure though.

What are you afraid of ?  xinitrc isn't in any way related to your password settings. Actually 'xinitrc' is run via the file 'Xsession', which itself is only
executed AFTER a successful login authentication.

0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 1

Author Comment

by:Barn_Owl
ID: 6425270
I always get a little edge when setting a system file to excutable when i don;t know what i am doing :). As I don't use XDM for my logins normally and if you start an Xsession with startx command it has never been excutable before.
0
 
LVL 14

Expert Comment

by:xberry
ID: 6425397
You have of course the choice to copy the global 'xinitrc' file & set it up
as local ~/.xinitrc file in your HOME directory. Local configuration files have priority against global settings when you run X. So you only need to set your local file executable. Thus you don't have to expose your global file to a possible risk.

 
0
 

Expert Comment

by:CleanupPing
ID: 9090222
Barn_Owl:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 9

Accepted Solution

by:
majorwoo earned 0 total points
ID: 10064015
PAQ'd and points refunded.

majorwoo
EE Page Editor
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now