Our Java Guest Client is fully capable of running in unattended mode; we just don't have any packaging to allow it do so. Here is a start. We've successfully configured the attached script to run as an service under Suse and Ubuntu.
Change these parameters for your installation:
Code:# Change these based on your ScreenConnect installation and how you want the client configured
scRelayHost="munich"
scRelayPort="8041"
scEncryptionKey="BgIAAAC......"
scSessionTitle="%LOGNAME%"
The two JAR files and this script should be copied to "/var/lib/screenConnectGuestClient/"
Code:applDir="/var/lib/$serviceNameLo
After copying to that directory, you'll need to create a symbolic link from under init.d to the sc.sh file. Then use insserv to add it as a service. Then use another tool to configure it to start at startup.
We'll probably refine this more in the future. I'd like a single script install and configure everything. Including doing WGETs to pull down the JARs and steps to create the right files under init.d and wherever else. Here is where we need feedback, because we're not super-familiar with linux. I don't want to presume too much and start copying files into the wrong places. What would you want to the script to do in an ideal world? Or should we try to use packages?
File Attachment(s):
sc.sh (8kb) downloaded 44 time(s).