Author: jdsn Date: Mon Jan 26 17:59:26 2009 New Revision: 55052 URL: http://svn.opensuse.org/viewcvs/yast?rev=55052&view=rev Log: port bugfix from SLE11 to trunk: no X server start via display manager without a graphics device (bnc#466352) Modified: trunk/x11/package/yast2-x11.changes trunk/x11/src/proposal/x11_proposal.ycp Modified: trunk/x11/package/yast2-x11.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/x11/package/yast2-x11.changes?rev=55052&r1=55051&r2=55052&view=diff ============================================================================== --- trunk/x11/package/yast2-x11.changes (original) +++ trunk/x11/package/yast2-x11.changes Mon Jan 26 17:59:26 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon Jan 26 17:58:31 CET 2009 - jdsn@suse.de + +- no X server start via display manager without a graphics + device (bnc#466352) + +------------------------------------------------------------------- Wed Nov 26 16:55:29 CET 2008 - jdsn@suse.de - autoyast X11 cloning on Itanium disabled in update (bnc#449147) Modified: trunk/x11/src/proposal/x11_proposal.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/x11/src/proposal/x11_proposal.ycp?rev=55052&r1=55051&r2=55052&view=diff ============================================================================== --- trunk/x11/src/proposal/x11_proposal.ycp (original) +++ trunk/x11/src/proposal/x11_proposal.ycp Mon Jan 26 17:59:26 2009 @@ -63,6 +63,17 @@ { y2error("Neither a PCI device with ClassID 0300 nor a framebuffer device was found."); y2error("X11 configuration will not be performed now."); + + // prevent xserver starts (eg. via vnc) on machines without a graphics device (bnc#466352) + y2warning("No graphics device was found, thus setting DISPLAYMANAGER_STARTS_XSERVER to _no_ in /etc/sysconfig/displaymanager."); + if ( SCR::Write(.sysconfig.displaymanager.DISPLAYMANAGER_STARTS_XSERVER, "no") ) + { + y2milestone("Successfully set DISPLAYMANAGER_STARTS_XSERVER to _no_."); + } + else + { + y2error("Setting DISPLAYMANAGER_STARTS_XSERVER to _no_ failed. VNC logins to this machine may fail."); + } return $[]; } } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org