https://bugs.kde.org/show_bug.cgi?id=366668

--- Comment #12 from eemantsal <[email protected]> ---
I set the machine's name when I installed the OS, and, to be sincere, I had no
idea at all one could nor should use localhost -you mean «localhost» as the
computer's name, right?- in xauth's cookies and DISPLAY, amont other things
because I have no clue about how to set the name in xauth's cookies, nor in
DISPLAY. :/

Here is what you asked:
$ hostname -f
Juan-PC

$ host $(hostname -f)
bash: host: no se encontró la orden (command not found)

$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group
default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1
    link/sit 0.0.0.0 brd 0.0.0.0
3: wlp12s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group
default qlen 1000
    link/ether 0e:9b:57:62:68:cc brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.37/24 brd 192.168.1.255 scope global dynamic wlp12s0
       valid_lft 259197sec preferred_lft 259197sec
    inet6 fe80::c9b:57ff:fe62:68cc/64 scope link 
       valid_lft forever preferred_lft forever
4: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state
DOWN group default qlen 1000
    link/ether 00:1c:23:ae:83:50 brd ff:ff:ff:ff:ff:ff

$ ip route
default via 192.168.1.1 dev wlp12s0  proto static  metric 600 
127.0.0.0/8 dev lo  scope host 
192.168.1.0/24 dev wlp12s0  proto kernel  scope link  src 192.168.1.37  metric
600 

Recreating the connection does behave the same, yes.


I have stopped Networkmanager and connected with iwconfig from Konsole, and I
have seen the name doesn't change (I think I had never paid attention to this
detail). Seems that is NM the one that changes the PC name. Why iwconfig
doesn't need to change it but NM does. Do you think there's a justified motive
for it or is it a bug?
Anyway you still advice me to set my PC name as «localhost» in xauth's cookies
and DISPLAY? If yes, would you be so kind to tell me how or pointing me to some
page where it's explained?


Many thanks for your time, Larmarque.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to