View previous topic :: View next topic |
Author |
Message |
Eddi3x3 Guru
Joined: 25 May 2011 Posts: 328
|
Posted: Wed Jun 29, 2011 4:11 pm Post subject: having problems opening programs |
|
|
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 |
|
|
Eddi3x3 Guru
Joined: 25 May 2011 Posts: 328
|
Posted: Wed Jun 29, 2011 5:09 pm Post subject: |
|
|
can anybody help me |
|
Back to top |
|
|
jcTux Apprentice
Joined: 29 Dec 2009 Posts: 276 Location: Tours, France
|
Posted: Wed Jun 29, 2011 5:11 pm Post subject: |
|
|
Is that problem occurs on a fresh install system or after an upgrade ? |
|
Back to top |
|
|
Eddi3x3 Guru
Joined: 25 May 2011 Posts: 328
|
Posted: Wed Jun 29, 2011 5:21 pm Post subject: |
|
|
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 |
|
|
jcTux Apprentice
Joined: 29 Dec 2009 Posts: 276 Location: Tours, France
|
Posted: Wed Jun 29, 2011 5:33 pm Post subject: |
|
|
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 |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10590 Location: Somewhere over Atlanta, Georgia
|
Posted: Wed Jun 29, 2011 5:33 pm Post subject: |
|
|
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 |
|
|
Eddi3x3 Guru
Joined: 25 May 2011 Posts: 328
|
Posted: Wed Jun 29, 2011 5:49 pm Post subject: |
|
|
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 |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10590 Location: Somewhere over Atlanta, Georgia
|
Posted: Wed Jun 29, 2011 5:57 pm Post subject: |
|
|
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 |
|
|
Eddi3x3 Guru
Joined: 25 May 2011 Posts: 328
|
Posted: Wed Jun 29, 2011 6:01 pm Post subject: |
|
|
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 |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10590 Location: Somewhere over Atlanta, Georgia
|
Posted: Wed Jun 29, 2011 7:40 pm Post subject: |
|
|
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 |
|
|
Eddi3x3 Guru
Joined: 25 May 2011 Posts: 328
|
Posted: Wed Jul 13, 2011 3:42 pm Post subject: |
|
|
sorry I was out for so long, when I typed in this command
this shows up
wpc-10-105-12-3
and that's not my hostname |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10590 Location: Somewhere over Atlanta, Georgia
|
Posted: Wed Jul 13, 2011 4:06 pm Post subject: |
|
|
And the others?
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
Eddi3x3 Guru
Joined: 25 May 2011 Posts: 328
|
Posted: Wed Jul 13, 2011 4:19 pm Post subject: |
|
|
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 |
|
|
Eddi3x3 Guru
Joined: 25 May 2011 Posts: 328
|
Posted: Wed Jul 13, 2011 4:26 pm Post subject: |
|
|
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 |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10590 Location: Somewhere over Atlanta, Georgia
|
Posted: Sat Jul 16, 2011 5:19 pm Post subject: |
|
|
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 |
|
|
|