summaryrefslogtreecommitdiffstats
path: root/plugins/xserver.py
diff options
context:
space:
mode:
authorJoel Andres Granados <jgranado@redhat.com>2008-03-18 18:16:25 +0100
committerJoel Andres Granados <jgranado@redhat.com>2008-03-18 18:16:25 +0100
commit39b38e895acea0c7d679ed5417d0b55462c601a3 (patch)
treeaad24ce9c0cff20e60b2c781b639b4c7c707f329 /plugins/xserver.py
parent37213f2e0d8d30fc1467472723a81bb5febf32c1 (diff)
downloadfirstaidkit-39b38e895acea0c7d679ed5417d0b55462c601a3.tar.gz
firstaidkit-39b38e895acea0c7d679ed5417d0b55462c601a3.tar.xz
firstaidkit-39b38e895acea0c7d679ed5417d0b55462c601a3.zip
The temp file was a bad idea
Diffstat (limited to 'plugins/xserver.py')
-rw-r--r--plugins/xserver.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/xserver.py b/plugins/xserver.py
index b06fa2e..8b63113 100644
--- a/plugins/xserver.py
+++ b/plugins/xserver.py
@@ -41,8 +41,6 @@ class Xserver(Plugin):
Plugin.__init__(self, *args, **kwargs)
# Arbitrary test display
self.display = ":10"
- # For when we need a temporary log.
- (self.tmpLogfd, self.tmpLogPath) = tempfile.mkstemp()
self.confPath = "/etc/X11/xorg.conf"
def prepare(self):
@@ -109,7 +107,7 @@ class Xserver(Plugin):
def serverStart(self):
self._reporting.info("Trying to start X server", level = PLUGIN, origin = self)
- xorgargs = ["-logfile", self.tmpLogPath, self.display]
+ xorgargs = [self.display]
try:
proc = spawnvch(executable = "/usr/bin/Xorg", args = xorgargs, chroot = Config.system.root)
self._reporting.info("Waiting for the X server to start...", level = PLUGIN, origin = self)