Installing xdm & xdm wouldn't let anyone in

Installing xdm & xdm wouldn't let anyone in

Post by Sergey I Pan » Mon, 14 Mar 1994 15:47:47




: ...
: the subject line says it. I've installed xdm, but how do i get it running?
: Which files must be altered? Please respond!
: ...

>In my /etc/inittab I have this line:
>x1:6:wait:/etc/rc.x11
>so If I do a telinit 6, this line is executed. The contents of rc.x11 is:
>--snip snip--
>:
>#! /bin/sh
>#
># rc.6              This file is executed by init(8) when the system is being
>#           initialized for run level 6 (which usually means X Windows
>#           on LINUX/Pro).
>#

>#

>#

># Tell the viewers what's going to happen...
>if [ -x /usr/X386/bin/xdm ];then
>    echo "Starting up X Windows V.11 R.5..."
>    exec /usr/X386/bin/xdm -nodaemon
>else echo "/usr/bin/X386/bin/xdm is missing";fi

>--snip snip--

I tryed this instead of simply putting xdm at thr end of my rc.local
as well as plain inittab change ():

Quote:> [...]
> # BEWARE: where is your getty? in /bin or in /etc? possibly going
> # single user.
> c1:123456:respawn:/etc/getty 9600 tty1
> c2:23456:respawn:/etc/getty 9600 tty2
> c3:3456:respawn:/etc/getty 9600 tty3
> c4:456:respawn:/etc/getty 9600 tty4
> #c6:456:respawn:/etc/getty 9600 tty6
> c6:456:wait:/usr/X386/bin/xdm
> #
> [...]

As before I am getting: Login incorrect
Can someone with xdm succsess story send me a list of processes that he
have running from startup?
What type of passwords are on your machine - shadow or normall (to be honest I
do not know what the differenece ).I am not 100% sure but I believe that I have
normal passwords (Slackware 1.1.1?)

All the best
Sergey

                Ron Smits


/*-( My opinions are my opinions, My boss's opinions are his opinions )-*/
/*-(                They might not be the same                         -*/

 
 
 

Installing xdm & xdm wouldn't let anyone in

Post by Craig A. Hob » Tue, 22 Mar 1994 08:22:17






>: ...
>: the subject line says it. I've installed xdm, but how do i get it running?
>: Which files must be altered? Please respond!
>: ...

>>In my /etc/inittab I have this line:
>>x1:6:wait:/etc/rc.x11
>>so If I do a telinit 6, this line is executed. The contents of rc.x11 is:
>>--snip snip--
>>:
>>#! /bin/sh
>>#
>># rc.6          This file is executed by init(8) when the system is being
>>#               initialized for run level 6 (which usually means X Windows
>>#               on LINUX/Pro).
>>#

>>#

>>#

>># Tell the viewers what's going to happen...
>>if [ -x /usr/X386/bin/xdm ];then
>>        echo "Starting up X Windows V.11 R.5..."
>>        exec /usr/X386/bin/xdm -nodaemon
>>else echo "/usr/bin/X386/bin/xdm is missing";fi

>>--snip snip--

>I tryed this instead of simply putting xdm at thr end of my rc.local
>as well as plain inittab change ():

>> [...]
>> # BEWARE: where is your getty? in /bin or in /etc? possibly going
>> # single user.
>> c1:123456:respawn:/etc/getty 9600 tty1
>> c2:23456:respawn:/etc/getty 9600 tty2
>> c3:3456:respawn:/etc/getty 9600 tty3
>> c4:456:respawn:/etc/getty 9600 tty4
>> #c6:456:respawn:/etc/getty 9600 tty6
>> c6:456:wait:/usr/X386/bin/xdm
>> #
>> [...]

>As before I am getting: Login incorrect
>Can someone with xdm succsess story send me a list of processes that he
>have running from startup?
>What type of passwords are on your machine - shadow or normall (to be honest I
>do not know what the differenece ).I am not 100% sure but I believe that I have
>normal passwords (Slackware 1.1.1?)

>All the best
>Sergey

>            Ron Smits


>/*-( My opinions are my opinions, My boss's opinions are his opinions )-*/
>/*-(                They might not be the same                         -*/

I'm running slackware 1.0.1 and have had the same problems with xdm.  I
got the "Login incorrect" message until I changed my password to be
something shorter than 7 chars.  Try making your password short and see
if that clears it up.  I can't verify this from a source code point of
view, but I'd bet that xdm is truncating passwords entered in.

Craig

 
 
 

Installing xdm & xdm wouldn't let anyone in

Post by R.D. Auchterloun » Wed, 23 Mar 1994 03:43:10



Quote:>I'm running slackware 1.0.1 and have had the same problems with xdm.  I
>got the "Login incorrect" message until I changed my password to be
>something shorter than 7 chars.  Try making your password short and see
>if that clears it up.  I can't verify this from a source code point of
>view, but I'd bet that xdm is truncating passwords entered in.
>Craig

Correct - in fact _all_ login utils on most other *nixes truncate passwds
to 8 characters. The problem is that on linux login et.al have been
compiled with support for double-length passwords, and thus for a password
of > 8 characters a double length encrypted string is placed in /etc/passwd
and xdm's verification then fails...

I think that the xdm with shadow-password support works OK in this respect
but the non-shadow changes didn't get made.

I have in fact patched my xdm to support double length passwords (note - not
with shadow passwords) - I'll post the code if anyone's interested.

-ray

 
 
 

Installing xdm & xdm wouldn't let anyone in

Post by Habib » Sat, 26 Mar 1994 00:52:46


Hi,

What I did is to include run-level 5 for the xdm.  I don't exactly know
if this is correct.  The following is the modified (only the xdm part)
of the inittab:

-----
# Runlevel 6 used to be for an X-window only system, until we discovered
# that it throws init into a loop that keeps your load avg at least 1 all
# the time. Thus, there is now one getty opened on tty6. Hopefully no one
# will notice. ;^)
# It might not be bad to have one text console anyway, in case something
# happens to X.
x1:56:wait:/etc/rc.d/rc.6
-----

Could someone please verify let let me know through email?
Thank you.


 
 
 

1. xdm wouldn't let anyone in

I tryed to put xdm at the end of my rc.local . I did get filling that it
is convinient, but it telling me that my login is incorrect.
I definitelly did something wrong, but can not find out what. I checked
files in the /usr/X386/lib/X11/xdm directory - they all look fine.
It is looks like I should switch off [or stop from interfer..ing]
something but I can not figure out what.

Can any one help me?
Thank you in advance
Sergey

PS. It can be relivant:

My Xsetup_0 file is:
--------------------
#!/bin/sh
xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail

Xresources file:
----------------
xlogin*login.translations: #override\
        Ctrl<Key>R: abort-display()\n\
        <Key>F1: set-session-argument(failsafe) finish-field()\n\
        Ctrl<Key>Return: set-session-argument(failsafe) finish-field()\n\
        <Key>Return: set-session-argument() finish-field()
xlogin*borderWidth: 3
xlogin*greeting: CLIENTHOST
xlogin*fail: Login incorrect
#ifdef COLOR
xlogin*greetColor: CadetBlue
xlogin*failColor: red
*Foreground: black
*Background: #fffff0
#else
xlogin*Foreground: black
xlogin*Background: white
#endif

XConsole.text.geometry: 480x130
XConsole.verbose:       true
XConsole*iconic:        true
XConsole*font:          fixed

Chooser*geometry:               700x500+300+200
Chooser*allowShellResize:       false
Chooser*viewport.forceBars:     true
Chooser*label.font:             *-new century schoolbook-bold-i-normal-*-240-*
Chooser*label.label:            XDMCP Host Menu  from CLIENTHOST
Chooser*list.font:              -*-*-medium-r-normal-*-*-230-*-*-c-*-iso8859-1
Chooser*Command.font:           *-new century schoolbook-bold-r-normal-*-180-*

xdm-config file:
---------------
DisplayManager.errorLogFile:    /usr/X386/lib/X11/xdm/xdm-errors
DisplayManager.pidFile:         /usr/X386/lib/X11/xdm/xdm-pid
DisplayManager.keyFile:         /usr/X386/lib/X11/xdm/xdm-keys
DisplayManager.servers:         /usr/X386/lib/X11/xdm/Xservers
DisplayManager.accessFile:      /usr/X386/lib/X11/xdm/Xaccess
DisplayManager._0.authorize:    true
DisplayManager._0.setup:        /usr/X386/lib/X11/xdm/Xsetup_0
DisplayManager._0.startup:      /usr/X386/lib/X11/xdm/GiveConsole
DisplayManager._0.reset:        /usr/X386/lib/X11/xdm/TakeConsole
DisplayManager*resources:       /usr/X386/lib/X11/xdm/Xresources
DisplayManager*session:         /usr/X386/lib/X11/xdm/Xsession
DisplayManager*authComplain:    false

Sorry for overloading the bandwidth.
Really desperate

2. 3c90x.c V0.99G and 3ccfe575bt: any success?

3. xdm wouldn't let me it

4. Solaris 8 kills syslogd ?

5. xdm problem: rlogin doesn't work under xdm

6. Stampede on DAC960

7. Silly XDMCP/xdm/Linux question -xdm won't issue xdmcp queries properly.

8. tar exclude pattern

9. xdm can't exec $HOME/.xsession (AIX 3.2+ X11R4/xdm) ...

10. xdm let's only root to login

11. xdm doesn't let me in with root but I am in with other account

12. XDM won't let me run my server.

13. xdm won't let me in...