summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2003-05-19 18:38:01 +0000
committerMike Fulbright <msf@redhat.com>2003-05-19 18:38:01 +0000
commit169ae4a7669e17d6fe5a897e72e01c0e68fbe2fc (patch)
tree9654ba88ff1343c3f963b803a2a376f297b35207 /anaconda
parent670a6b2f729638a6c771c0e1c7f2440d97f9268c (diff)
downloadanaconda-169ae4a7669e17d6fe5a897e72e01c0e68fbe2fc.tar.gz
anaconda-169ae4a7669e17d6fe5a897e72e01c0e68fbe2fc.tar.xz
anaconda-169ae4a7669e17d6fe5a897e72e01c0e68fbe2fc.zip
fix for 91095 - vncpasswd has a prompt for making a view only password that wasnt there before.
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda9
1 files changed, 7 insertions, 2 deletions
diff --git a/anaconda b/anaconda
index 0d9f686d8..258c0d187 100755
--- a/anaconda
+++ b/anaconda
@@ -154,7 +154,12 @@ def startVNCServer(vncpassword=None, root='/'):
# write password again
os.write(fd, passwd + "\n")
-
+
+ # write out a 'n\n' to answer question about creating a view only pw
+ os.read(fd, 1000)
+ os.read(fd, 1000)
+ os.write(fd, "n\n")
+
# read remaining output
os.read(fd, 1000)
@@ -247,7 +252,7 @@ def doStartupX11Actions():
except:
sys.stderr.write("X SERVER STARTED, THEN FAILED");
raise RuntimeError, "X server failed to start"
-
+
def doShutdownX11Actions():
global miniwm_pid