Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
having problems opening programs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Eddi3x3
Guru
Guru


Joined: 25 May 2011
Posts: 328

PostPosted: Wed Jun 29, 2011 4:11 pm    Post subject: having problems opening programs Reply with quote

when I try to open programs from command line or the icon this shows up
Code:

firefox
No protocol specified
No protocol specified
Error: cannot open display: :0

I cannot execute any of my programs and I've seen forums thinking that this is all related to wpa_supplicant changing the hostname on dchcp or something like that here is the forum
[url]
https://bbs.archlinux.org/viewtopic.php?pid=684936[/url]
but this seems to be a solution for arch so I'm not sure if the same would apply to gentoo
Back to top
View user's profile Send private message
Eddi3x3
Guru
Guru


Joined: 25 May 2011
Posts: 328

PostPosted: Wed Jun 29, 2011 5:09 pm    Post subject: Reply with quote

can anybody help me
Back to top
View user's profile Send private message
jcTux
Apprentice
Apprentice


Joined: 29 Dec 2009
Posts: 276
Location: Tours, France

PostPosted: Wed Jun 29, 2011 5:11 pm    Post subject: Reply with quote

Is that problem occurs on a fresh install system or after an upgrade ?
Back to top
View user's profile Send private message
Eddi3x3
Guru
Guru


Joined: 25 May 2011
Posts: 328

PostPosted: Wed Jun 29, 2011 5:21 pm    Post subject: Reply with quote

This happened after I installed gentoo, this is why I put this topic on this index unless u can give me a better place to post this topic I'd be thankful for letting me know
Back to top
View user's profile Send private message
jcTux
Apprentice
Apprentice


Joined: 29 Dec 2009
Posts: 276
Location: Tours, France

PostPosted: Wed Jun 29, 2011 5:33 pm    Post subject: Reply with quote

Eddi3x3 wrote:
This happened after I installed gentoo, this is why I put this topic on this index unless u can give me a better place to post this topic I'd be thankful for letting me know

My apologies Eddi3x3. I had not paid attention to the index.
Maybe it would be interesting if you say what desktop environment you are using, do you use a desktop manger or just startx.
emerge --info would be important too.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10590
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Jun 29, 2011 5:33 pm    Post subject: Reply with quote

Eddi3x3, is this a new symptom? Were you ever able to open firefox in your newly installed Gentoo?

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Eddi3x3
Guru
Guru


Joined: 25 May 2011
Posts: 328

PostPosted: Wed Jun 29, 2011 5:49 pm    Post subject: Reply with quote

yes I've opened firefox but after 3 reboots it stopped working and that forum made me believe that wpa_supplicant might be to blame unless u have an idea what it could be; I'm using kde desktop
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10590
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Jun 29, 2011 5:57 pm    Post subject: Reply with quote

But you can log in to KDE just fine, right? Can you open anything else? For instance, try opening the "System Settings" app. Can you open a terminal?

Besides rebooting, you installed wpa_supplicant, right? Did you get it working? Did you install anything else?

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Eddi3x3
Guru
Guru


Joined: 25 May 2011
Posts: 328

PostPosted: Wed Jun 29, 2011 6:01 pm    Post subject: Reply with quote

sometimes when i boot up, everythig works fine but most of the time i cannot launch any applications i have installed; I can open applications no problem BEFORE wpa_supplicant gets a stable conneection to wi fi and the forum talked about how wpa_supplicant changes a host name when it uses dchcp
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10590
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Jun 29, 2011 7:40 pm    Post subject: Reply with quote

Is your network up? Could you open a terminal, change to root (using su), and post the output of the following, please:
Code:
ifconfig
hostname
ping -c3 google.com
- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Eddi3x3
Guru
Guru


Joined: 25 May 2011
Posts: 328

PostPosted: Wed Jul 13, 2011 3:42 pm    Post subject: Reply with quote

sorry I was out for so long, when I typed in this command
Code:

hostname

this shows up
wpc-10-105-12-3
and that's not my hostname
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10590
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Jul 13, 2011 4:06 pm    Post subject: Reply with quote

And the others? :wink:

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Eddi3x3
Guru
Guru


Joined: 25 May 2011
Posts: 328

PostPosted: Wed Jul 13, 2011 4:19 pm    Post subject: Reply with quote

I have internet access, that is clear, pings work but when WPA_supplicant connects to a network it CHANGES the hostname for some odd reason on my computer so when I try to open a program is shows up as though it doesn't exist on my comp and the above shows up; where can I set a static hostname (if that can happen)
Back to top
View user's profile Send private message
Eddi3x3
Guru
Guru


Joined: 25 May 2011
Posts: 328

PostPosted: Wed Jul 13, 2011 4:26 pm    Post subject: Reply with quote

wow I used the man hostname page and I figured out something
if I type
Code:

hostname (hostnameIuse)

and everything works! I can open programs no problem but how do I make that perminent?
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10590
Location: Somewhere over Atlanta, Georgia

PostPosted: Sat Jul 16, 2011 5:19 pm    Post subject: Reply with quote

Can you post the contents of "/etc/conf.d/hostname", please? Also, what version of baselayout do you have installed? You can run
Code:
equery list -i baselayout
to find out.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum