MacでChrome remote desktopをサーバーとして実行するときに、カーテンモード(サーバーの実画面をログイン画面にする)方法。
設定
ターミナルで以下を実行
$ defaults write com.google.Chrome RemoteAccessHostRequireCurtain -bool true
確認
$ defaults read com.google.Chrome
解除
$ defaults delete com.google.Chrome RemoteAccessHostRequireCurtain
動機
はじめ
$ defaults write com.google.Chrome RemoteAccessHostRequireCurtain -string YES
とやると、うまく起動しなかった。
/var/log/syslogを見ると
Invalid policy contents: RemoteAccessHostRequireCurtain: The value type doesn't match the schema type.
のようなエラーが出ていたので。
バージョンの問題なのか、深追いはしていない。