Linux GUI startup options - .bashrc file

Good day,

I've been trying your software for a few days now in demo mode before purchasing. 

The server runs fine but I have the client GUI app on a Debian 12 Linux machine. I've been going through all the the support articles, posts, and web results but I can't find a way to have the vhuit64 file run at startup. Starting it manually is not a viable option in my use case.

You mentioned in one of your replies a few years ago that it needs to be done in the .bashrc file. I've done some research on this as well but unfortunately, I can't get it to work.

Would you be able to provide more info on the command line that would need to be added to the file?

Thanks in advance!

#2

Actually do this: (Replace YOURUSERNAME with the username you login with e.g michael and after /home replace username there too and in the paths below)

sudo visudo

Add this line to the end

YOURUSERNAME ALL = (root) NOPASSWD: /home/username/vhuit64

create a file in

/home/username/.config/autostart/vhui.desktop

And add the following lines:

[Desktop Entry]
Type=Application
Exec=sudo /home/username/vhuit64
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name=vhui
Comment=
 

#4

Thanks Michael, it worked perfectly. I should have asked for your help sooner.

Last thing, once the session starts, the VirtualHere Client window appears and the USB device mounts normally. Is there any way to have this in the background (window not visible) and also, any way to close the application completely? When I choose the top menu Vhuit64 > Quit, nothing happens.

Regards,

Marc

#5

No that window cant be hidden. You need to use the linux console client vhclientx86_64  for that. https://www.virtualhere.com/linux_console


Note vhuit64 exits fine for me with those exact instructions. If you are using a device there is a popup asking if you really want to exit.Maybe you are not seeing that.

#6

Noted, I'll look at that option and debug for the exit function.

You've mentioned in your instructions (and many support posts) that running the server in a VM is not supported. I've been doing my server tests on a VM (Debian 12) in Proxmox and it runs just fine. Tested Mac OS, Windows and Linux clients, all good. Will this still work with a licence?

Thanks again for your time.

#7

A VM will not work with virtualhere server and if you buy a license it will probably be lost. The reason is VM's never properly pass through usb devices.