Tags: patch That patch fixes the issue with slim. Now slim works when starting on boot, when started post-boot and when restarted due to X session logout. The quilt patch used is attached.
Cheers, Mike. Note if you try to stop or restart slim it doesn't work but this is a non-kfreebsd specific bug. Its been reported in "slim - cannot normally stop daemon" <http://bugs.debian.org/501828>.
Patch fixes issue on kfreebsd where slim only displays a black screen.
Index: slim-1.3.1/app.cpp
===================================================================
--- slim-1.3.1.orig/app.cpp 2010-08-12 18:59:10.000000000 +0100
+++ slim-1.3.1/app.cpp 2010-08-12 18:59:19.000000000 +0100
@@ -850,7 +850,7 @@
int App::StartServer() {
- ServerPID = vfork();
+ ServerPID = fork();
static const int MAX_XSERVER_ARGS = 256;
static char* server[MAX_XSERVER_ARGS+2] = { NULL };
signature.asc
Description: OpenPGP digital signature

