Package pyanaconda :: Module vnc :: Class VncServer
[hide private]
[frames] | no frames]

Class VncServer

source code

Instance Methods [hide private]
 
__init__(self, display="1", root="/", ip=None, name=None, desktop="Desktop", password="", vncconnecthost="", vncconnectport="", log_file="/tmp/vncserver.log", pw_file="/tmp/vncpassword", pw_init_file="/tmp/vncpassword.dat") source code
 
recoverVNCPassword(self)
Rescue the vncpassword from where loader left it
source code
 
setVNCPassword(self)
Set the vnc server password.
source code
 
initialize(self)
Here is were all the relative vars get initialized.
source code
 
openlogfile(self) source code
 
connectToView(self)
Attempt to connect to self.vncconnecthost
source code
 
VNCListen(self)
Put the server in listening mode.
source code
 
startServer(self) source code
 
changeVNCPasswdWindow(self)
Change the password to a sane parameter.
source code
Method Details [hide private]

recoverVNCPassword(self)

source code 

Rescue the vncpassword from where loader left it

We are not to check for validity yet, if there is a file pass it to the variable, if there is not, set the var to ''. We will check valididty later.

setVNCPassword(self)

source code 

Set the vnc server password. Output to file.

VNCListen(self)

source code 

Put the server in listening mode.

We dont really have to do anything for the server to listen :)

changeVNCPasswdWindow(self)

source code 

Change the password to a sane parameter.

We ask user to input a password that len(password) > 6 or password == ''. Have to find a way to put askVncWindow and this method together.