*BSD News Article 9808


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA6549 ; Sun, 10 Jan 93 21:10:38 EST
Xref: sserve comp.unix.bsd:9865 comp.windows.x.i386unix:252
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!matt.ksu.ksu.edu!news
From: probreak@matt.ksu.ksu.edu (James Michael Chacon)
Newsgroups: comp.unix.bsd,comp.windows.x.i386unix
Subject: Re: xfree86 only works for root?
Date: 13 Jan 1993 04:15:36 -0600
Organization: Kansas State University
Lines: 29
Message-ID: <1j0q48INNmq1@matt.ksu.ksu.edu>
References: <MfIsYa600WBMM8XVtb@andrew.cmu.edu>
NNTP-Posting-Host: matt.ksu.ksu.edu

aw2t+@andrew.cmu.edu (Alex R.N. Wetmore) writes:

>I have gotten xfree86 to work on my machine (640x480x2 only, but its
>better than nothing).  Anyway, it will only work if I am logged in as
>root.  Without running as root the server comes up and then gives this
>message:
>  "xterm: Error 14, errno 13: Permission denied"

>The permissions on xterm are:
>  -rwxr-xr-x    1 19593      565248 Oct  1 00:57 xterm*

>Any ideas?  Also, where can I get the X386 faq?  I haven't seen it on
>any of the linux or bsd sites.  And finally, does anyone have the
>dot-clocks for a pvga1 running in 800x600?  Are there any plans in the
>future to support using more than 64k of memory for the X386mono server?
> It would be nice to get a large virtual screen in 800x600 mode (I
>should be able to get 1600x1200 with 256k of memory).

>thanks,
>alex

Xterm should be installed set-uid. This is so it can grab the pty master/slave
pair and chown them to you. Also, it allows for it to update /etc/utmp.

To set it up correctly, issue the following command as root:

chmod 4755 <whatever path you have for xterm>/xterm

James