Scratch does not start over VNC - Raspberry Pi Forums


i have headless pi setup vncserver running on pi, , tightvnc viewer on windows laptop.
working perfectly, except scratch. vnc viewer, when click on scratch icon, nothing happens. if try run terminal (using sudo scratch) following error:
pi@rpib ~ $ sudo scratch
executing: /usr/bin/squeak-stack -memory 128m -vm-sound-alsa /usr/share/scratch/nuscratch140115.image
client not authorized connect servercould not open display `(null)'.

vnc started using --> vncserver :1 -geometry 1600x900 -depth 24

other programs mathematica, wolfram, etc work flawlessly on vnc.
also, when connect monitor , keyboard pi , run scratch directly, works fine.
suggestions ??

hello,

can't verify this. in environment, have installed tightvncserver, , start (pi no monitor attached, logged in pi through telnet session) "vncserver" r command have given.
then, tightvnc-viewer windows pc, connect machine, can start scratch , edit scripts. presentation mode ok.
use latest raspbian download.

let me ask why choose setup ? run scratch 1.4 on windows/linux (from mit.scratch.edu) , code developed run on pi, when downloaded. when working raspberry hardware, can run scratchclient on pi , connect machine scratch running (for scratchclient, command line switch '-host <ipaddress>'. 1 of advantages of remote sensor protocol.

regards,
gerhard


raspberrypi



Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support