Comments (11)
You could try adding this to your user script:
/usr/libexec/PlistBuddy -c 'Add :com.apple.screensharing bool False' "${CHROOT}/private/var/db/com.apple.xpc.launchd/disabled.plist"
If you confirm that that still works in Mojave I could add an --enable-screen-sharing
option that did that for you.
from macinbox.
I'll try this :) I love scripted VMs :)))
from macinbox.
Ok I found it: https://support.apple.com/en-en/HT209161
But I have no idea how to translate this into a start script.
from macinbox.
Do you need ARD in particular or just VNC in general?
from macinbox.
Both would be cool.
I would prefere the Config as Json file, since this has 10+ buttons.
from macinbox.
Maybe
Maybe 2 short cuts
- --enable-vnc (do the most compatible thing with the same vagrant passwort)
- --vnc-rw-password (specify a rw password)
- --ard-config-file
- --vnc-config-file ? duno if this is neccesarray
from macinbox.
I can confirm this works.
from macinbox.
Well - there is a problem :(
I have no idea how to fix this. I fooled around for a view days.
'Add :com.apple.screensharing bool False'
This will enable the screen sharing. However I can only connect via closed source VNC tools, since no open source tool offers the apple authentication protocols.
I like to do some extra provisioning using vncdotool (https://github.com/sibson/vncdotool) - but this does not support the Apple protocols.
However using the --legacy option or a screen sharing password - that's no problem.
Do you know a user script way to do this?
from macinbox.
You could try running your own VNC server, for example https://github.com/TigerVNC/tigervnc.
I suspect that you’re going to have an easier time if you do this kind of setup in a vagrant provisioning step, after the box boots for the first time, rather than in a macinbox user script.
Or, you could try taking advantage of the VNC sever built into VMware/esxi: https://www.virtuallyghetto.com/2012/01/using-vnc-client-to-connect-to-vms-in.html
If you’re using VMware Fusion it’s even easier: I think you can enable the hypervisor VNC in the advanced settings UI for the VM.
from macinbox.
Well :( I have a solution.
This is so sick.
I connect to VMWare Fusion VNC - and run a Vncdotool in a Shell script & OCR via https://github.com/tesseract-ocr/tesseract
Apple decided to go with random Y values. The X are always the same...
After two days a macinbox Mac can create a macinbox mac...
"Security" the Apple way :(
Why didn't they chose to implement their own remote framebuffer protocol as Microsoft did?
VNC was unsecure at the first place. They notice the flaws after 10+ years - and now they do obfuscation - not fixing.
Thread can be closed?
from macinbox.
Wow, that sounds like a hassle! I'm glad you were able to find a solution.
I will close this issue now, but if someone else wants to make the case for needing a --enable-screen-sharing
, I'm open to hearing it!
from macinbox.
Related Issues (20)
- VMware Tools not installed properly in Catalina box HOT 10
- The link to the Catalina installer said that it didn't exist in the App Store. HOT 1
- Virtualbox 6.1.3 fails to boot Catalina 10.15.2 HOT 14
- 'invalid byte sequence in US-ASCII' HOT 5
- Box created with Parallels Desktop 15.1.2 fails to boot HOT 2
- ENOENT errors when creating files HOT 9
- Catalina 10.15.4 issue - machine fails to boot with startup error HOT 2
- Software installed with user-script isn't available after boot HOT 5
- /vagrant doesn't exist, read-only? HOT 7
- Allow to specify VRAM amount HOT 2
- Allow to set box version HOT 4
- the vm(format .pvm) created using macinbox boot more slowly than created using parallels HOT 2
- Any way to get sound working in VirtualBox VM? HOT 2
- virtualbox: Mojave box does not boot on 2020 Macbook HOT 6
- Name VHD/VDMK files based on name of box HOT 2
- Compatibility with Big Sur HOT 13
- Catalina installer download: Update not found
- Catalina: /usr/sbin/diskutil failed with non-zero exit code: 1 HOT 3
- Install Xcode HOT 1
- Shrinking the virtual disk
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from macinbox.