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:
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.