You are not logged in.

#1 2010-11-17 10:07:44

meijin
Member
From: Israel
Registered: 2009-03-05
Posts: 95

[SOLVED]When connected to Wifi - programs cant open display!

since today, whenever I am connected to WiFi (didn't try with ethernet), programs won't open any more, like this:

$ gedit
No protocol specified

(gedit:19767): Gtk-WARNING **: cannot open display: :0.0

or

$ firefox
No protocol specified
No protocol specified
Error: cannot open display: :0.0

for the connection I'm using testing/networkmanager 0.8.2-2, and I think it's becouse it's changing /etc/hosts when it's connecting, but it's changing it incorrect:
before its like in the "Begginers' guide":

127.0.0.1   localhost.localdomain   localhost laptop #hostname = laptop

after connecting:

92.168.0.48    laptop.WiFi    laptop    # Added by NetworkManager
127.0.0.1   localhost.localdomain   localhost laptop

after disconnecting:

127.0.0.1    laptop    localhost.localdomain    localhost
::1    laptop    localhost6.localdomain6    localhost6

BTW, when it's disconncted - everything works fine. if something is already open when I'm connecting - it's works fine.

thanks!
Assaf

Last edited by meijin (2010-11-17 10:18:47)

Offline

#2 2010-11-17 10:11:12

schuay
Package Maintainer (PM)
From: Austria
Registered: 2008-08-19
Posts: 564

Re: [SOLVED]When connected to Wifi - programs cant open display!

Offline

#3 2010-11-17 10:18:25

meijin
Member
From: Israel
Registered: 2009-03-05
Posts: 95

Re: [SOLVED]When connected to Wifi - programs cant open display!

Thanks!!!

Assaf

Offline

Board footer

Powered by FluxBB