![]() Registered Member ![]()
|
They do not work when I have this issue. Relogging works around it. In the terminal, which I managed to open before programs stopped launching, it seems that display is not being reset:
What scripts should I check, as this issue only appears on the first login via KDM I make and relogging via KDM resolves it. :/ |
![]() Administrator ![]()
|
That is extremely unusual.
Can you please check that the files ~/.X* are owned by your user and primary group?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
I have been doing more troubleshooting with some help from the Gentoo forums, where I asked for advice on the scripts. Here is .xsession-errors from a first login, where things fail:
Here is .xessions-errors from a relogin, where things work:
In the login where things did not work, I was able to load firefox and konsole before KDE would stop launching applications. Between those points in time, there is a single line:
It is not present in the .xsession-errors log for the session that I obtained after relogging, so I suspect it is the culprit, but I have no idea how to proceed based on that assumption. I cannot find out both how it is being launched and how its launch differs on my system from a system where KDE just works. |
![]() Registered Member ![]()
|
I just upgraded to KDE 4.4.0 and this problem still remains. :/
|
![]() Administrator ![]()
|
It appears that your computers hostname is being changed either by DHCP, or is being set after KDM is started.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
It is being changed by DHCP from localhost to new-host-3. My router has a tendency to assign hostnames to my Linux machines; I have always hated that. Is there any way to stop that from happening? |
![]() Registered Member ![]()
|
Okay, I have confirmed that the hostname change is indeed the cause of the problem. When logging into Gentoo, I immediately open konsole and see a command prompt with richard@localhost. Then soon after opening it, I cannot open windows. Opening a new tab in the console shows richard@new-host-3. Su-ing into root and doing /bin/hostname localhost allows me to start launching programs again. I will ask over at the Gentoo forums for help regarding this. Thankyou for all of your assistance. |
![]() Registered Member ![]()
|
I changed my system's hostname in /etc/config.d/hostname from "localhost" to something else and it resolved this issue. I am super happy as this has been annoying the heck out of me since I installed Linux on my laptop a month ago.
![]() |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]