Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Nov 1996 00:35:36 -0500 (EST)
From:      owilson@Hydro.CAM.ORG (Oliver Wilson)
To:        FreeBSD-Questions <questions@FreeBSD.org>
Subject:   Help!! Access control on X with MIT-MAGIC-COOKIE-1
Message-ID:  <199611260535.AAA02398@Nimbus.CAM.ORG>

Next in thread | Raw E-Mail | Index | Archive | Help
I am able to sign on as root on Xfree86, which I have configured to use 
MIT-MAGIC-COOKIE-1 access control. X on my system is configured to use 
virtual console #4. However when I attempt to sign on using another 
valid user ID, X rejects the attempt, and writes the following messages
in $HOME/.xsession-errors:
        X connection to :0.0 broken (explicit kill or server shutdown)
        Xlib: connection to ":0.0" refused by server
        Xlib: Client is not authorized to connect to server
        Error: Can't open display: :0

In short, the MIT-MAGIC-COOKIE-1 access control only allows in 'root'. Can more 
that 1 user sign on to the same display using MIT-MAGIC-COOKIE-1 access 
control if it has already been generated for root?? I've done some research, 
which seems to indicate that xdm does generate the unique magic cookie code, 
however after attempting to sign on as a non root user, the
$HOME/.Xauthority file 
has a zero size, which means that the unique code was not generated.

My xdm-config file has the following resource specifications:
        DisplayManager._0.authorize:    true
        DisplayManager*authorize:       false

My feeling is that more than 1 user should be allowed, especially if the
machine is
to be shared.

Can anyone supply some answers or advice?? I shall be most greatful


Oliver Wilson

owilson@sirn.org




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?199611260535.AAA02398>