Author: jdsn Date: Mon Jan 26 17:46:02 2009 New Revision: 55049 URL: http://svn.opensuse.org/viewcvs/yast?rev=55049&view=rev Log: no X server start via display manager without a graphics device (bnc#466352) 2.17.11 Modified: branches/SuSE-Code-11-Branch/x11/VERSION branches/SuSE-Code-11-Branch/x11/package/yast2-x11.changes branches/SuSE-Code-11-Branch/x11/src/proposal/x11_proposal.ycp Modified: branches/SuSE-Code-11-Branch/x11/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/x11/VERSION?rev=55049&r1=55048&r2=55049&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/x11/VERSION (original) +++ branches/SuSE-Code-11-Branch/x11/VERSION Mon Jan 26 17:46:02 2009 @@ -1 +1 @@ -2.17.10 +2.17.11 Modified: branches/SuSE-Code-11-Branch/x11/package/yast2-x11.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/x11/package/yast2-x11.changes?rev=55049&r1=55048&r2=55049&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/x11/package/yast2-x11.changes (original) +++ branches/SuSE-Code-11-Branch/x11/package/yast2-x11.changes Mon Jan 26 17:46:02 2009 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Mon Jan 26 17:22:15 CET 2009 - jdsn@suse.de + +- no X server start via display manager without a graphics + device (bnc#466352) +- 2.17.11 + +------------------------------------------------------------------- Wed Nov 26 16:55:29 CET 2008 - jdsn@suse.de - autoyast X11 cloning on Itanium disabled in update (bnc#449147) Modified: branches/SuSE-Code-11-Branch/x11/src/proposal/x11_proposal.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/x11/src/proposal/x11_proposal.ycp?rev=55049&r1=55048&r2=55049&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/x11/src/proposal/x11_proposal.ycp (original) +++ branches/SuSE-Code-11-Branch/x11/src/proposal/x11_proposal.ycp Mon Jan 26 17:46:02 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