Client not able to run in background - license issue?

Hello-
I'm trying to figure out why I can't run the client as a service, in the background, on a mac. The VirtualHere server is running on a raspberry pi with a license.

When I look at the license, I see that it starts with: License=00000000fdb5f4c6,0,.....
Yet, the mac address is b8:27:eb:b5:f4:c6. Will this be an issue to run this as a service?

The problem that I'm seeing is not being able to run the VirtualHere application as a service on the clients. For example, when I run this command in the terminal:
ps -ef | grep Virtual
0 93 1 0 10:49AM ?? 0:00.54 /Applications/VirtualHere.app/Contents/MacOS/VirtualHere --log=OSEventLog -n

Which looks like it is running. But, I can't connect to it:
sudo /Applications/VirtualHere.app/Contents/MacOS/VirtualHere -t "LIST"
IPC client timeout waiting for server...

If the Application is running, I am able to connect to it and I see:
sudo /Applications/VirtualHere.app/Contents/MacOS/VirtualHere -t "LIST"
VirtualHere Client IPC, below are the available devices:
(Value in brackets = address, * = Auto-Use)
Raspberry Hub (raspberrypi:7575)
*--> SanDisk Cruzer (raspberrypi.11244) (In-use by you)
Auto-Find currently off
Auto-Use All currently off
Reverse Lookup currently off
Reverse SSL Lookup currently off
VirtualHere Client not running as a service

The client is running on mac os 10.13.6.

What would you suggest for addressing this issue?

#2

Actually osx requires daemons to be registered in the LanchControl system

So in the virtualhere client, just right click on USB Hubs->Install Client Service

and it should just work.

It will add a file com.virtualhere.vhclient.plist file to the /Library/LaunchDaemons then start it

#3

Hi Michael-
I've installed the application and installed the daemon and I can see it running in the background. But what I don't see happening is the process automatically mounting of the USB device without the application running. I'm running version 4.6.6 of the client on mac os 10.13.6.

The config looks like this:
[Transport]
EasyFindId=ETre5U1P3DYz4JGq6ZNPun
EasyFindPin=2ZUwsC
[General]
MainFrameWidth=621
MainFrameHeight=535
AutoFind=0
[Settings]
ManualHubs=ilok.sjsu.edu:7575
[AutoShare]
00000000fdb5f4c6.21808.1921=1
00000000fdb5f4c6.21808.1921.11244=0
00000000fdb5f4c6.11244=0

And the console application is showing this:
Feb 21 08:43:28 Bruces-Mac VirtualHere Client[92]: VirtualHere Client 4.6.6 starting (Compiled: Feb 18 2019 20:19:38)
Feb 21 08:43:28 Bruces-Mac VirtualHere Client[92]: Client OS is macOS High Sierra Version 10.13.6 (Build 17G5019)
Feb 21 08:43:28 Bruces-Mac VirtualHere Client[92]: Using config at /Users/bruce/Library/Preferences/vhui Preferences
Feb 21 08:43:28 Bruces-Mac VirtualHere Client[92]: IPC available at /tmp/vhclient
Feb 21 08:43:28 Bruces-Mac VirtualHere Client[92]: VirtualHere Client is running as a service

When I run a command in the terminal:
/Applications/VirtualHere.app/Contents/MacOS/VirtualHere -t "LIST"
IPC client timeout waiting for server...

The process is running:
ps -ef | grep Virtual
0 92 1 0 8:43AM ?? 0:00.50 /Applications/VirtualHere.app/Contents/MacOS/VirtualHere --log=OSEventLog -n --config=/Users/bruce/Library/Preferences/vhui Preferences

Is something going on with gatekeeper that does not allow this process to be connected to?

#4

I think ive found a bug, can you do this:

1. Start Terminal then type sudo /Applications/VirtualHere.app/Contents/MacOS/VirtualHere -u
2. Download a new test build of the client from here https://www.virtualhere.com/sites/default/files/usbclient/test/VirtualH…
3. Run that dmg, then in the menu select "Install Client as Service"
4. Now you should be able to run /Application/VirtualHere.app/Contents/MacOS/VirtualHere -t LIST

Let me know if its working ok now

#5

Yes, that updated did resolve the issue. Thank you!

#6

OK great ill release an updated version 4.6.7 of the client with this fix