--- anaconda | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/anaconda b/anaconda index fd62b45..94d6306 100755 --- a/anaconda +++ b/anaconda @@ -278,8 +278,7 @@ def expandFTPMethod(str): except: return None -def runVNC(): - global vncS +def runVNC(vncS): vncS.startServer() child = os.fork() @@ -625,7 +624,7 @@ def setupDisplay(anaconda, opts): # if they want us to use VNC do that now if anaconda.displayMode == 'g' and flags.usevnc: - runVNC() + runVNC(vncS) doStartupX11Actions() # with X running we can initialize the UI interface -- 1.7.3.3 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list