Re: FVWM: Permissions error...

From: Dominik Vogt <dominik.vogt_at_planet-interkom.de>
Date: Mon, 4 Jan 1999 17:08:50 +0100

On Mon, Jan 04, 1999 at 07:25:50AM -0700, Nagle, Adrian wrote:
> I've recently installed the latest XFREE86 server. I think I've finally
> have everything installed with two problems left.
>
> Everything was installed with only root permissions so the server was
> working fine in root, but not in my user account. So I "chmod -R 755 *" in
> the /usr/X11R6 directory.

Oh my god, did you really do that? That means you have nuked the
permissions of *all* files and directories below /usr/X11R6 and
that are quite a lot. Just to give you an idea: On my system
there are 10808 files/directories there that don't have 755
as their permissions. I hope you have a good distribution since
you probably won't get your system running smoothly again without
reinstalling all packages that have something to do with X11 (i.e.
X itself and all X based applications).

> Fatal server error:
> xf86OpenConsole: Server must be running with root permissions
> You should be using Xwrapper to start the server or xdm.
> We strongly advise against making the server SUID root!

chmod 4755 /usr/X11R6/bin/Xwrapper

You may need this too:

chmod 2755 /usr/X11R6/bin/xlock

> It seams I screwed up a permissions somewhere. Incidentally, when
> installing such things, what permissions do you folks set the installation
> to?

Every file has its own permissions. You can't just put the same
permissions on every file. Or do you think setting the executable
bit would make a picture run like a program? You'll probably have
screwed up a few SUID or SGID bits.

> Was "chmod -R 755 *" the wrong approach?

Absolutely.

> The other problem is what the default server is. I want to use the
> accelerated server at 1280x1024 resolution, but I can't find out how to do
> that. I'm guessing it's using the VGA server at a very large resolution?
> But I have /usr/X11R6/X -> XFREE86_SVGA for my S3 ViRGE/VX card. ctrl-alt-+
> doesn't do anything either.

You need to run xf86config or perhaps some other fancy tool that
came with your distribution. There you can specify all the resolutions
you want to use.

Bye

Dominik

--
Dominik Vogt, dominik.vogt_at_planet-interkom.de
Reply-To: dominik_vogt_at_hp.com
--
Visit the official FVWM web page at <URL: http://fvwm.math.uh.edu/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Mon Jan 04 1999 - 11:51:49 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:02 BST