*BSD News Article 6322


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!caen!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!maverick.ksu.ksu.edu!news
From: brtmac@maverick.ksu.ksu.edu (Brett McCoy)
Newsgroups: comp.unix.bsd
Subject: Re: XFree86 problems...
Date: 9 Oct 1992 15:42:10 -0500
Organization: Kansas State University
Lines: 26
Message-ID: <1b4qr2INN7l5@maverick.ksu.ksu.edu>
References: <1992Oct8.144554.1@camins.camosun.bc.ca>
NNTP-Posting-Host: maverick.ksu.ksu.edu

In <1992Oct8.144554.1@camins.camosun.bc.ca> plante@camins.camosun.bc.ca (Mike Plante) writes:

>What might cause the following error in the xdm-errors file?
>
>     XFree86 Version 1.1 / X Window System
>     (protocol Version 11, revision 0, vendor release 5000)
>     Configured drivers:
>      VGA256 (256 colour SVGA):
>           et4000, et3000, pvga1, gvga, ati, tvga8900
>
>     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;