VNC client to server - command line


Results 1 to 2 of 2

Thread: VNC client to server - command line

  1. #1
    Join Date
    May 2017
    Posts
    1

    VNC client to server - command line

    Hey guys,

    Would anyone know how you can connect to a VNC server from the command line? I have almost everything set but I cannot seem to be able to pass the password argument. Here is my setup:

    1- Server is on a Windows machine with the password set in it
    2- I can connect to it if using the GUI without issues
    3- I created an autostart file that launch the app when booted. That part is working np
    4- I want to automatically connect to the server without any window prompting for a password which is where i'm stuck right now

    I used the command vncpasswd to create the password file but I get an error "bad obfuscated password length" when using the command "vncviewer 192.168.xxx.xxx -passwd ~/.vnc/passwd"


    What am I doing wrong?



    Thanks guys

  2. #2
    Join Date
    Feb 2014
    Location
    Riviera Beach, Maryland, USA
    Posts
    106
    Archive.RealVNC.com > VNC® documentation > Known Issues (Bugs)
    Date: 3 June 2008

    ID: 1153

    Program (Platform): VNC Address Book (Windows)

    Description: Attempting to connect to using a entry with an encrypted password fails with 'Bad obfuscated password length'.

    Workaround: Remove the password from the entry.

    Status: Fixed in 4.4.2.
    ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •