You are not logged in.

#1 2013-11-27 20:43:02

Chocobo
Member
Registered: 2006-09-26
Posts: 26

[SOLVED] X apps fail to launch after starting network

Hi All,

I hope this is the right place to post this.

Last night I installed Arch on my laptop.  Everything is working quite well except that when I start networking (either wireless or wired) using either netctl or NetworkManager X apps fail to launch with the error:

[swinchen@localhost ~]$ chromium                                                                                                                                                               
No protocol specified                                                                                                                                                                           
                                                                                                                                                                                               
(chromium:1245): Gtk-WARNING **: cannot open display: :0                                                                                                                                       
[swinchen@localhost ~]$ dolphin
No protocol specified
dolphin: cannot connect to X server :0

Has anyone seen anything like this before?  It was working last night at home... for some reason (either because I plugged into the dock, or the network) I am having this problem at work.

Any help with ideas, troubleshooting, etc. would be appreciated.

Sam

Last edited by Chocobo (2013-11-27 21:14:40)

Offline

#2 2013-11-27 20:45:47

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] X apps fail to launch after starting network

Offline

#3 2013-11-27 20:55:34

Chocobo
Member
Registered: 2006-09-26
Posts: 26

Re: [SOLVED] X apps fail to launch after starting network

Thanks, that worked.  Just had to set hostname.

Wow, I never would have guessed that.

Offline

#4 2013-11-27 21:07:27

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] X apps fail to launch after starting network

Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309

Offline

Board footer

Powered by FluxBB