Bug 44829

Summary: Xnest authorization change?
Product: [Retired] Red Hat Linux Reporter: Havoc Pennington <hp>
Component: XFree86Assignee: Mike A. Harris <mharris>
Status: CLOSED WORKSFORME QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-07-16 06:57:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Havoc Pennington 2001-06-18 06:06:14 UTC
Just upgraded to 7.1 + errata, suddenly Xnest doesn't seem to work, it
rejects all client connections. 

It will print something like:
 AUDIT: Mon Jun 18 01:59:04 2001: 25726 Xnest: client 1 rejected from local

And clients can't connect.

Maybe this is just me being dumb instead of a bug, but it's at least a docs
bug, I have no clue how to enable connections to the Xnest ;-)
I've never had trouble in the past.

Comment 1 Havoc Pennington 2001-06-18 15:09:57 UTC
Owen points out that I can disable access controls with "Xnest -ac" or 
somehow get xauthority to work with "-auth". 

Neither is in the Xnest man page, and Xnest is useless unless you pass one of
these options as far as I can tell. So I think it should exit with the error
message "must pass -auth or -ac" if you don't pass one.

Clearly this is material for an upstream change not a RH patch...

Comment 2 Mike A. Harris 2001-06-19 00:59:27 UTC
Which 4.1.0 release is it causing the problem?

Comment 3 Havoc Pennington 2001-06-19 02:16:43 UTC
I seem to have 4.0.3-5.

Possibly the rationale for this behavior is that you could use Xnest to test how
authentication works...

Comment 4 Mike A. Harris 2001-06-19 05:18:40 UTC
I've tried various combinations of Xnest tonight having never used it before,
and it is c001.  ;o)  I tried 3 different 4.0.3 releases including -5, -16,
and -21.  They all work, so I think it is a local authentication issue.
Here is what I did:

1) Running stock 7.1 KDE, I open up a konsole
2) Xnest :2
3) xmorph -d :2

it works.  I tried other apps too, and it works.  I seem to recall 
someone else having a similar problem but not with Xnest.  Good chance
this is similar.  I think it is just config issue though I believe. What
are you using to run it?  GNOME/KDE?  What term program?

Comment 5 Havoc Pennington 2001-06-19 05:31:02 UTC
Interesting. So I assume the issue is gone in newer Xnest or something.

I'm using gnome-terminal, just tried xterm and it's the same. I can't imagine
how that would make any difference though.

Comment 6 Mike A. Harris 2001-06-19 05:39:01 UTC
I can't either, but I just wanted to be able to try and dupe what 
you're using.  Are you using only stock 7.1+updates?  Or + GNOME 1.4 also?

Comment 7 Havoc Pennington 2001-06-19 15:48:47 UTC
I had a mostly 7.0 system, ran the 7.1 installer, then ran up2date to get all

Comment 8 Mike A. Harris 2001-07-16 06:57:50 UTC
I don't have any problem using Xnest in stock 7.1 with 4.0.3-5, or with the
above mentioned releases, nor with 7.1 + XFree86-4.1.0-0.8.6 nor with
our latest internal CD snapshot of the next release.  I don't know what
the problem you're having but I have no trouble running it at all.
I do not have any special customized X configuration, just stock, no
.xinitrc, .anything that might mess with this.  Check your configs for
anything that might mess with the authentication mechanisms.
I am assuming you are running Xnest locally on the same box as the Xserver
resides.  Is this correct?

Comment 9 Havoc Pennington 2001-07-16 12:57:14 UTC
I can't even reproduce this now; I still have the same X version. Random
transient bogon.