Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r55052 - in /trunk/x11: package/yast2-x11.changes src/proposal/x11_proposal.ycp
  • From: jdsn@xxxxxxxxxxxxxxxx
  • Date: Mon, 26 Jan 2009 16:59:26 -0000
  • Message-id: <E1LRUo2-0003Jz-CP@xxxxxxxxxxxxxxxx>
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@xxxxxxx
+
+- no X server start via display manager without a graphics
+ device (bnc#466352)
+
+-------------------------------------------------------------------
Wed Nov 26 16:55:29 CET 2008 - jdsn@xxxxxxx

- 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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages