View previous topic :: View next topic |
Author |
Message |
cuchumino Guru
Joined: 24 Nov 2004 Posts: 428
|
Posted: Fri Sep 12, 2008 12:04 am Post subject: problems sometimes opening windows in gnome |
|
|
Hey guys and gals.
I have wiped my laptop and reinstalled gentoo on it. Hadn't taken it out of the house (wired connection only, and tested wireless with the router at home, worked well), but I noticed something.
When i was at my university, When i started gnome, and connected to the campus wireless, the first boot into gnome, before it actually was hooked on the campus wireless, i could not open firefox, or epiphany. I did not try it with anything else, although i did reboot X.
Any known fixes, or work arounds? i did read something in the Gentoo "HOWTO networkmanager", and it is correctly changed. that is....
/etc/dhcp/dhclient.conf
Code: |
send host-name "YOUR_HOSTNAME";
supersede host-name "YOUR_HOSTNAME";
|
I added my hostname with quotation marks. Tks for the advice/help beforehand. |
|
Back to top |
|
|
cuchumino Guru
Joined: 24 Nov 2004 Posts: 428
|
Posted: Fri Sep 12, 2008 5:12 pm Post subject: |
|
|
as an update, I did get the windows to start up by putting my hostname in WITHOUT quotes.
The sad thing was, that as soon as I got a wireless connection, i could not get any windows to open, forcing me to restart X (gnome).
An suggestions? |
|
Back to top |
|
|
cuchumino Guru
Joined: 24 Nov 2004 Posts: 428
|
Posted: Mon Sep 15, 2008 6:53 pm Post subject: |
|
|
still stuck on this. I have to reboot X every time i hook on a wireless network. :S |
|
Back to top |
|
|
cuchumino Guru
Joined: 24 Nov 2004 Posts: 428
|
Posted: Wed Sep 17, 2008 2:01 pm Post subject: |
|
|
still getting these errors.... this is what console spits out when i try to run a program on gnome, after hooking to a wireless network, after being networkless.
Code: |
cuchumino@localhost ~ $ firefox
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Error: cannot open display: :0.0
cuchumino@localhost ~ $ epiphany
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
cannot open display:
Run 'epiphany --help' to see a full list of available command line options.
cuchumino@localhost ~ $ matlab
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Warning: Unable to open display ':0.0'. You will not be able to display
graphics on the screen.
|
after rebooting X, everything works fine. |
|
Back to top |
|
|
mundi n00b
Joined: 27 Jun 2003 Posts: 60
|
Posted: Wed Oct 15, 2008 3:05 pm Post subject: Re: problems sometimes opening windows in gnome |
|
|
cuchumino wrote: | Hey guys and gals.
Any known fixes, or work arounds? i did read something in the Gentoo "HOWTO networkmanager", and it is correctly changed. that is....
/etc/dhcp/dhclient.conf
Code: |
send host-name "YOUR_HOSTNAME";
supersede host-name "YOUR_HOSTNAME";
|
I added my hostname with quotation marks. Tks for the advice/help beforehand. |
I had the same problem because the hostname in /etc/conf.d/hostname did not match the settings in /etc/dhtcp/dhclient.conf.
Everytime i started gnome and after Networkmanager connected to the net i could not start any applications.
Changing the entries in /etc/dhcp/dhclient.conf solved the problem for me.
I noticed that the hostname changed because after i stopped X with /etc/init.d/xdm stop and after restart the gdm logon screen showed the wrong hostname.
Might there be something else that changes your hostname?
What does the command hostname tell you before and after connecting the Network ?
I found the wrong hostname in /etc/dhcp/dhclient.conf by doing:
Code: |
cd /etc
grep -R <wrong hostname> *
|
[/quote] |
|
Back to top |
|
|
|