d-borowski Posted June 24, 2007 Report Share Posted June 24, 2007 I installed delft to HD along with a few other distros (and it is my favourite one currently), updating to kernel -14. but one thing happens SOMETIMES that's intriguing me: sometimes when i logout or reboot or shutdown, it hangs on a black screen with only the mouse cursor working and doesn't go anywhere. as an average linux user i haven't been able to figure out the cause for this. this has never happened to MCN virtualcity, which i also installed. Quote Link to comment Share on other sites More sharing options...
chris:b Posted June 24, 2007 Report Share Posted June 24, 2007 I saw this once when 3D desktop was enabled. Do you use the default Delft KDE version? Any special applets in the systray? You could try in KDE Control center: KDE components --> Session manager -> check: Start with an empty session. Logout and login again. But I am not sure what the cause of the problem is. Quote Link to comment Share on other sites More sharing options...
d-borowski Posted June 24, 2007 Author Report Share Posted June 24, 2007 thanks for your answer, chris! 3d desktop is not enabled. my video is onboard (sis, mobo asrock); yes: default KDE, only cosmetic changes and lots of software added; in systray: net applet, kmix, kwikdisk, knotes and firestarter; "start with an empty session" is already checked; any clue? daltro borowski Quote Link to comment Share on other sites More sharing options...
chris:b Posted June 25, 2007 Report Share Posted June 25, 2007 When the hanging happens again. CTRL & ALT & F4, login as root and run the command: top (with CTRL & c you can stop top) Which processes are running. Firestarter? kwikdisk? Maybe something else? You can halt the pc by typing: halt Quote Link to comment Share on other sites More sharing options...
chris:b Posted June 25, 2007 Report Share Posted June 25, 2007 (edited) Try this. Start kwrite in SU mode (run command: kdesu kwrite). Open the file: /etc/kde/kdm/kdmrc Search for the line: #TerminateServer=true (it is in the section: [X-:*-Core]) Edit the line so it reads: TerminateServer=true Save the file. Edited June 25, 2007 by chris:b Quote Link to comment Share on other sites More sharing options...
d-borowski Posted June 25, 2007 Author Report Share Posted June 25, 2007 Search for the line: #TerminateServer=true hi, chris, there isn't a line like that in my kdmrc... i have to add it, right? Quote Link to comment Share on other sites More sharing options...
chris:b Posted June 25, 2007 Report Share Posted June 25, 2007 (edited) there isn't a line like that in my kdmrc... i have to add it, right? Oops, sorry. I did not check in the original Delft. Yes, just add it. Be sure to add it in the section: [X-:*-Core] I am at work atm and can't look at it. On MCNLive VirtualCity I had it enabled, I can remember. Maybe check there the kdmrc file. Edited June 25, 2007 by chris:b Quote Link to comment Share on other sites More sharing options...
d-borowski Posted June 25, 2007 Author Report Share Posted June 25, 2007 On MCNLive VirtualCity I had it enabled, I can remember. Maybe check there the kdmrc file. yeah, i checked my VirtualCity install kdmrc and there is the liine. thanks a lot! Quote Link to comment Share on other sites More sharing options...
d-borowski Posted June 28, 2007 Author Report Share Posted June 28, 2007 Hi, again, it is still happening: sometimes it still hangs on reboot, and "Ctrl+Alt+F4" doesn't work. just the black screen with only the mouse cursor working... weird, isn't it? Quote Link to comment Share on other sites More sharing options...
chris:b Posted June 28, 2007 Report Share Posted June 28, 2007 (edited) Yes, pretty weird. And annoying because the system is not cleanly unmounted. Looks like the xserver can't be stopped. You could try, the next days, to shutdown the PC not using the menu, but via a terminal command: su halt Edited June 28, 2007 by chris:b Quote Link to comment Share on other sites More sharing options...
d-borowski Posted August 6, 2007 Author Report Share Posted August 6, 2007 hey, chris, how are things! i've been using a toronto installation now, and that same annoying logout problem persists. but i think i found what application is not finishing properly and preventing the x-server to terminate: the villain seems to be wine. Quote Link to comment Share on other sites More sharing options...
chris:b Posted August 6, 2007 Report Share Posted August 6, 2007 Fine here, thanks. How do you start a windows program with wine? And how do you close it? ... I don't know anything about wine stuff ... :unsure: Quote Link to comment Share on other sites More sharing options...
d-borowski Posted August 6, 2007 Author Report Share Posted August 6, 2007 i can just click the .exe file to start wine, but because use wine to run just two dictionaries i need, i created menu entries whose command is wine "location of the .exe file" . to finish it, i always use the windows program gui itself. i went to http://www.winehq.org/ in order to maybe find something about it, and it does seem that killing wine processes is a pain in the arse, indeed... they suggest a few commands: pgrep wine|while read p; do kill -9 $p ; done; or wineserver -k or killall -9 wine-preloader i haven't tried those yet. if they work, would there be a way to put a script somewhere to automate that? Quote Link to comment Share on other sites More sharing options...
d-borowski Posted August 8, 2007 Author Report Share Posted August 8, 2007 ...and i've just found OpenOffice also causes a logout/reboot/shutdown hang. Quote Link to comment Share on other sites More sharing options...
unruh Posted August 18, 2007 Report Share Posted August 18, 2007 Yes, pretty weird. And annoying because the system is not cleanly unmounted. Looks like the xserver can't be stopped. Not clear what you mean by "not cleanly unmounted" The system itself is not on any disk. If you have other partitions from real disks mounted you could just unmount them all. and then just switch off the machine. There is nothing that can be harmed is there? Eg, on the default for i in /mnt/* do umount $i done should do it. Then just switch off. Quote Link to comment Share on other sites More sharing options...
Recommended Posts