This can actually be closed.  For 9.10 passwords are stored in the
user's directory and created using this code snippet:

    def create_password(self,password):
        home = os.environ['HOME']
        if not os.path.exists(home + "/.vnc"):
            os.mkdir(home + "/.vnc")
        elif os.path.exists(home + "/.vnc/passwd"):
            print "Copying ~/.vnc/passwd to ~/.vnc/passwd.old"
            shutil.copy(home + "/.vnc/passwd",home + "/.vnc/passwd.old")
        #Create password using pexpect
        command_handler = pexpect.spawn('vncpasswd ' + home + '/.vnc/passwd')
        command_handler.expect('Password:',timeout=-1)
        command_handler.sendline(password)
        command_handler.expect('Verify:',timeout=-1)
        command_handler.sendline(password)
        command_handler.expect(pexpect.EOF,timeout=-1)
        command_handler.close()


** Changed in: ubiquity (Ubuntu)
       Status: New => Fix Released

** Changed in: mythbuntu
       Status: New => Fix Released

** Visibility changed to: Public

-- 
ubiquity crashed with OSError in create_password()
https://bugs.launchpad.net/bugs/381780
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to