How to Setup VNC

Manager
19 Apr 2022
Views 959

How to use VNC on a UR Robot


Step 1 (Hardware):

Below shows the setup this document is based on 

865a653b925ac.png

Picture 1 : Hardware Setup

Step 2 (Software):

Before Start, some software is needed:

Terminal : PuTTY (if you want to download click PuTTY)

FTP: WinSCP (if you want to download click WinSCP)


When you have downloaded and installed the above software on your PC, start WinSCP and Putty and connect them both to the robot – setup as below.
User=root
Password=easybot

2f1869d6d0b24.png

53389d05143d8.png


Step 3 (prepare for Update):

  • Use WinSCP to search on the robot for the following file: /etc/resolv.conf
  • Then right click and choose “edit”
  • Modify the file and type in the IP of the DNS-Server (see picture 4)
  • Click save and close the edit window

8284a98ae2fbb.png


  • Now search for the following file: /etc/apt/sources.list
  • Then right click and choose “edit”
  • Delete the whole text inside and copy the links below into the file (see picture 5)


(Q ROBOT UR Polyscope Compatibility 5.8 ~ 3.13 or later)



UR3.1 (USB-Stick):

deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free

deb-src http://ftp.us.debian.org/debian/ wheezy main contrib non-free

deb http://http.debian.net/debian wheezy-backports main

6c3020a1875ef.png

  • Save and close the file sources.list



Step 4 (Update the System and install VNC):


  • Go into the program putty and type apt-get update
  • ID : root
  • PASSWORD : easybot  (It is invisible to enter the password, but it is written down, so you can press the Enter key after typing it all in)

3a063dd223768.png

  • You will see, that the robot will download several files from the internet
  • When finished, type apt-get install x11vnc to install the VNC Server on the robot

2f52c2c6a9b34.png

  • Go back to WinSCP and search for the following file: /root/run_gui.sh
    This will make the VNC on the robot auto start when PolyScope starts up.
  • Then right click and choose “edit”
  • Insert the following line: /usr/bin/x11vnc -display :0 -loop -passwdfile /etc/x11vncpassword -nossl -logfile /var/log/x11vnc &

fdb899285616e.png


  • Save and close the file


  • Go back to putty and type in the three commands below


  • echo "easybot" > /etc/x11vncpassword
  • chmod 400 /etc/x11vncpassword
  • chown root:root /etc/x11vncpassword

1609a9ab8383b.png

  • Reboot the robot


  • After running Q ROBOT, click the connection icon and input IP and Password.


e362e8777c4df.png














Email: info@qnt.co.kr

Opened: Mon - Fri (GMT+9) 09:00 - 18:00

Sat/Sun - Closed for Public Holiday

QNT Co., Ltd 44428, #502, 362-11, Jongga-ro, Jung-gu, Ulsan, Korea

Copyright 2022–2026 QNT Co., Ltd. All rights reserved.


Email: info@qnt.co.kr   |   Phone: +82 52-700-9686     

Opened: Mon - Fri (GMT+9) 09:00 - 18:00

                Sat/Sun - Closed for Public Holiday

QNT Co., Ltd 44428, #502, 362-11, Jongga-ro, Jung-gu, Ulsan, Korea