New issue
Advanced search Search tips

Issue 609268 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: May 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Cannot enable Curtain Mode on Chrome Remote Desktop for Mac

Reported by kmark...@gmail.com, May 4 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2716.0 Safari/537.36

Steps to reproduce the problem:
1. Set RemoteAccessHostRequireCurtain to YES in ~/Library/Preferences/com.google.Chrome.plist
2. Connect to Mac instance via Chrome Remote Desktop Android app

What is the expected behavior?
The screen should be off or black. I'm assuming the keyboard and mouse should not function either but the docs I saw didn't mention this explicitly.

What went wrong?
After taking remote control the screen continues to be visible and the keyboard/mouse on the local machine still respond to input. Curtain Mode, if enabled at all, does nothing.

WebStore page: https://chrome.google.com/webstore/detail/chrome-remote-desktop/gbchcmhmhahfdphkhkmpfmihenigjmpp

Did this work before? N/A 

Chrome version: 52.0.2716.0  Channel: dev
OS Version: OS X 10.11.4
Flash Version: Shockwave Flash 21.0 r0
 

Comment 1 by kmark...@gmail.com, May 4 2016

Additionally, I've tried adding the RemoteAccessHostRequireCurtain property and then deactivating and reactivating Remote Desktop. No change.
Components: -Platform>Extensions Services>Chromoting
Are you logged in as the user for whom you set the RemoteAccessHostRequireCurtain when you try to connect?

Can you send us the logs from the host from when it starts until a successful connection? To get the logs:

* Open a terminal: Press [Command] + [Space], type Terminal, and press Enter
* Copy the host log to a file: sudo syslog -k Facility org.chromium.chromoting > chromoting.log.

Attach chromoting.log to this bug.
Labels: Needs-Feedback

Comment 5 by kmark...@gmail.com, May 14 2016

> Are you logged in as the user for whom you set the RemoteAccessHostRequireCurtain when you try to connect?

Yes

Attached is my log. The relevant line seems to be:

> May 13 20:28:09 remoting_me2me_host[5530] <Error>: Invalid policy contents: RemoteAccessHostRequireCurtain: The value type doesn't match the schema type.

RemoteAccessHostRequireCurtain is a Boolean set to YES. On the Android app I am unconnectable with the message "Host failed to read the policy." I tried setting RemoteAccessHostRequireCurtain to YES as a String as well but no luck there either.
chromoting.log
1.4 KB View Download
Project Member

Comment 6 by sheriffbot@chromium.org, May 14 2016

Labels: -Needs-Feedback Needs-Review
Owner: spqc...@chromium.org
Thank you for providing more feedback. Adding requester "spqchan@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
I think you need to specify "true" rather than "YES".
Cc: jamiewa...@chromium.org
Owner: ----

Comment 9 by kmark...@gmail.com, May 18 2016

Oddly it seems to work without issue now (no update to the host binary, says  the log). Accordingly to the Xcode plist editor RemoteAccessHostRequireCurtain is still set to "YES" as a boolean. I haven't made any changes to that file since posting last. The plist editor only accepts "YES" and "NO" for boolean values. True and false seem to be automatically converted. I am not aware of how the values are stored internally but this seems consistent with the Objective-C YES/NO convention.

I did some more testing and it seems that completely disabling Remote Desktop and quitting Chrome is not enough to reload the configuration. This might have been the issue I was originally having. After doing a full reboot I can successfully toggle curtain mode (with a reboot required for each toggle).
The policy is read by Chrome Remote Desktop Host, so restarting that component should be all that's needed. Logging off and back on again will do that--no need to reboot.

I'm going to mark this WontFix since you can't repro it any more. Please follow up on this bug if the problem resurfaces.
Status: WontFix (was: Unconfirmed)
For future finders of this thread I followed the same steps above combined with information from another post and that was to enable fast user switching (Prefrences->Users & Groups->Login Options->Show Fast User Switching as[] ).

After a reboot of my machine and logging back in then starting Chrome Remote Desktop from my phone my Mac quickly jumped to the login screen which is what it seems to use as the 'curtain'.

Hopefully this helps others out in the future.

Sign in to add a comment