SF.net SVN: morphix: [2153] trunk/scripts-main/init/init.d/X11-startx

[email protected]
Newsgroups gmane.linux.morphix.cvs
Message-ID <[email protected]>
Revision: 2153
Author:   bmsleight
Date:     2006-03-21 14:14:41 -0800 (Tue, 21 Mar 2006)
ViewCVS:  http://svn.sourceforge.net/morphix/?rev=2153&view=rev

Log Message:
-----------
possible fix for DISPLAY, enabling launching of X windows applications from command-line on start-up (2)

Modified Paths:
--------------
    trunk/scripts-main/init/init.d/X11-startx
Modified: trunk/scripts-main/init/init.d/X11-startx
===================================================================
--- trunk/scripts-main/init/init.d/X11-startx	2006-03-21 21:47:29 UTC (rev 2152)
+++ trunk/scripts-main/init/init.d/X11-startx	2006-03-21 22:14:41 UTC (rev 2153)
@@ -7,6 +7,7 @@
 echo "starting x11"
 
 export DISPLAY=:0.0
+su -c "export DISPLAY=:0.0" - $USER
 
 if [ -n "$WINDOWMANAGER" ]; then
     su -c "exec /usr/bin/X11/startx" - $USER


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.