aspauldingcode/.dotfiles

Configure iOS x11 and Xvnc using MDM and shell scripts

Closed this issue · 1 comments

Start x11 Xvnc server using start_x_server.sh on iOS.
Remotely ssh into iPhone first.
Then, you can login using Screen Sharing app on mac.
open -a Screen\ Sharing
actually,
open "vnc://${VNC_SERVER}:${VNC_PORT}"

If I use MDM to manage my macOS device, I can remotely enable Screen Sharing Service on macOS Sonoma.

The Screen Sharing service cannot be used with kickstart anymore (depricated).
See:
https://stackoverflow.com/questions/71072532/programatically-enable-screen-sharing-and-remote-login-on-macos-big-sur

Using MDM, allow remote connections with/to the mac.
Then, you can login to macOS using vnc.

I’ve got x11 running with shellscript: xvnc-iphone
Which passes a start_x_script.sh to the iphone and executes it, sets ssh and vnc and login with tigervnc.
it runs on macos and linux. Also works with window tiling.