VNC commands

From AG Born Wiki
Jump to navigation Jump to search
  • Finding your current VNC session numbers
    On the command line (which you can access with e.g. putty as described above) enter
     ps aux | grep vnc | grep YOURUSERNAME 
    The information of interest to you is the number in the first line after Xvnc :.
  • Killing a VNC session
     vncserver -kill :xx 
    with xx being your vnc session number which you can nd out as described in the previous section.
  • Resetting the VNC password
    If you want to change your VNC password type
     vncpasswd 
    on the command line and type in your new password twice.
    If you do not remember your old password kill your current vncserver session and delete the le .vnc/passwd in your home directory.