Bug 131656 - X-windows apps will not start after hostname change
Summary: X-windows apps will not start after hostname change
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11
Version: 2
Hardware: athlon
OS: Linux
medium
medium
Target Milestone: ---
Assignee: X/OpenGL Maintenance List
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-09-02 21:21 UTC by Tim Brown
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-03-06 23:24:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tim Brown 2004-09-02 21:21:04 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.2)
Gecko/20040308

Description of problem:
New install of FC2 - unable to start any x-windows apps after setting
hostname.  Also receive an error in xorg.o.log 
Error in log:
X: client 17 rejected from local host

If use hostname to set name back to localhost.localdomain applications
start working again.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Boot to GUI (RL5)
2.Open terminal and su - to root
3.run "hostname usa"


Actual Results:  Try to start any xbased app and pointer goes to HG
and nothing happens

Expected Results:  X-app should have started

Additional info:

Comment 1 Mike A. Harris 2005-03-06 23:24:48 UTC
X authentication embeds the hostname into the .Xauthority file,
so you can not change the hostname out from under the running
X server by design (or flaw of design if you prefer).  You need
to restart the server or use xauth or xhost.




Note You need to log in before you can comment on or make changes to this bug.