Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 577150 - Changing hostname causes X11 clients to lose access to display
Summary: Changing hostname causes X11 clients to lose access to display
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-12 14:28 UTC by Mike Gilbert
Modified: 2019-06-20 22:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gilbert gentoo-dev 2016-03-12 14:28:28 UTC
Changing the hostname while X is running causes any entries in ~/.Xauthority to be rendered invalid. This will cause X clients to lose access to the display.

This seems to be a common/known issue throughout the internet, but I wanted to open a bug to see if anyone has an idea for how to make this work better.

% xauth list
naomi/unix:0  MIT-MAGIC-COOKIE-1  3abfa887b6a166c2d35530217bed7f86
% sudo hostname naomi2
% glxgears
No protocol specified
Error: couldn't open display :0
% sudo hostname naomi 
% glxgears           
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
Comment 1 Piotr Karbowski (RETIRED) gentoo-dev 2019-06-20 22:00:40 UTC
As we spoke on IRC, closing this one.