You are not logged in.

#1 2013-07-06 14:14:06

rado3105
Member
Registered: 2011-10-09
Posts: 103

After connecting to network, cant run gtk apps: Gtk-WARNING **: cannot

I cant run any application, this shows me in terminal when I want to start some application:

chromium
No protocol specified

(chromium:1542): Gtk-WARNING **: cannot open display: :0.0 

When I put this in terminal:

 xhost +local:root
No protocol specified
xhost:  unable to open display ":0.0" 

here is some solution, but doesnt work for me:
http://rajivpandit.wordpress.com/2013/0 … -6-4-rhel/

Last edited by rado3105 (2013-07-06 14:15:17)

Offline

#2 2013-07-06 14:28:35

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: After connecting to network, cant run gtk apps: Gtk-WARNING **: cannot

A bit of a long shot, but what do you have in /etc/hostname?  If that file doesn't exist, then it's not so much of a long shot ... create it.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2013-07-06 14:40:24

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

Re: After connecting to network, cant run gtk apps: Gtk-WARNING **: cannot

Another wild guess: https://bbs.archlinux.org/viewtopic.php … 7#p1250667 - make sure you're not out of space.

Offline

#4 2013-07-06 15:10:53

rado3105
Member
Registered: 2011-10-09
Posts: 103

Re: After connecting to network, cant run gtk apps: Gtk-WARNING **: cannot

Trilby wrote:

A bit of a long shot, but what do you have in /etc/hostname?  If that file doesn't exist, then it's not so much of a long shot ... create it.

Thanks a lot, this was the case.

Offline

#5 2013-07-06 15:38:59

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

Re: After connecting to network, cant run gtk apps: Gtk-WARNING **: cannot

Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309 (you need to shorten the title a bit).

Offline

#6 2013-08-25 22:10:55

knowNothing23
Member
Registered: 2013-08-25
Posts: 33

Re: After connecting to network, cant run gtk apps: Gtk-WARNING **: cannot

I have the same problem, but adding a hostname file in etc doesn't fix anything.

Changing my host name fixed it for me. Instructions here: https://bbs.archlinux.org/viewtopic.php?id=153070

Last edited by knowNothing23 (2013-08-25 22:24:01)

Offline

#7 2013-08-25 22:22:31

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

Re: After connecting to network, cant run gtk apps: Gtk-WARNING **: cannot

Is your system up to date?
Are the error messages exactly the same? Are you trying to start an Xserver app from tty?

Offline

Board footer

Powered by FluxBB