Jump to content

Recommended Posts

Posted

I must be missing something really quite obvious but I cannot figure this out!

 

On our windows clients they run a client-local-install file at login and they get their account balance pop up in the corner.

 

I cannot for the life of me get it to work on our Mac clients! Keeps saying access denied or just not running at all! I have tried running from the network share, copying the whole folder to the applications folder.

 

It must be a permissions thing on the mac but I have gone into "Get Info" and given everyone read and write access to it but to no avail!

 

How do you do it if you do?

 

Thanks

Posted

Scrap that sorted it!

 

On a multi-user Mac system, setting up a Login Item for each user would be a tedious task. To streamline this process, the PCClient application can be configured to start on login via the login hook. A login hook is an advanced Mac feature that works by running a script when a user logs in. The PCClient package includes a command script resource that installs the login hook.

 

To install the client on a multi-user system:

 

Start and Log into the Mac computer. Ensure it's connected to the network.

 

Open the Finder.

 

From the Go menu, select Connect to Server...

 

Enter the pcclient share's connection details like: smb://server_name/pcclient

 

Enter password information if requested.

 

Drag the PCClient (or legacy/PCClient on OS X 10.6 or lower) package over to the local hard disk's Applications folder. The copy process will commence.

 

Control-click on the newly copied PCClient application in the Applications directory. Select Open Package Contents.

Control-click and open the package contents

 

Figure 5.16. Control-click and open the package contents

 

Navigate to Contents/Resources/.

 

Double-click on the install-login-hook.command script.

Double-click to install the login hook

 

Figure 5.17. Double-click to install the login hook

 

Restart the system and verify the client starts on login.

Posted

They've been deprecated but do still work. The main benefit of using LaunchD is the ability to add multiple items to the /Library/LaunchAgents folder. The login window preference file is an xml key/value pair and can only hold one entry.

 

The main risk of using login hooks is that Apple actually pull the functionality completely, breaking some of your setup.

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...