site  contact  subhomenews

Fix for "partial black screen"?

May 25, 2013 — BarryK
This is a problem that we have had for a very long time. At very first bootup, the tray is there, and applications can be launched, but the desktop icons and wallpaper are missing -- only a black screen.

The cause of this is ROX-Filer failing to start. ROX-Filer is not just a file manager, it also handles the desktop icons, including the drive icons, and the background wallpaper. So, ROX is almost a complete desktop environment on it's own, but we use JWM window manager to handle the tray-bar.

I have many times tried to understand why ROX fails to startup, and have implemented various attempts to fix it.

This morning I was getting some PCs out of the garage and setting them up. One of them gave this "partial black screen" problem, booting Precise 5.6.
So, this was an opportunity to rethink the problem.

I think that the cause of the crash is /sbin/pup_event_frontend_d attempting to "talk" to ROX before it is fully running. I have reasoned about this before, and put in a delay before pup_event_frontend_d "talks" to ROX -- which did work with some PCs.

Still, however, the problem sometimes does occur, as in my case today.
I have experimented with another fix, launching pup_event_frontend_d later from the /root/.xinitrd script.
I built a CD, booted up the PC that had exhibited the problem, got a normal desktop. Booted four more times (twice a warm reboot, twice a cold start), all pristine first-boots, consistently got the full desktop.

I am not saying that this is finally, definitely, fixed, but it is looking good.

Woof commit:


Get Rid of It

Re get rid of it
Username: BarryK
"Iguleder, Yeah, I know it needs to be rewritten, in C or BaCon (or other compiled language) and have various improvements, including work nicely with kmod and also the new libudev2 in systemd (extracting only the udev components). It is on my to-do list.

Tags: woof