[Pkg-utopia-maintainers] Bug#650002: Bug#650002: network-manager-gnome: connection to WiFi leads to 'Gtk-WARNING **: cannot open display: :0.0'
blabla blabla
bliblabla at alice.de
Fri Nov 25 14:47:21 UTC 2011
Am 25.11.2011 15:20, schrieb Michael Biebl:
> [always CC the bug report]
> On 25.11.2011 15:05, blabla blabla wrote:
>> Am 25.11.2011 14:38, schrieb Michael Biebl:
>> > On 25.11.2011 14:17, tom wrote:
>
>> >>
>> >> (mousepad:3883): Gtk-WARNING **: cannot open display: :0.0'
>> >>
>> >
>> > What happened most likely, is that your hostname was changed.
>> > Could you verify that: what's the output of hostname before and after
>> > you connect to said Wifi network.
>>
>> correct, it changes from that in /etc/hostname to 'dhcppc0'.
>>
>> > Did the DHCP server send a hostname?
>>
>> how can I check that?
>
> You can run NetworkManager in debug mode [1]. But given it is set to
> dhcppc0, that's most likely what happened.
>
>> > Do you have the ifupdown plugin enabled in
>> > /etc/NetworkManager/NetworkManager.conf?
>>
>> [ifupdown]
>> managed=false
>>
>> setting it to true and restarting makes no difference.
>
> I meant:
> [main]
> plugins=ifupdown
It was
[main]
plugins=keyfile
I set it to
[main]
plugins=ifupdown,keyfile
This solved the problem of changing hostnames after restart. But with
the nice side effect that all windows were missing titles and buttons to
control them (the cross ... usually in the upper right corner). Deleting
~/.cache, ~/.dconf and ~/.gconf/system solved that (I deleted all at a
time, thus I don't know which one really did it).
regards,
Tom
>
>
> [1] https://live.gnome.org/NetworkManager/Debugging
More information about the Pkg-utopia-maintainers
mailing list