I have been running some containers and applications on some ports in mac for local development and they were working fine (Atleast in catalina and Big sur). To be more specific I was using port 7000 for running an application for local development. It seems like since some patched update of Monterey, Control centre is running Airplay on ports 5000 and 7000.
I don't use Airplay and I am fine to disable it. However after digging through internet, I haven't been able to achieve it.
One option that was recommended somewhere was to strip the permissions of AirPlayUIAgent using root access.
sudo chmod 000 /System/Library/CoreServices/AirPlayUIAgent.app/Contents/MacOS/AirPlayUIAgent
However I am not allowed to do it and I am met with an "operation not permitted"
Is there a way to disable airplay at all in Monterey? It used to be just a toggle in display preferences. Good old days.
Related
I had Docker Desktop installed for Mac Catalina last year, but I haven't used it until today, a day after updating to Monterey (from Big Sur) (I'm on a Mac Intel) when I downloaded the latest Docker Desktop dmg file (~500MB), which had me drag the icon to the folder, which I then chose to replace the existing .app file... but when opening the file (in /Applications), I get this new pop-up:
I've tried to search what this is actually going to do, and I can't tell; I use Cisco AnyConnect VPN sometimes for a project, and I'm afraid there'll be a conflict... but ultimately, I don't know what exactly I'm giving access to or if it's actually necessary. I just want to try Docker with Laravel Sail.
I know macOS over the last several years (since Catalina really) has changed filesystem stuff a lot and I end up going down StackOverflow rabbit holes trying to get things to work, so I'm hoping someone else knows how this works or has made it work and can advise.
Centos 8 ships with Wayland as its compositor and I was forced to install centos8 due to some GLIBCXX compatability issue. Everything SEEMS to work ok but there is a curious absence of all xapps and I cant get a remote X11 session going. It seems I am in Wayland hell.
Centos 8 ships with the shiny new Wayland with rumored X11 compatibility, but all I find is articles on rumors of xwayland and a host of badly named products whose names all begin with 'W' for cute.
I cant seem to install any x11, xapps or anything that would force xwayland to install as a dependency. Its amazing how easily a decision is taken to burn thousands of hours on tens of thousands of users globally.
My best google-fu has yielded nothing.
Please help. How can I get x11 (xwayland) up and running so that I can run apps from my Windows desktop as I used to with Centos 7...?
I've already encountered this "problem" and the solution I usually apply is to disable WayLand.
To do this, just edit this file with any editor (I use VI)
/etc/gdm/custom.conf
and change the line
#WaylandEnable=false
into
WaylandEnable=false
Save and close the file and restart gdm service with
systemctl restart gdm.service
When I try connecting to the app store, itunes, etc. it returns an error that says "Unexpected error occured". That's it, nothing else.
I have a virtual machine running Mac OS High Sierra. I am using Oracle VM VirtualBox Manager. I have given my mac environment a "serial number" using VBoxManage setextradata “MacOS High Sierra” VBoxInternal/Devices/efi/0/Config/DmiSystemSerial "number" When I go to Apple>About this Mac it lists the correct serial number I assigned it too. Before hand, it would just list the serial number as 0.
My question is, how do I connect my mac environment to my apple id for app store, itunes, etc?
I changed the DNS to apples DNS
system prefs>network>advanced
Click + on the DNS entries and add 8.8.4.4
Make sure the ethernet remains green. save. Then reconnect to the appleID. It will still take a little longer to log in but it works.
Resetting the Keychain did the trick for me.
Keychain Access -> Preferences -> Reset default keychains
Then it takes a minute to log in, but does so eventually.
It took me ages, but I finally got my VM with MacOS working. I suggest really to use VMWare. I was stubborn and tried to use Virtualbox but I got no luck at all.
With VMWare I got it fully functional.
I used this code first answer and no errors!
ICLOUD_UNSUPPORTED_DEVICE when installing macOS Big Sur in VMware
Here is a link to use clover on VMware
https://github.com/toshmatik/VMWare-iMessage/blob/master/instructions.md
I have spent the better part of a day trying to connect to PAServer on MAC OSX from my Windows PC with no luck. I am not sure what I am missing.
I am using Delphi 10.2 Tokyo on Windows. Trying to connect to PAServer 19.0 on a Mac Mini running macOS Sierra (10.12.4) on which I already have XCode (v8.3.2) installed along with Command Line Tools.
Both the dev machine as well as the Mac Mini are connected to the same Wifi network. I even tried connecting both machines to a different network but with the same issue.
I get the same error message every time that the connection failed. I suspect that it has something to do with the network - where the 2 machines cannot see each other, but I don't know how I can confirm this or resolve it. I have tried to search on SO as well as online but have not found anything that has helped.
Has anyone seen this issue and overcome it? Is there a set of steps I can go thru to troubleshoot this? Any help or guidance would be most appreciated!
OK - I kept trying out different things and was able to solve this issue (one way to solve it I guess).
Because it seemed like it was network related, I tried first to create a hotspot with my phone and connected the dev machine and the Mac Mini to it. The PAServer connection worked.
So I looked for a way to do this via Windows. Here are the steps I followed:
Open Settings > Network & Internet (on Windows 10)
Go into Mobile Hotspot and select Wi-Fi in the Share my
Connection From dropdown
Set a Network name and Network password
Turn on Share my Internet connection with other devices
Now on the Mac, connect to the network name we set up in step 3 and enter the password that was set. Then start PAServer on the Mac. That's it!
Now when you connect from Delphi to PAServer, the connection succeeds.
Note: Interestingly, when I was not using the mobile hotspot method on Windows, the IP address on PAServer (and on Windows) was 10.xx.xx.xx. With the mobile hotspot, the IP address is 192.xx.xx.xx.
I just configured (today) a new macos sierra with paserver. yes it's painfull :(
don't use virtualbox (it's buggy and slow), but use instead VMware, it's work like a charm. it's much more easy to have only one computer to develop than 2. also you can copy/past the log or anythink else from macosx to windows (or vice-versa) in just one click. and you will not have any internet problem or anything else ...
running cygwin on windows I can connect and execute X applications with no further problems
just accessing the remote linux box as ssh -Y -l user machine.
If I do the same against a mac box and try to open ie. firefox as: open -a firefox
returns the following:
LSOpenURLsWithRole() failed for the application /Applications/Firefox.app with error -10810.
Any hints?
I've alternatively used a vnc server in the mac computer, but it's extremely slow.
Thanks,
/Applications/Firefox.app is not an X app it uses Apple's own GUI routines to write to the screen.
To work via cygwin you would need to compile up an X11 version of Firefox - one easy way is look at macports for X11 applications.
However I suspect you want to use Apple applications - all those in /Applications and then VNC is about the only way,
I agree with Mark.
The only other solution that might work is using AppleScript to script the target applications. As far as I know, it doesn't require a GUI session. I know I've used it over SSH before, but I can't remember if I've been logged in or not. Worst case scenario, you just log in via VNC and then close your VNC client.
What are you trying to run? Hopefully not just Firefox -- it'd be much easier to just use it on Linux than try to use it over VNC to a Mac. Either can be frustratingly slow over a distance, in my experience, however.