Sun Oct 20, 2013 10:27 am
limbei wrote:Hi,
Does anyone knows how to share Desktop Screen via VNC?
I have a python program written with GUI output.
This program has been set to run immediately after the Pi is powered up.
I wish to be able to view the GUI output remotely via VNC.
I am currently using vnctightserver.
However, vnctightserver only allows remote control and not screen sharing.
Example, whatever I have done on the client will not be reflected on the host and vice-versa.
The process can only be verified through the terminal using 'ps -A'
I read about vino-server. Its not supported anymore.
Any help is appreciated. Thanks.
Whilst, unlike "tightvnc" (which open a new "desktop session), the "x11vnc" server will forward the Pi's (current?) physical (X) display to a remote computer (which has X support) I suspect that that will not solve your "problem". This is because I think the connection to the remote computer has to be established
before forwarding the display and
then running your python GUI. (ie. I'm not sure that all of those things can be done as a "boot-time process" - but I could be wrong). To run an (X-based) GUI app. does not necessarily require a VNC server,
just X-forwarding which can be provided via a ssh connection (assuming the client already has a local X-server running - easy if it's also a Linux box). I often use PuTTY to ssh in to my Pi's with X-forwarding enabled from my Ubuntu netbook and that's sufficient (FWIW, some brief notes are here:
http://www.cpmspectrepi.webspace.virgin ... aspPi.html.) but this is always done after the Pi has booted up.
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm