[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: second X



On Thu, Feb 24, 2000 at 09:25:08AM +0100, Dietmar Block wrote:
> Hi,
> 
> I would like to run a second X and indeed I succeed by using
> 
> xinit -- :1 
> 
> but only as root. As soon as I use the same command as normal user
> the system tells me that I am not authorized to run the Xserver.
> As the same command run well on other linux distributions I wonder how
> I can change this.

Check the first two lines of /etc/X11/Xserver:

| /usr/bin/X11/XF86_S3V
| Console
| 
| The first line in this file is the full pathname of the default X server.
| The second line shows who is allowed to run the X server:

If the value is "RootOnly", you won't be able to launch X yourself.  If
it's "Console", you'll be able to launch X from the console, but not
from a background process, eg:

   ( startx & ) & 

or from an existing X session or shell, or a remote connection.

(One of my minor joys at the office is starting and killing X on remote
machines, while logged in as root...)

This is specific to Debian AFAIK.

-- 
Karsten M. Self (kmself@ix.netcom.com)
    What part of "Gestalt" don't you understand?

SAS for Linux: http://www.netcom.com/~kmself/SAS/SAS4Linux.html
Mailing list:  "subscribe sas-linux" to mailto:majordomo@cranfield.ac.uk


Reply to: