summaryrefslogtreecommitdiffstats
path: root/vnc.py
diff options
context:
space:
mode:
Diffstat (limited to 'vnc.py')
-rw-r--r--vnc.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/vnc.py b/vnc.py
index 1fdd8c680..0f2f41648 100644
--- a/vnc.py
+++ b/vnc.py
@@ -28,6 +28,9 @@ log = logging.getLogger("anaconda")
# return -1 to use text mode, None for no vncpass, or vncpass otherwise
def askVncWindow():
+ if not os.path.isfile('/usr/bin/Xvnc'):
+ return -1
+
if network.hasActiveNetDev() == False:
return -1