Workspot Agent Logs in the Linux VM

Prev Next

Agent Logs: 

To check agent logs: 

  • Log in to the machine as a root user. 

  • Change the directory to  

  • cd /root/workspotagent/ 

Workspot Agent Script: 

Workspot Agent Script location: - /var/opt/workspotagent/config 

File name: Wssetupcomplete.bsh 

Create wssetupcomplete.bsh, add some code to create directory or install some package in silent/quiet mode. 

# Copy wssetupcomplete.bsh to /var/opt/workspotagent/config 

Provide execute permission to the script 

# Sudo chmod +x  /root/workspotagent/config/ wssetupcomplete.bsh 

Make sure that package is installed when the VM is created.

Script logs Location: /var/log/workspotagent/wsscriptslog 

Re-register agent using token: 

Go to /usr/libexec/workspotagent/ location and run below commands. 

Note: To run above command user should be in root user / root permission. 

  • Steps to uninstall - 

Run below command to uninstall workspotagent along with configuration you did, like domain name, token-based or credentials based. 

sudo rpm erase workspotagent 

  • Reconfigure Workspot agent and domain join details (domain name, OU, domain username, password) 

To reconfigure domain join details or to reconfigure Workspot Agent, run below command. 

Sudo bash workspot_installer.sh --reconfigure 

 WorkspotAgent Service Commands 

  • sudo systemctl status workspotagent.service     (to check the workspot agent service status)

  • sudo systemctl restart workspotagent.service    (to restart the workspot agent service status)

  • sudo systemctl start workspotagent.service       (to start the workspot agent service status)

  • sudo systemctl stop workspotagent.service        (to stop the workspot agent service status)

  • sudo systemctl disable workspotagent.service   (to disable the workspot agent service status)

  • sudo systemctl enable workspotagent.service    (to enable the workspot agent service status) 

  • To install Workspot Agent in silent mode

    • sudo bash workspot_installer.sh –silent 

  • To Check agent version in Debian/Ubuntu 

    • sudo yum info workspotagent 

  • To Check Workspot xrdp version  

    • sudo yum info xrdp-workspot 

  • To Perform manual upgrade: 

    • First run below command 

curl -O https://cdn.us.document360.io/ad9153e1-c8de-4f56-94f2-b717a1fc3a68/Images/Documentation/workspotagent 1.2.1.4-1 amd64.tar.gz

  • Then run  

./autoupgrade https://cdn.us.document360.io/ad9153e1-c8de-4f56-94f2-b717a1fc3a68/Images/Documentation/workspotagent 1.2.1.4-1 amd64.tar.gz ./upgrade.log 

  • Then run below command.  

apt install workspotagent 

  • To Know Agent version  

    • apt-cache policy workspotagent  

  • Install latest Agent 

curl -O https://cdn.us.document360.io/ad9153e1-c8de-4f56-94f2-b717a1fc3a68/Images/Documentation/workspotagent 1.2.1.4-1 amd64.tar.gz 

Go to cd /root/workspotagent/config/workspotscripts and run.

./autoupgrade.bsh /home/jhansiv1\@indevqa.ws/workspotagent_1.2.1.4-1_amd64.tar.gz ./upgrade.log