Bug 42973

Summary: xdm is not working on FreeBSD 4.6-RELEASE and 4.6.2-RELEASE
Product: Ports & Packages Reporter: mrspock <mrspock>
Component: Individual Port(s)Assignee: Eric Anholt <anholt>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description mrspock 2002-09-19 23:40:02 UTC
I had a computer running FreeBSD 4.5-RELEASE.  I installed on it
XFree86-4 distributed in binary by www.XFree86.org because I have
an ATI all in wonder 128 pro video card and X11 release 3.3 did 
not support it.  It worked perfectly.

I installed in my computer FreeBSD 4.6-RELEASE, I also installed 
to XFree86 4.2 included in the CD.

xdm stop working, it just tried to start unsuccessfully.
I tried compiling XFree86-4 from the ports with the same result.

Curiously, xdm reports:

  /usr/libexec/ld-elf.so.1: xdm: Undefined symbol "_XdmcpWrapperToOddParity"

which means that some object [a function or a variable] is not present
in a dynamic library. 

I downloaded the binary distribution of X11 release 4.2 from
ftp.XFree86.org and installed it.  It worked perfectly,
and xdm also worked fine.

Fix: 

Even though is was a solution, it does not fix the problem
in the ports.

Download X11 release 4.2 from ftp://ftp.XFree86.org 
[in its binary form] and install it.

By the way, the missing object "_XdmcpWrapperToOddParity"
seems to be present in three different libraries in
the X11 distribution from XFree86.org but it is only
present in one library in the FreeBSD distribution 
[package and compiling the port].
How-To-Repeat: Install FreeBSD 4.6-RELEASE or FreeBSD-4.6.2-RELEASE and patch it.
Install X and change /etc/ttys
Configure X:
		X -configure

test X is working properly:

		startx

if it works, press:  Ctrl-Alt-Backspace


Now, run xdm:

		/usr/X11R6/bin/xdm

:-?
Comment 1 Ying-Chieh Liao freebsd_committer freebsd_triage 2002-09-20 06:37:49 UTC
Responsible Changed
From-To: freebsd-ports->anholt

over to maintainer
Comment 2 Cy Schubert 2002-09-20 18:13:58 UTC
I've had no problems with XDM (XFree86 4.1.0, 4.2.0, and 4.2.1) under 
FreeBSD 2.0.5 through to 4.7-PRERELEASE. I've had a number of machines 
running 4.6 and currently running 4.6.2 which run XDM without a 
problem. Check to see if anything failed to build or install when you 
build the port.


--
Cheers,                          Phone:  250-387-8437
Cy Schubert                        Fax:  250-387-5766
Team Leader, Sun/Alpha Team      Email:  Cy.Schubert@osg.gov.bc.ca
Open Systems Group, CITS
Ministry of Management Services
Province of BC            
                    FreeBSD UNIX:  cy@FreeBSD.org
Comment 3 Eric Anholt 2002-09-20 19:24:55 UTC
> I installed in my computer FreeBSD 4.6-RELEASE, I also installed 
> to XFree86 4.2 included in the CD.
> 
> xdm stop working, it just tried to start unsuccessfully.
> I tried compiling XFree86-4 from the ports with the same result.

What versions of XFree86-4-clients had you installed from release and
ports?  I haven't seen this error here, so having port/package versions
(e.g. XFree86-clients-4.2.1_1)  would help to figure out if this is
still a problem or has been fixed.

-- 
Eric Anholt <eta@lclark.edu>
http://people.freebsd.org/~anholt/dri/
Comment 4 mrspock 2002-09-22 02:42:50 UTC
On 20 Sep 2002, Eric Anholt wrote:

>Date: 20 Sep 2002 11:24:55 -0700
>From: Eric Anholt <eta@lclark.edu>
>To: Eduardo Viruena Silva <mrspock@esfm.ipn.mx>
>Cc: gnats <freebsd-gnats-submit@FreeBSD.ORG>
>Subject: Re: ports/42973: xdm is not working on FreeBSD 4.6-RELEASE and
>    4.6.2-RELEASE
>
>> I installed in my computer FreeBSD 4.6-RELEASE, I also installed
>> to XFree86 4.2 included in the CD.
>>
>> xdm stop working, it just tried to start unsuccessfully.
>> I tried compiling XFree86-4 from the ports with the same result.
>
>What versions of XFree86-4-clients had you installed from release and
>ports?  I haven't seen this error here, so having port/package versions
>(e.g. XFree86-clients-4.2.1_1)  would help to figure out if this is
>still a problem or has been fixed.

I found the problem Eric.
It seems to be my video card.
Somehow my old configuration is not working properly.
X reports that 8 bits depth color mode is not supported
for my card [ati all in wonder 128 pro]

thanks.

please, close this report.
>
>--
>Eric Anholt <eta@lclark.edu>
>http://people.freebsd.org/~anholt/dri/
>
>

 /\  /\                _______                 _
/  \/  \    *         /   /###\               / \       __
=    .. \____     *  /  ./#### \        *  \__|_/      |  |
=          \_|       |   b#####|   *        _ |   __   |  |  __
 =   \_______/       \ \_\#####/           / \|  /  \  |  | /\_\/
  |  |          *     \___\###/      *     \_/\_/\__/\__\/_/\__/
Comment 5 Eric Anholt freebsd_committer freebsd_triage 2002-10-07 03:18:08 UTC
State Changed
From-To: open->closed

Submitter said it was fixed.