Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Oct 2001 10:07:13 -0500
From:      "Andrew Thorpe" <athorpe@erac.com>
To:        <freebsd-newbies@freebsd.org>
Subject:   Re: XFree86 Config Problems
Message-ID:  <000001c15266$692bbb20$2014c90a@w3099044>

next in thread | raw e-mail | index | archive | help
I too have a problem similar to Christopher's. I can run X from any user
account; however, I can not change the default parameters to the X server.
If I pass along the depth parameters as an argument to startx, it runs fine
at that color depth. However, my default resolution is always 600x800 and
everytime I try to change the configuration file to default to a different
resolution, the X server crashes out. I used xf86cfg to configure my script,
and vi to edit it. I have a Diamond Speedstar A50 card with a Sony Trinitron
CVS(? I am not sure about the letters, I am at work and cannot check)-100
monitor. Both of these are selectable devices in the configuration setup.

-Andrew

>Huh?  I take it wrapper is somehow supposed to help with unprivilidged
>users booting X from the startx script, but why is it not installed when
>you install X 4.1.0 if it's required for runtime unprivilidged user access?
> Also, this still fails to help why my resolution is still defaulting
>to 640x480, dispite changes to my XF86Config file that should display
>in 1024x768.
>
>Also, if you read my note, you'll see that I checked Xfree86.org already,
>and in fact, the very documents you pointed me to really aren't all that
>helpful.  Directly quoting the installation notes is the text:
>
>"The next step is to configure the X server. That is covered in detail
>in an as-yet unwritten document :-(. In the meantime, there are three
>ways to create a basic X server configuration file for XFree86 4.1.0.
>One is to run the xf86config utility. Another is to run the xf86cfg
utility.
>The third option is to use the new -configure X server option:  XFree86
>-configure"
>
>Doesn't seem exactly helpful, since I already used the -configure way,
>as it was recommended in the FreeBSD documentation and worked like a
>charm, does it?  Any further assistance you could provide would be helpful,
>even if just explaining further in detail how Wrapper is supposed to
>magically fix my unprivilidged user problem.
>
>Thanks again!
>
>Chris

---- Scott Corey <scott@bsdprophet.org> wrote:
> install wrapper in /usr/ports/x11 dir.
>
> This program runs an X server after sanity-checking the environment
> and any options passed to it.  It is meant to enhance security on
> multi-user systems running XFree86 4, where the ability to use a
> startx script is needed.  If you have XFree86 3, do not install
> this:  you do not need it and it will not work.  If you have no
> untrusted users or always run the X server from xdm, you do not
> need this (in the latter case, just take the suid bit off your X
> server).
>
> Next time you might try looking at xfree86 home page since they are
> the
> ones responsible for the programs content.
>
> http://www.xfree86.org/4.1.0/index.html
> or
> http://www.xfree86.org/4.1.0/Install.html
>
>  >I'm trying to run XFree86 4.1.0 on FreeBSD 4.4 with KDE 2.2.2.  X
> seems
>  >to run correctly under user "root" (which I'm only using for
configuration
>  >purposes), but for some reason, I can't get it to display the screen
>  >in the 1024x768.  I used XFree86 -configure to setup my XF86Config
> file
>  >(Which worked like a charm, configuring my NVIDIA GeForce 2 MX/400
> and
>  >Monitor settings to the perfect HSYNC and VSYNC settings), and went
> back
>  >in using vi to add DefaultDepth so that it would display in 24-bit
> color.
>  > I also tried adding only "1024x768" to Modes in the 24-bit Color
>
> Subsection
>  >under Display, but that didn't seem to help.  I really wish they
> would
>  >implement the GUI based setup utility that was in XFree86 3.3.6,
> but
>  >they still haven't done that yet.
>
> Yes they have it's xf86cfg.
>
>  >Also, for some reason, when I try to start X under my unpriviliged
> user
>  >it fails to load saying something about "<name.domain.domain> 0 not
> in
>  >XAuthority function 'add' or 'list'".  I've tried adding the correct
>  >settings to my .XAuthority file, but it still doesn't seem to want
> to
>  >load.
>
>
>  >I'm hopelessly confused about the screen resolution issue, and the
> other
>  >issue with unpriviliged users not being able to boot X is just really
>  >irritating too.  Does anyone have any suggestions?  I could really
> use
>  >the help.  I've read just about all the useless documentation on
> this
>  >issue as I could find (on Xfree86.org and FreeBSD.org and
Daemonnews.com's
>  >newbie help.)
>
>  >Very Frustrated,
>  >Chris
>


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000001c15266$692bbb20$2014c90a>