Hello everyone:
For several day now, I want to install a vnc-server in the ur-robots.
I have a file named “urmagic_vnc_server_install.sh”:
#!/bin/sh
basepath=$(cd dirname $0; pwd)
echo “! USB !” | DISPLAY=:0 aosd_cat -R red -x 230 -y -210 -n “Arial Black 80”
/usr/bin/dpkg --install $basepath/VNC-Server.deb >> /dev/null
echo “<- USB” | DISPLAY=:0 aosd_cat -x 200 -y -210 -n "Arial Black 80"
exit 0;
But when I insert th U-disk in th robot, the line "/usr/bin/dpkg --install $basepath/VNC-Server.deb" works error.
And when I use the ssh to run "sh urmagic_vnc_server_install.sh",the line works fine.
Who can help me ?
Thank you!