New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Allow" button in System Preferences does not work #1017

Open
pschremisl opened this Issue Oct 4, 2017 · 85 comments

Comments

Projects
None yet
@pschremisl

pschremisl commented Oct 4, 2017

hi@all,

following problem in Step 2 of the installation procedure:
-> I press the button "Open System Preferences > Security & Privacy"
-> the window "System Preferences" appears
-> I press the "Allow" button
-> nothing happens
-> the message on the left side of the button and the button itself stay there
-> even after hours and restarts and reinstallations

Any ideas? Many thanks!

System information:
-> macOS version: macOS 10.13
-> Karabiner version: Karabiner-Elements 11.0.0
-> Mac hardware: MacBook Pro

I tried to load the KEXT manually:
mymac:extensions admin$ sudo kextload org.pqrs.driver.Karabiner.VirtualHIDDevice.kext
/Library/Extensions/org.pqrs.driver.Karabiner.VirtualHIDDevice.kext failed to load - (libkern/kext) system policy prevents loading; check the system/kernel logs for errors or try kextutil(8).

I called KEXTUTIL:
mymac:extensions admin$ sudo kextutil org.pqrs.driver.Karabiner.VirtualHIDDevice.kext
Kext rejected due to system policy: <OSKext 0x7f841af110b0 [0x7fff933da5b0]> { URL = "file:///Library/StagedExtensions/Library/Extensions/org.pqrs.driver.Karabiner.VirtualHIDDevice.kext/", ID = "org.pqrs.driver.Karabiner.VirtualHIDDevice.v040800" }
Kext rejected due to system policy: <OSKext 0x7f841af110b0 [0x7fff933da5b0]> { URL = "file:///Library/StagedExtensions/Library/Extensions/org.pqrs.driver.Karabiner.VirtualHIDDevice.kext/", ID = "org.pqrs.driver.Karabiner.VirtualHIDDevice.v040800" }
Diagnostics for /Library/Extensions/org.pqrs.driver.Karabiner.VirtualHIDDevice.kext:

@tekezo

This comment has been minimized.

Owner

tekezo commented Oct 4, 2017

There is a report that you cannot allow kext if you are using Screen Sharing.
https://twitter.com/felix_schwarz/status/908690187219283970

@patkoscsaba

This comment has been minimized.

patkoscsaba commented Oct 9, 2017

I have the same issue. I am not using Screen Sharing, I am at the computer. Screen sharing is totally disabled. I tried to enable-disable Screen Sharing, doesn't seem to have any effect.
This is annoying like hell...

@patkoscsaba

This comment has been minimized.

patkoscsaba commented Oct 9, 2017

So, I figured this out!!! I use magic perf to intercept various touchpad actions. It seems like Apple is obsessed with security. If you have this problem try to disable any apps that my capture and forward clicks. The click must come from the touchpad directly. << pulling my hair out >>

@obriencj

This comment has been minimized.

obriencj commented Oct 10, 2017

Also happens if you have SteerMouse installed. You'll have to remove the SteerMouse preference pane and reboot in order to click the Allow button.

@shockey

This comment has been minimized.

shockey commented Oct 16, 2017

@patkoscsaba, thank you! I was having the same issue, and disabling MagicPrefs got it going.

@patkoscsaba

This comment has been minimized.

patkoscsaba commented Oct 17, 2017

@msaspence

This comment has been minimized.

msaspence commented Oct 31, 2017

Same issue here, but with Witch

@fcomeraz

This comment has been minimized.

fcomeraz commented Nov 13, 2017

I was clicking like crazy that button and nothing happened then I tried clicking with a wacom pen using my wacom tablet and it worked!!! :D (have to say I have MagicPrefs Installed but I didn't have to disable it, since I was able to click the allow button with the tablet)

@4faramita

This comment has been minimized.

4faramita commented Nov 14, 2017

Eudic does it, too. If it should help.

@joncpc

This comment has been minimized.

joncpc commented Nov 24, 2017

I am having the same problem (OS 10.13, Karabiner Elements 11.3) "allow" button not operating (it turns blue on clicking but white again off-click and nothing happens). I have screen sharing OFF and no trackpad modifying apps that I know of. I have tried restarting in "safe" mode with no other apps running.

The only thing that works is to disable SIP – and I have to leave it disabled because if I restart with it enabled the keyboard changes revert to default. This doesn't seem like a good solution: is there a safer alternative? I really need a one-hand [enter] key on my macBook Pro, preferably the right-hand [alt] key, where it used to be. I would happily pay for an app that does just this (and works).

@maczkus

This comment has been minimized.

maczkus commented Dec 19, 2017

Disabling MagicPrefs worked for me as well! Thanks!

@dansanduleac

This comment has been minimized.

dansanduleac commented Jan 13, 2018

Alternatively you can use the keyboard, if you have full keyboard access enabled:
image
Then just press tab several times until the "Allow" button is highlighted, then press space to activate it.

@woutervanwijk

This comment has been minimized.

woutervanwijk commented Jan 16, 2018

omg! This also happens with a (wacom) tablet. I had to use a normal mouse...

@wkoszek

This comment has been minimized.

wkoszek commented Jan 19, 2018

Thanks guys for posting that. It sucks. I have a remote OSX Jenkins box and I want VirtualBox there, and can't "Allow" Oracle extensions. I tried that:

http://hints.macworld.com/article.php?story=2008051406323031

WIth parameters:

./click -y 470 -x 600

When the Security&Privacy is at the top left corner. No luck.

@wkoszek

This comment has been minimized.

wkoszek commented Jan 19, 2018

This works for me for clicking "Allow" button via Screen Sharing:

https://gist.github.com/wkoszek/691f41c6ba2edfacc6903d163868b348

@tekezo

@wwvuillemot

This comment has been minimized.

wwvuillemot commented Feb 7, 2018

FWIW, I had a similar issue in 10.13.3. It took a few days to find a fix. Namely, Security asked me to "approve" Google for its Google File Stream Drive KEXT. In console, I could see that the keypress event was being rejected. It was ultimately due to the use of a third-party mouse from Logitech. I plugged in my Magic Mouse, click on the "approve" and things started to work as advertised.

@librucha

This comment has been minimized.

librucha commented Mar 2, 2018

Better touch tool make the same problems.

@hdiogenes

This comment has been minimized.

hdiogenes commented Mar 5, 2018

The same thing happens with xGestures – I had to stop it in order to allow Karabiner Elements to run from inside the Security preferences. After that I just started xGestures again. Thank you for the information!

@rogerschlachter

This comment has been minimized.

rogerschlachter commented Mar 30, 2018

closed slack and discord and intellij and was able to click it.... 😠

@sv3k

This comment has been minimized.

sv3k commented Mar 31, 2018

I have noting of previously mentioned running and still no luck...

@sv3k

This comment has been minimized.

sv3k commented Mar 31, 2018

Solved with following steps:

  1. Take a full desktop screenshot with System Preferences opened on it.
  2. Open it in Preview app and find the button coordinates from upper left corner of the screen.
  3. If you have Retina display, divide those coordinates by 2.
  4. Open Script Editor and use the coordinates you have in following script (I've put my coordinates):
tell application "System Events" to click at {880, 511}

UPDATE: As suggested by @Evanthx, instead of first 3 steps you can just press ⌘⇧4 (command+shift+4) to switch to the screenshot capturing mode where you can move the mouse cursor and see its coordinates which is much easier.

@szkrd

This comment has been minimized.

szkrd commented Jul 14, 2018

Use the tab to jump to the allow button, not your mouse, then press space.

Setting tab focus to "All controls" in "system prefs / keyboard / shortcuts" may be needed.

@gregpardo

This comment has been minimized.

gregpardo commented Jul 17, 2018

Okay so I was trying the keyboard method... Tab was not going far enough and would stop in the top portion of the pane. I found I could get it to cycle by exiting the security pane, going back in, selecting File Vault tab, and selecting the General tab again but pressing tab very fast within a window. Quite absurd but I eventually got it to land on the Allow button and pressed space.

@aredridel

This comment has been minimized.

aredridel commented Jul 18, 2018

Wow, thank you so much @sv3k

@hijewpositive

This comment has been minimized.

hijewpositive commented Jul 27, 2018

For me, it was Chrome causing the issue. Closing it allowed me to press the Allow button. Couldn't tell you why it was Chrome.

@dmitriyK1

This comment has been minimized.

dmitriyK1 commented Jul 27, 2018

I pressed Allow button, it disappeared, but Karabiner doesn't work and each time I restart it I see notification about approving in System preferences

@cameron-deoliviera

This comment has been minimized.

cameron-deoliviera commented Aug 7, 2018

Just a heads up, it wouldn't allow until I closed Chrome. Apple needs to get their services in order here.

@flynnduism

This comment has been minimized.

flynnduism commented Aug 7, 2018

screen shot 2018-08-07 at 11 47 53 am

Had the same issue with the Caffeine osx app. Disabling caffeine let me click allow.

@slyone420

This comment has been minimized.

slyone420 commented Aug 14, 2018

I spent forever on this. none of the things that other people had were relevant until someone said they found out chrome was the culprit. I can't say it was chrome but I closed all open apps except sys pref the app i was installing and thats it. chrome was open though

@warmitu

This comment has been minimized.

warmitu commented Aug 15, 2018

What worked for me is turning the Bluetooth function off (which in turn disconnected my Magic Mouse ).

@ankiit

This comment has been minimized.

ankiit commented Aug 16, 2018

I used mouse keys accessibility feature to avoid figuring out which app is causing issue.
https://support.apple.com/kb/PH18381?locale=en_US

@MaksymDolia

This comment has been minimized.

MaksymDolia commented Aug 18, 2018

Backup and Sync from Google app was causing the issue in my case.

@sfesfizh

This comment has been minimized.

sfesfizh commented Aug 28, 2018

Closing Chrome is working for me

@quanglam2807

This comment has been minimized.

quanglam2807 commented Aug 30, 2018

@sfesfizh Closing Chrome also worked for me.

@dashony

This comment has been minimized.

dashony commented Sep 2, 2018

disabling CrashPlan client from the top bar beside volume and bluetooth icons did it for me.

@escapist

This comment has been minimized.

escapist commented Sep 11, 2018

I found a solution. Some of the comments here mentioned that any app that might interrupt mouse clicks to add functionality can break the "Allow" button in System Preferences > Security > General. To avoid having to click I installed Shortcat, which gives keyboard access to any interactive element on the screen. I fired it up, moved my focus down to "Allow", and hit return and it worked fine.

@SeanHayes

This comment has been minimized.

SeanHayes commented Sep 12, 2018

After enabling full keyboard access and tabbing down, Return still wasn't working, but the space bar did.

@nelsonjchen

This comment has been minimized.

nelsonjchen commented Sep 12, 2018

If anybody is wondering how they can see the coordinates through Screen Sharing with Cmd Shift 4, well, you can't. There's no coordinates showing up.

Oh no! What can you do?

Well, forget targeting a wild window somewhere on the screen. Just move the System Preferences window to a known location like the top left corner since that's the origin (0,0). Make sure none of it is off-screen. Now you can run something very, very similar to this in Script editor because the Allow button location is known and the System Preferences Window and menu bar is a static size.

tell application "System Events" to click at {560, 473}
osascript -e 'tell application "System Events" to click at {560, 473}'
@HRLTY

This comment has been minimized.

HRLTY commented Sep 16, 2018

Alternatively you can use the keyboard, if you have full keyboard access enabled:
image
Then just press tab several times until the "Allow" button is highlighted, then press space to activate it.

OMG..this saves me.

@satblip

This comment has been minimized.

satblip commented Sep 20, 2018

This is really a non sense....

@gunnzolder

This comment has been minimized.

gunnzolder commented Sep 23, 2018

Opening System preferences in another desktop worked for me

Easy Fix : worked for me

  1. Open System Preferences
  2. Right click on System Preferences icon on Dock -> Options -> Assign to -> All Desktops
  3. If you have any other Desktop tab to it ( or Create new Desktop and switch to it )
  4. Open System Preferences on the new Desktop and click allow
@wasserholz

This comment has been minimized.

wasserholz commented Oct 14, 2018

I had to close ITerm2 to get it working.

@jessegyger

This comment has been minimized.

jessegyger commented Nov 2, 2018

Closed Google Chrome and now the allow button works.

@natterstefan

This comment has been minimized.

natterstefan commented Nov 5, 2018

Closing MagicPrefs solved the issue for me. Thank you @patkoscsaba!

@ZaNa02

This comment has been minimized.

ZaNa02 commented Nov 5, 2018

I will give you a crazier scenario... I tried EVERYTHING... the install message was showing FAILED every time, yet, when I checked applications folder, IT WAS INSTALLED and fully working :O what the... So, check your Applications folder despite failing install :D

@gaochengyidlmu

This comment has been minimized.

gaochengyidlmu commented Nov 19, 2018

I close other applications, then I can press the button.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment