[SCM] live-config-staging branch, debian, updated. c81a9696b29828cf07f8372cfedcf25be1640522

Richard Nelson unixabg at gmail.com
Sat Feb 26 15:01:56 UTC 2011


The following commit has been merged in the debian branch:
commit c81a9696b29828cf07f8372cfedcf25be1640522
Author: Richard Nelson <unixabg at gmail.com>
Date:   Sat Feb 26 08:56:45 2011 -0600

    Ensure gdm3 works with live-config.vmware-player call.

diff --git a/scripts/config/900-vmware-player b/scripts/config/900-vmware-player
index 2a086b8..ab1e33f 100755
--- a/scripts/config/900-vmware-player
+++ b/scripts/config/900-vmware-player
@@ -87,21 +87,19 @@ Configure_vmware_player ()
 	#ln -s ${IMAGEPATH} ${IMAGEPATH}/${VMXNAME}
 	#ln -s ${IMAGEPATH} /vmware/${VMXNAME}
 
-	echo "Setting the session type with .dmrc for gdm3." >> /var/log/live-vmware-player.log
+	echo "Setting the session type with /var/cache/gdm/dmrc for gdm3." >> /var/log/live-vmware-player.log
 
-cat > /home/${LIVE_USERNAME}/.dmrc << EOF
+cat > /var/cache/gdm/${LIVE_USERNAME}/dmrc << EOF
 [Desktop]
 Session=vmware
 EOF
 
-	echo "Setting permissions on session type." >> /var/log/live-vmware-player.log
-	chown -R ${LIVE_USERNAME}:${LIVE_USERNAME} /home/${LIVE_USERNAME}/.dmrc
-
 	echo "Setting the PostSession Default for the gdm3 to shutdown when we end the VMPlayer stops." >> /var/log/live-vmware-player.log
 
 cat > /etc/gdm3/PostSession/Default << EOF
 #!/bin/sh
 rm -f /home/${LIVE_USERNAME}/.dmrc
+rm -f /var/cache/gdm/${LIVE_USERNAME}/dmrc
 /sbin/halt
 EOF
 

-- 
live-config-staging



More information about the debian-live-changes mailing list