After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 484651 - Changing hostname breaks X session
Changing hostname breaks X session
Status: RESOLVED INVALID
Product: gnome-system-tools
Classification: Deprecated
Component: network-admin
2.20.x
Other Linux
: Normal normal
: ---
Assigned To: Carlos Garnacho
Carlos Garnacho
Depends on:
Blocks:
 
 
Reported: 2007-10-08 09:50 UTC by Sebastien Bacher
Modified: 2007-10-08 16:51 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Sebastien Bacher 2007-10-08 09:50:17 UTC
The bug has been opened on https://bugs.launchpad.net/bugs/148571

"Binary package hint: gnome-system-tools

This is mentioned in #103960, but is not the primary focus of that bug.

Changing the hostname via the gnome network admin tool asks the user if they want to change the hostname immediately. If they do so, their X session will be fairly broken because their X cookie is now invalid.

It should probably prompt the user to reboot to change the hostname, or at the very least warn them that they should restart really very soon."
Comment 1 Carlos Garnacho 2007-10-08 11:34:39 UTC
Currently it displays the following:

"This will prevent you from launching new applications, and so you will have to log in again. Continue anyway?"

Is there any way it could be clearer about the consequences? I'm a bit reluctant to cutting/pasting code from gnome-session to be able to chat with gdm...
Comment 2 Sebastien Bacher 2007-10-08 16:51:04 UTC
I've tested and get the correct dialog and that works also for the user now, closing, I'll reopen if the submitter get it again and describes how he triggered the bug