*BSD News Article 6343


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!uwm.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!destroyer!cs.ubc.ca!news.UVic.CA!spang.Camosun.BC.CA!plante
From: plante@spang.Camosun.BC.CA (Mike Plante)
Subject: Re: XFree86 problems...
Message-ID: <1992Oct10.005229.16497@spang.Camosun.BC.CA>
Organization: Camosun College, Victoria B.C, Canada
References: <1992Oct8.144554.1@camins.camosun.bc.ca> <1b4qr2INN7l5@maverick.ksu.ksu.edu>
Date: Sat, 10 Oct 1992 00:52:29 GMT
Lines: 32

In article <1b4qr2INN7l5@maverick.ksu.ksu.edu> brtmac@maverick.ksu.ksu.edu (Brett McCoy) writes:
>
>>What might cause the following error in the xdm-errors file?
>>
>>     Fatal server error:
>>     Cannot open /dev/vga (errno=6)
>>
>>     error (pid 95): Server for display :0 terminated unexpectedly: 1
>>
>>The /dev/vga is there! Am I missing something obvious? I did your basic
>>binary install from the XFree86 core distribution.
>
>Make sure that your X server is not suid to some uid that can't access the
>/dev/vga file.  I had gotten my X server suid bin and /dev/vga was owned and
>only accessible by me.  I got around this by removing the suid bit on the
>server executable, but I don't use xdm.  You probably need to make your X
>server suid root if you are running XDM, or get rid of the suid bit since
>it is probably being run by root anyway.
>
>++Brett;

I solved it. Turns out that there already existed a /dev/vga so when I
installed XFree86 and used x386config, it simply left it alone. But the
original /dev/vga had a different major and minor value than what the
x386config was going to create. So I deleted the original and ran mknod
again with the new values....all works fine.

Thanks to those who responed.

Mike

plante@spang.camosun.bc.ca