SF.net SVN: morphix: [2152] trunk/scripts-main/init/init.d

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

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

Modified Paths:
--------------
    trunk/scripts-main/init/debian/changelog
    trunk/scripts-main/init/init.d/X11-startx
Modified: trunk/scripts-main/init/debian/changelog
===================================================================
--- trunk/scripts-main/init/debian/changelog	2006-03-21 20:20:18 UTC (rev 2151)
+++ trunk/scripts-main/init/debian/changelog	2006-03-21 21:47:29 UTC (rev 2152)
@@ -1,3 +1,9 @@
+morphix-init (0.4-11) unstable; urgency=low
+
+  * added possible fix for DISPLAY not found
+
+ -- bmsleight <[email protected]>  Tue, 21 Mar 2006 21:30:41 +0000
+
 morphix-init (0.4-10) unstable; urgency=low
 
   * added fix for libice

Modified: trunk/scripts-main/init/init.d/X11-startx
===================================================================
--- trunk/scripts-main/init/init.d/X11-startx	2006-03-21 20:20:18 UTC (rev 2151)
+++ trunk/scripts-main/init/init.d/X11-startx	2006-03-21 21:47:29 UTC (rev 2152)
@@ -6,6 +6,8 @@
 
 echo "starting x11"
 
+export DISPLAY=:0.0
+
 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.