Cool Solutions

Using ZENworks to Remote Control the Current User Session on an OS X 10.7 or later Macintosh with ZENworks



February 26, 2014 12:12 pm





The documentation for ZENworks 11sp2 and 11sp3 notes that remote management via VNC is different for machines running OS X 10.7 and later. Specifically, on these later machines VNC will start a new login rather than connecting to the user’s currently logged in session. The ZEN docs suggest using Vine server as a substitute for Apple’s built-in VNC server for OS X.

However, it turns out that you can easily restore the previous behavior by modifying an OS X preference. The command to issue to the Terminal is as follows (it should all be on one line):

sudo defaults write /Library/Preferences/ VNCAlwaysStartOnConsole -bool true

This command can be deployed via the workstation Terminal or via ZENworks bundle script. Once it is issued, VNC connections to the target workstation will always connect to the currently logged-in user. This eliminates the need for Vine.

4 votes, average: 5.00 out of 54 votes, average: 5.00 out of 54 votes, average: 5.00 out of 54 votes, average: 5.00 out of 54 votes, average: 5.00 out of 5 (4 votes, average: 5.00 out of 5)
You need to be a registered member to rate this post.

Tags: , ,
Categories: Technical, ZENworks, ZENworks Configuration Management, ZENworks Suite


Disclaimer: This content is not supported by Micro Focus. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.