Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2002 14:06:39 -0400
From:      gfb <imac11@vta.com>
To:        questions@freebsd.org
Cc:        doug.bacon@abbnm.com
Subject:   RE: xdm initialization problems
Message-ID:  <1D3F45AA-95C2-11D6-A861-003065EDC304@vta.com>

next in thread | raw e-mail | index | archive | help

--Apple-Mail-1-945359855
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

From: Guy F. Boyd <fbsd@vta.com>
Date: Fri Jul 12, 2002  01:57:53 PM US/Eastern
To: questions@freebsd.org
Cc: doug.bacon@abbnm.com
Subject:

 >Message-Id: <200207121615.LAA0000003113@gamera.eng.baileynm.com>
 >Subject: Problems initializing xdm
 >To: freebsd-questions@FreeBSD.ORG
 >Date: Fri, 12 Jul 2002 11:15:57 -0500 (CDT)
 >
 >Can anyone please help me?  I have searched the FreeBSD site and 
XFree86 site
 >and have seen others with similar problems, yet no answers that apply to
 >my situation.
 >
 >I have just installed the 4.6 FreeBSD-RELEASE from CDROM onto my laptop.
 >I previously had 4.5 installed, but needed to repartition my drives so I
 >reformatted and started over.  I installed the full system and sources,
 >sync'd in my /etc files, ran xf86config to generate a new 
/etc/X11/XF86Config
 >file, updated it to work with my laptop's mouse and display resolution, 
and
 >successfully initialized the X server using 'startx' (a single Xterm for
 >the application).  I have a problem with the 'xdm' command which I am
 >initializing from my /etc/rc.local script (as I did in 4.5).  The 
following
 >is the output in the /var/log/xdm-errors file:
 >
 >XFree86 Version 4.2.0 / X Window System
 >(protocol Version 11, revision 0, vendor release 6600)
 >Release Date: 18 January 2002
 >    If the server is older than 6-12 months, or if your card is
 >    newer than the above date, look for a newer version before
 >    reporting problems.  (See http://www.XFree86.Org/)
 >Build Operating System: FreeBSD 4.6 i386 [ELF]
 >Module Loader present
 >Markers: (--) probed, (**) from config file, (==) default setting,
 >         (++) from command line, (!!) notice, (II) informational,
 >         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 >(==) Log file: "/var/log/XFree86.0.log", Time: Thu Jul 11 18:04:48 2002
 >(==) Using config file: "/etc/X11/XF86Config"
 >
 > CRTclk
 > FPclk
 >Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, 
removing from list!
 >X Error of failed request:  BadDrawable (invalid Pixmap or Window 
parameter)
 >  Major opcode of failed request:  14 (X_GetGeometry)
 >  Resource id in failed request:  0x0
 >  Serial number of failed request:  59
 >  Current serial number in output stream:  59
 >Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, 
removing from list!
 >X Error of failed request:  BadDrawable (invalid Pixmap or Window 
parameter)
 >  Major opcode of failed request:  14 (X_GetGeometry)
 >  Resource id in failed request:  0x0
 >  Serial number of failed request:  59
 >  Current serial number in output stream:  59
 >X Error of failed request:  BadDrawable (invalid Pixmap or Window 
parameter)
 >  Major opcode of failed request:  14 (X_GetGeometry)
 >  Resource id in failed request:  0x0
 >  Serial number of failed request:  59
 >  Current serial number in output stream:  59
 >AUDIT: Thu Jul 11 18:05:13 2002: 194 X: client 1 rejected from local 
host
 >  Auth name: MIT-MAGIC-COOKIE-1 ID: -1
 >Xlib: connection to ":0.0" refused by server
 >Xlib: Invalid MIT-MAGIC-COOKIE-1 key
 >xdm info (pid 191): Rescanning both config and servers files
 >xdm error (pid 191): Display :0 is being disabled
 >Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, 
removing from list!
 >
 >
 >As you can see, I am having some sort of authorization problem.  
Visually,
 >I see the X server initialize, the cross hatched background appears with
 >a large X shaped cusor, and almost immediately the display resets to a
 >black screen and then after a few moments I see the boot up messages 
(system
 >console) and then it appears to retry the X start up again, with the 
same
 >result.
 >
 >I did nothing different from when I ran this under version 4.5 so what 
the
 >heck is this MAGIC-COOKIE thing and how can I configure this to 
authorize
 >my connection to my local display???  I've noticed that other people 
have
 >written in about problems logging in, but I never get the login screen 
up.
 >
 >A side note, what's wrong with my Speedo fonts?  The directory and font
 >files exist.  I've even rerun mkfontdir, but this still fails.
 >
 >Both of these problems seem to be bugs in the 4.6-RELEASE since I did 
not
 >have problems like this before.  Has some new authorization feature been
 >added to xdm or the X server with this release?  If so, I cannot find 
any
 >hints at how to configure this through the man pages or searching the
 >net.
 >
 >Thank you for any help you can give,
 >
 >  Doug
 >
 >--
 >Douglas M. Bacon                                               
v  ^  ^  v
 >ABB, Inc.                                                       \ (@@) /
 >1601 Industrial Blvd.  Sugar Land, Texas  USA  77478             ( == )
 >doug.bacon@abbnm.com   FAX: 281-274-5448  Phone: 281-274-5149   _/    \_
 >
 >To Unsubscribe: send mail to majordomo@FreeBSD.org
 >with "unsubscribe freebsd-questions" in the body of the message
 >

Ahh. Yes. I have been meaning to post nearly exactly the same
message for 2 days, that Doug did, except I did not draw the 
authorization
conclusion conclusioion , because that bit is missing from my
own output. I am having a nearly identical problem on a Toshiba Satellite
1695 CDT, ATI Rage Pro LT card, running Xfree86 4.2.0 on 4.6-RELEASE.
I subsequently removed all of X11R6 and rebuilt from fresh sources
with the same result. startx runs fine, xdm  resets and wont run.
Running xdm -debug (n) produces lots more log output, and the server 
never
resets, but the login screen never loads, and xdm never completes.
(I 'm sure my new X build is good, I've even built it on a crufty old
FreeBSD 3.0-Release development machine laset week to get some new video 
cards
supportted, and it runs great.)
I will be happy to send log output as Doug did; pardon the typing, broke
2 bones in my hand two days ago, so typing ( and posting ) isnot going 
too
well.

Doug, just in case this is OT fro freebsd, maybe we should be looking
at the bug report form at XFree86.org ( thats what I was mulling over 
since my
rebuild from sources.)

[Also, I have Shifler and Getty's "X-Window Sysyem" reference here on my 
desk
if anyone wants me to look up something to help us solve this. :)  ]

Ouch,

Guy F. Boyd
VTA INC. / VTA Technologies
<fbsd@vta.com>














--Apple-Mail-1-945359855
Content-Transfer-Encoding: 7bit
Content-Type: text/enriched;
	charset=US-ASCII

<bold>From: </bold>Guy F. Boyd <<fbsd@vta.com>

<bold>Date: </bold>Fri Jul 12, 2002  01:57:53 PM US/Eastern

<bold>To: </bold>questions@freebsd.org

<bold>Cc: </bold>doug.bacon@abbnm.com

<bold>Subject: </bold>


>Message-Id: <<200207121615.LAA0000003113@gamera.eng.baileynm.com>

>Subject: Problems initializing xdm

>To: freebsd-questions@FreeBSD.ORG

>Date: Fri, 12 Jul 2002 11:15:57 -0500 (CDT)

>

>Can anyone please help me?  I have searched the FreeBSD site and
XFree86 site

>and have seen others with similar problems, yet no answers that apply
to

>my situation.

>

>I have just installed the 4.6 FreeBSD-RELEASE from CDROM onto my
laptop.

>I previously had 4.5 installed, but needed to repartition my drives
so I

>reformatted and started over.  I installed the full system and
sources,

>sync'd in my /etc files, ran xf86config to generate a new
/etc/X11/XF86Config

>file, updated it to work with my laptop's mouse and display
resolution, and

>successfully initialized the X server using 'startx' (a single Xterm
for

>the application).  I have a problem with the 'xdm' command which I am

>initializing from my /etc/rc.local script (as I did in 4.5).  The
following

>is the output in the /var/log/xdm-errors file:

>

>XFree86 Version 4.2.0 / X Window System

>(protocol Version 11, revision 0, vendor release 6600)

>Release Date: 18 January 2002

>    If the server is older than 6-12 months, or if your card is

>    newer than the above date, look for a newer version before

>    reporting problems.  (See
<underline><color><param>1A1A,1A1A,FFFF</param>http://www.XFree86.Org/</color></underline>)

>Build Operating System: FreeBSD 4.6 i386 [ELF]

>Module Loader present

>Markers: (--) probed, (**) from config file, (==) default setting,

>         (++) from command line, (!!) notice, (II) informational,

>         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.

>(==) Log file: "/var/log/XFree86.0.log", Time: Thu Jul 11 18:04:48
2002

>(==) Using config file: "/etc/X11/XF86Config"

>

> CRTclk

> FPclk

>Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/,
removing from list!

>X Error of failed request:  BadDrawable (invalid Pixmap or Window
parameter)

>  Major opcode of failed request:  14 (X_GetGeometry)

>  Resource id in failed request:  0x0

>  Serial number of failed request:  59

>  Current serial number in output stream:  59

>Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/,
removing from list!

>X Error of failed request:  BadDrawable (invalid Pixmap or Window
parameter)

>  Major opcode of failed request:  14 (X_GetGeometry)

>  Resource id in failed request:  0x0

>  Serial number of failed request:  59

>  Current serial number in output stream:  59

>X Error of failed request:  BadDrawable (invalid Pixmap or Window
parameter)

>  Major opcode of failed request:  14 (X_GetGeometry)

>  Resource id in failed request:  0x0

>  Serial number of failed request:  59

>  Current serial number in output stream:  59

>AUDIT: Thu Jul 11 18:05:13 2002: 194 X: client 1 rejected from local
host

>  Auth name: MIT-MAGIC-COOKIE-1 ID: -1

>Xlib: connection to ":0.0" refused by server

>Xlib: Invalid MIT-MAGIC-COOKIE-1 key

>xdm info (pid 191): Rescanning both config and servers files

>xdm error (pid 191): Display :0 is being disabled

>Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/,
removing from list!

>

>

>As you can see, I am having some sort of authorization problem. 
Visually,

>I see the X server initialize, the cross hatched background appears
with

>a large X shaped cusor, and almost immediately the display resets to a

>black screen and then after a few moments I see the boot up messages
(system

>console) and then it appears to retry the X start up again, with the
same

>result.

>

>I did nothing different from when I ran this under version 4.5 so
what the

>heck is this MAGIC-COOKIE thing and how can I configure this to
authorize

>my connection to my local display???  I've noticed that other people
have

>written in about problems logging in, but I never get the login
screen up.

>

>A side note, what's wrong with my Speedo fonts?  The directory and
font

>files exist.  I've even rerun mkfontdir, but this still fails.

>

>Both of these problems seem to be bugs in the 4.6-RELEASE since I did
not

>have problems like this before.  Has some new authorization feature
been

>added to xdm or the X server with this release?  If so, I cannot find
any

>hints at how to configure this through the man pages or searching the

>net.

>

>Thank you for any help you can give,

>

>  Doug

>

>--

>Douglas M. Bacon                                               v  ^ 
^  v

>ABB, Inc.                                                       \
(@@) /

>1601 Industrial Blvd.  Sugar Land, Texas  USA  77478             ( == )

>doug.bacon@abbnm.com   FAX: 281-274-5448  Phone: 281-274-5149   _/   
\_

>

>To Unsubscribe: send mail to majordomo@FreeBSD.org

>with "unsubscribe freebsd-questions" in the body of the message

>


Ahh. Yes. I have been meaning to post nearly exactly the same

message for 2 days, that Doug did, except I did not draw the
authorization

conclusion conclusioion , because that bit is missing from my

own output. I am having a nearly identical problem on a Toshiba
Satellite

1695 CDT, ATI Rage Pro LT card, running Xfree86 4.2.0 on 4.6-RELEASE.

I subsequently removed all of X11R6 and rebuilt from fresh sources

with the same result. startx runs fine, xdm  resets and wont run.

Running xdm -debug (n) produces lots more log output, and the server
never

resets, but the login screen never loads, and xdm never completes.

(I 'm sure my new X build is good, I've even built it on a crufty old

FreeBSD 3.0-Release development machine laset week to get some new
video cards

supportted, and it runs great.)

I will be happy to send log output as Doug did; pardon the typing,
broke

2 bones in my hand two days ago, so typing ( and posting ) isnot going
too

well.


Doug, just in case this is OT fro freebsd, maybe we should be looking

at the bug report form at XFree86.org ( thats what I was mulling over
since my

rebuild from sources.)


[Also, I have Shifler and Getty's "X-Window Sysyem" reference here on
my desk

if anyone wants me to look up something to help us solve this. :)  ]


Ouch,


Guy F. Boyd

VTA INC. / VTA Technologies

<<fbsd@vta.com>















--Apple-Mail-1-945359855--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1D3F45AA-95C2-11D6-A861-003065EDC304>