Re: networkmanager causes gnome to not be able to open any programs



On Wed, 2008-10-29 at 10:38 -0400, Izzy Condie wrote:
> > I have been having this problem for a while now and it has seemed 
> > random. All of a sudden I can't open any more programs, nothing
> > happens. If I try to open a program in a console I get something like:
> > 
> > gedit
> > No protocol specified
> > Cannot open display:
> > Run 'gedit --help' to see a full list of available command line
> > options.
> > 
> > I check the display variable and it looks fine. I finally narrowed it 
> > down to something with networkmanager. I will be fine until I switch 
> > networks in networkmanager. If networkmanager always stays on the
> > same network I am fine, but if I dare change networks I am then
> > forced to kill X and re-log back in to be able to open anything new.
> > 
> > What is causing this? Has anyone else experienced it?
> 
> I found that the HOSTNAME variable was being reset to
> localhost.localdomain.com after networkmanager started up on my
> distro.  I don't know where networkmanager was getting its information

What is the contents of /etc/NetworkManager/nm-system-settings.conf?

It could well be that you either have an older snapshot, or your distro
hasn't configured it's system settings config correctly.

Dan

> from on my distro so I simply added a HOSTNAME=$YOURHOSTNAME to my
> dhcpcd configuration file.  On my distro its in /etc/conf.d/dhcpcd
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]