First, thank you for any and all assistance. These communities are paramount for progressing. I am a noob to pi (and a beginner with linux) and have taken an interest. i purchased a pi 3b just to tinker, realized i really like the pi-hole project and found that i can buy a zero to permanently install and get back my 3b to once again, tinker.
i have pi-hole setup on the zero but i realize once i run it "headless" i won't be able troubleshoot any issues unless i can remote in. i found articles on this topic, but only one that showed me how to make the vnc server start on computer startup, which is needed. it uses tightvnc and located here: http://www.penguintutor.com/linux/tightvnc . everything worked fine (i was able to connect from an iPad using vncviewer) until i got to "securing tightvnc" and i want to do this. i added the -localhost to the tightvncserver.service file. i restarted the pi. now i can't login as normal, no problem. but the next line isn't clear to me- "To login using ssh - first login to the host computer using ssh.
ssh pi@192.168.1.6 -L 5901:localhost:5901" i am supposed to run this line from the client i guess? i tried to download an app to do this from the iPad, that didn't seem reliable so i am trying from my mac. after i change the ip to my pi ip, that returns "ssh: connect to host (my pi ip) port 22: connection refused" . also when i try further down the article, the windows putty method, that returns connection refused as well. so i guess its a network issue. i look at net stat -pln on the pi, unlike before i added localhost to the service file, it is now listening to port 5901 coming from 127.0.0.1 instead of 0.0.0.0. so i guess im missing the method here of getting the pi to think im connecting as localhost...something like that. i also don't quite understand why the mac error has port 22 in there, i figured id be using port 5901, maybe thats a problem. can anyone shine some light? maybe there is something small im missing? maybe im way off base and there is a much easier way to auto start a vnc server that is using ssh? thank you so much for any help, sorry for the book
