[PC-BSD Commits] r19547 - pcbsd-projects/PCDM

svn at pcbsd.org svn at pcbsd.org
Thu Sep 27 05:53:55 PDT 2012


Author: kenmoore
Date: 2012-09-27 12:53:54 +0000 (Thu, 27 Sep 2012)
New Revision: 19547

Modified:
   pcbsd-projects/PCDM/pcdm-backend.cpp
Log:
Start up the .xprofile in parallel when starting up a DE in PCDM



Modified: pcbsd-projects/PCDM/pcdm-backend.cpp
===================================================================
--- pcbsd-projects/PCDM/pcdm-backend.cpp	2012-09-27 09:21:24 UTC (rev 19546)
+++ pcbsd-projects/PCDM/pcdm-backend.cpp	2012-09-27 12:53:54 UTC (rev 19547)
@@ -116,7 +116,7 @@
   QString cmd = "su "+saveUsername+" -c \""; //switch user command to start process properly
   // Setup to run the user's <home-dir>/.xprofile startup script
   if(QFile::exists(homeDir+"/.xprofile")){
-    cmd.append("/bin/sh "+homeDir+"/.xprofile; ");
+    cmd.append("(/bin/sh "+homeDir+"/.xprofile) &; ");  //make sure to start it in parallel
   }
   //Add the DE startup command to the end
   cmd.append(saveX);



More information about the Commits mailing list