Skip to content

Instantly share code, notes, and snippets.

@martcram
Created November 30, 2021 21:51
Show Gist options
  • Save martcram/fea4deca6f3e22b2512afdd93758d953 to your computer and use it in GitHub Desktop.
Save martcram/fea4deca6f3e22b2512afdd93758d953 to your computer and use it in GitHub Desktop.
Start x11vnc server at boot on UR controller
  1. Execute x11vnc -storepasswd YOURPASSWORD /etc/x11vnc.pass to store your password.
  2. Edit the xsession file, which can be found in the UR robot controller at ../root/xsession.
  3. Add /usr/bin/x11vnc -xkb -noxrecord -noxfixes -noxdamage -display :0 -rfbauth /etc/x11vnc.pass -rfbport 5900 -forever -auth root -bg -o /var/log/x11vnc.log at the beginning of this file (after the #!/bin/bash line). This will start a x11 VNC server with all the necessary options to make it run in the background.

More information at: https://dof.robotiq.com/discussion/553/remote-control-of-universal-robots-user-interface

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment