The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
Author: glen 
Date:   02-05-00 00:40

Hi all,

I have been using bsd for over a year now, and havent used xdm for ages. I have wmaker installed currently. (.xinitrc and .xsession)
Running 3.4 Stable.

I set up the .sh in /usr/local/etc/rc.d no problem, let it sleep for 10 seconds so getty can do its thing as per the bsd-handbook directions.

After rebooting to check that script works, xdm comes up nicely. When I insert username and p-word, the screen blanks briefly as if positively, but takes me back to the xdm logging. I recall having this problem some time ago, but cant recall how I fixed it!

Please help me out on this one---cant find documentation, its late, and I want to get this baby working NOW!

Cheers for any response!


Reply To This Message
 RE: xdm
Author: glen 
Date:   02-05-00 15:42


I figured it out.

Would be good if the file was executable wouldnt it??!!!

chmod 755 .xsession did the trick :)


Reply To This Message
 RE: xdm
Author: Nevyn 
Date:   05-05-00 21:16

I have the same problem, only 'chmod 755 .xsession' wont fix it, everything in .xsession starts up, but of some reason they cant connect to the Xserver.

.xsession-errors says:
Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server
wmaker fatal error: could not open display ":0"

According to the files in /usr/X11R6/lib/X11/xdm, everything should be set. I mean, clients should be authorized to connect, i guess i forgot something some where, i have very little experience with xdm, just thought it would be neat at my other box.
Btw, i run 4.0, hadnīt had the chance to try it under 3.x.

Any thoughts? :P

- Nevyn

Reply To This Message
 RE: xdm
Author: glen 
Date:   06-05-00 14:59

Hi Nevyn,


xhost + <read man page for this and other options...very usefull>

also,try to export the display,ie:


let me know how it turns out ;)


Reply To This Message
 Got it to work ;)
Author: Nevyn 
Date:   10-05-00 22:39

xdm works perfectly when changing the following lines in /usr/X11R6/lib/X11/xdm-config

DisplayManager._0.authorize: true DisplayManager._1.authorize: true


DisplayManager._0.authorize: false DisplayManager._1.authorize: false

Im not sure if the last line was needed cause i only have one display ( 0 ).

The authorization stuff just doesnīt seem to work for me, and iīm not so sure its really needed at isolated workstations ;)

Good day


Reply To This Message
 RE: xdm
Date:   23-11-00 08:23

hi, people

I'm using both FreeBSD-4.0 and 4.1.1 and 've tried xdm login using /usr/local/etc/rc.d/ as described in FreeBSD FAQ (in/usr/share/docs/faq). It works well with 4.0 but when I log in as root with FreeBSD-4.1.1 it takes me back to the grey xdm login screen. Perhaps some security gap?
Moreover, how to set the langage to French : it 've tried setenv LANG fr in .xinitrc then in .xsession without any change. What about kdm?

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 

 User Login
 User Name:
 Remember my login:
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum