You are not logged in.
Pages: 1
Hi,
On my notebook i have a strange issue: When running on lan, everything is fine. As soon as i unplug the cable and get connected to wifi i get a strange behaviour when starting applications that require display access (gui applications). They are then failing with
No protocol specified
Unable to init server: Could not connect: Connection refused
Failed to parse options: Cannot open display:
If i replugg the cable or disconnect from wifi all applications start up nicely again.
Hope this is an easy fix.
Offline
What are you using to manage your networking?
If it's connman then read this...
https://wiki.archlinux.org/index.php/Co … e_hostname
There may be a similar option for other network managers.
Offline
If it is the lack of a valid hostname why not just set one? Installation_guide#Hostname / Network_configuration#Set_the_hostname
Offline
It was indeed the lack of a static hostname, which is kind of weird because the dhcp should issue a hostname update on ethernet and wifi?
thanks for the right direction
Offline
It was indeed the lack of a static hostname, which is kind of weird because the dhcp should issue a hostname update on ethernet and wifi?
Before the hostname is changed Xorg starts and by default uses hostname based authentication allowing access for the hostname localhost as it is unset.
DHCP changes the hostname. Xorg rejects new connections to the server from a now different hostname.
Offline
Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
Offline
Pages: 1