How to start Mathematica on RPi using VNC?

I found and followed
http://whatapalaver.co.uk/2013/12/controlling-raspberry-pi-from-ipad
to control my Raspberry Pi from my iPad.

Using my iPad, I installed and started tightvncserver using SSH. Then I connected with VNC Viewer. I started Mathematica. All was well. I was running Mathematica from my iPad and I was happily turning LEDs on and off from my iPad.

Then I “did” something and now I can’t start Mathematica with VNC any more.
What I “did” was follow instructions found above for running tightvncserver at startup, and run VNC viewer on my Mac.

I created the file ~/.config/autostart/tightvnc.desktop containing

[Desktop Entry]
Type=Application
Name=TightVNC
Exec=vncserver: 1
StartupNotify=False

This has been edited so a space is between the : and 1. VNC then starts on the Pi at boot up.

This post was made because VNC didn’t start. I had misprint in tightvnc.desktop.

VNC Viewer on both iPad and Mac connect to Pi.

In my case, the IP address is 192.168.0.16. Port 1 works but I am using 5901.
A password is needed for tightvnc.

Sorry for confusion.

Problem solved!

In ~/.config/autostart/tightvnc.desktop,
Exec=vncserver:1
should have been
Exec=vncserver :1

VNC starts at boot up, and Mathematica runs just fine from iPad and Mac. I’m again happily turning LEDs on and off, now from both.

Apart from Wolfram Cloud app and Wolfram Cloud WWW, i also make good use of Raspberry Pi access through the VNC Viewer app (at home via WiFi connection, on the road via cloud connection). I am NOT sure how many of the readers here are even aware of this possibility. So when i am on the road and have problems with the Wolfram Cloud, i simply access the RPi (which sits powered 24/7 next to my WiFi router at home) and use the local Mma Raspbian installation. It’s a great and fun alternative.

This is definitely a dream come true, accessing a “full-fledged” local computer from the road and profiting from its application installations like Mathematica. Raspberry Pi - Mathematica - VNC Viewer app - beautiful combination.

Currently i am on Raspbian Stretch and after the normal update/upgrade routine the version is Mma v12.0.1. Looking forward to v12.2, it’s free on the RPi!

Nice, although personally, I have found using xrdp along with some RDP client on mac, iPad, iPhone, etc. a more fluid experience.