Bug 339498 - KDM changes hostname on system without user-specified /etc/hostname some time after logged in
Summary: KDM changes hostname on system without user-specified /etc/hostname some time...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdm
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR grave
Target Milestone: ---
Assignee: kdm bugs tracker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-29 06:52 UTC by Thomas King
Modified: 2018-04-16 20:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas King 2014-09-29 06:52:00 UTC
When I login on my laptop, without /etc/hostname, kdm will change the hostname it uses.
xauth list :0 output different hostname, from localhost/unix to localhost.localdomain/unix.
This causes all GUI library to "can not open display :0" some time after logged in.
I've fixed it on my system by create my own /etc/hostname, but this is an abnormal behavior of KDM.
It waste me several days to log out and log int to get out of this error.  Please fix it.

Reproducible: Always

Steps to Reproduce:
No /etc/hostname
Sometime after logged in

Actual Results:  
hostname changed before and after this issue
Comment 1 Nate Graham 2018-04-16 20:20:24 UTC
KDM is unmaintained and not used in KDE Plasma 5.

SDDM is the login manager used in KDE Plasma 5. If you still have this same issue with SDDM, please file an issue on the SDDM bugtracker (after doing a search for existing issues first!): https://github.com/sddm/sddm/issues/