Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
Index: rc.4
===================================================================
--- rc.4	(revision 384)
+++ rc.4	(revision 385)
@@ -18,6 +18,22 @@
   exec /bin/bash /etc/rc.d/rc.4.local
 fi
 
+# Try to use lightdm session manager:
+if [ -x /usr/bin/lightdm ]; then
+  #
+  # Disable to create /.cache directory by root:
+  #
+  mkdir -p /var/lib/lightdm/.cache
+  chown -R lightdm:lightdm /var/lib/lightdm
+
+  PATH="/usr/bin:/bin"
+  HOME=/var/lib/lightdm
+
+  export PATH HOME
+
+  exec /usr/bin/lightdm
+fi
+
 # Try to use GNOME's gdm session manager. This comes first because if gdm is on the
 # machine then the user probably installed it and wants to use it by default:
 if [ -x /usr/bin/gdm ]; then