Johannes Weiss wrote: > For me, the problem appeared first after an update to ubuntu 8.10 (from 8.04) > and then once more when > updating to xubuntu 8.10 (from 7.10). > > The problem was that the hostname has been set to > 'localhost.localdomain' while booting (NetworkManager did it, because it > could not determine a better one, because config was not ok) and then > changed to the real hostname (configured in /etc/hostname) when I > connected to a WLAN. Xorg doen't like hostname changes while running, > the consequence is: No more new xclients! (xauth denies it) > > That did the trick for me: > > - log out from xorg > - go to a console ([Ctrl]+[Alt]+[F1]) and login > - enter: > sudo killall NetworkManager > - enter: > sudo tee /etc/network/interfaces <<EOF > auto lo > iface lo inet loopback > EOF > - enter: > sudo tee /etc/NetworkManager/nm-system-settings.conf <<EOF > [main] > plugins=ifupdown,keyfile > > [ifupdown] > managed=false > EOF > - edit your /etc/hosts and change all entries starting with 127.0.*.1 > (replace YOURHOSTNAME with the hostname configured in /etc/hostname) to > 127.0.0.1 YOURHOSTNAME YOURHOSTNAME.local localhost localhost.localdomain > 127.0.1.1 YOURHOSTNAME YOURHOSTNAME.local localhost localhost.localdomain > - reboot (sudo reboot) > >
is nm-system-settings running? -- NetworkManager changes hostname to *.private https://bugs.launchpad.net/bugs/204824 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
