You are not logged in.

#1 2016-10-28 05:34:03

sdfanm
Member
Registered: 2016-08-21
Posts: 11

Program crashes with NetworkManager

I've installed Network manager applet and when it works for a while  i can't start new programs and get the message

 No protocol specified
[1207:1207:1008/201815:ERROR:browser_main_loop.cc(261)] Gtk: cannot open display: :0 

I've searched a bit and found to check networkmanager.conf

 File Edit Options Buffers Tools Conf Help                                               
[main]
plugins=keyfile
dns=default

[keyfile]
hostname = localhost.localdomain

## HTTP-based connectivity check                                                        
#[connectivity]                                                                         
#uri=http://nmcheck.gnome.org/check_network_status.txt                                  
#interval=100                       

what else can I do?

Offline

#2 2016-10-28 05:37:56

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Program crashes with NetworkManager

Paste the output of

hostnamectl

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-10-28 07:58:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,181

Re: Program crashes with NetworkManager

Probably no need to. I bet /etc/hostname is empty or says "localhost", NM alters that and X11 clients loose connection to the host (because it changed it's address)
=> write something reasonable into /etc/hostname, eg. "sdfanmsbox" or similar.

sudo hostnamectl set-hostname sdfanmsbox

Offline

#4 2016-10-28 18:21:58

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Program crashes with NetworkManager

seth, perhaps you could let OP answer, rather than spoonfeeding?

I would still like to see the output.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2016-11-01 16:44:42

sdfanm
Member
Registered: 2016-08-21
Posts: 11

Re: Program crashes with NetworkManager

hostnamectl output

Static hostname: n/a
Transient hostname: localhost
         Icon name: computer-laptop
           Chassis: laptop
        Machine ID: 8f7426676568452cbf2446b1ed6a754e
           Boot ID: 186978d4409d40d49f006a6e35e86a5b
  Operating System: Arch Linux
            Kernel: Linux 4.7.2-1-ARCH
      Architecture: x86-64

Offline

Board footer

Powered by FluxBB