How to Install virtualhere?

There doesn't seem to be a flatpak, I couldn't get distrobox to work (could well be me) and there's no rpm-ostree...help! 🙂
9 Replies
Kyle Gospo
Kyle Gospo•3d ago
layer with rpm-ostree
PCArcade
PCArcadeOP•3d ago
virtualhere isn't there to install
PCArcade
PCArcadeOP•3d ago
or I'm missing something, it's installed via a script available here : https://github.com/virtualhere/script
GitHub
GitHub - virtualhere/script
Contribute to virtualhere/script development by creating an account on GitHub.
Kyle Gospo
Kyle Gospo•3d ago
That script will work as-is
PCArcade
PCArcadeOP•3d ago
Job for virtualhere.service failed because the control process exited with error code.
See "systemctl status virtualhere.service" and "journalctl -xeu virtualhere.service" for details.
1 pcarcade@bazzite:~/Downloads$ systemctl status virtualhere.service
× virtualhere.service - VirtualHere Server
Loaded: loaded (/etc/systemd/system/virtualhere.service; enabled; preset: disabled)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
Active: failed (Result: exit-code) since Thu 2025-02-20 15:05:43 GMT; 22s ago
Invocation: 50b56148b31a4d188770a6a3eafe45ca
Process: 591319 ExecStart=/usr/local/sbin/vhusbdx86_64 -b -c /usr/local/etc/virtualhere/config.ini (code=exited, status=203/EXEC)
Mem peak: 1.1M
CPU: 3ms

Feb 20 15:05:42 bazzite systemd[1]: Starting virtualhere.service - VirtualHere Server...
Feb 20 15:05:42 bazzite (bdx86_64)[591319]: virtualhere.service: Unable to locate executable '/usr/local/sbin/vhusbdx86_64': Permission denied
Feb 20 15:05:42 bazzite (bdx86_64)[591319]: virtualhere.service: Failed at step EXEC spawning /usr/local/sbin/vhusbdx86_64: Permission denied
Feb 20 15:05:43 bazzite systemd[1]: virtualhere.service: Control process exited, code=exited, status=203/EXEC
Feb 20 15:05:43 bazzite systemd[1]: virtualhere.service: Failed with result 'exit-code'.
Feb 20 15:05:43 bazzite systemd[1]: Failed to start virtualhere.service - VirtualHere Server.
Job for virtualhere.service failed because the control process exited with error code.
See "systemctl status virtualhere.service" and "journalctl -xeu virtualhere.service" for details.
1 pcarcade@bazzite:~/Downloads$ systemctl status virtualhere.service
× virtualhere.service - VirtualHere Server
Loaded: loaded (/etc/systemd/system/virtualhere.service; enabled; preset: disabled)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
Active: failed (Result: exit-code) since Thu 2025-02-20 15:05:43 GMT; 22s ago
Invocation: 50b56148b31a4d188770a6a3eafe45ca
Process: 591319 ExecStart=/usr/local/sbin/vhusbdx86_64 -b -c /usr/local/etc/virtualhere/config.ini (code=exited, status=203/EXEC)
Mem peak: 1.1M
CPU: 3ms

Feb 20 15:05:42 bazzite systemd[1]: Starting virtualhere.service - VirtualHere Server...
Feb 20 15:05:42 bazzite (bdx86_64)[591319]: virtualhere.service: Unable to locate executable '/usr/local/sbin/vhusbdx86_64': Permission denied
Feb 20 15:05:42 bazzite (bdx86_64)[591319]: virtualhere.service: Failed at step EXEC spawning /usr/local/sbin/vhusbdx86_64: Permission denied
Feb 20 15:05:43 bazzite systemd[1]: virtualhere.service: Control process exited, code=exited, status=203/EXEC
Feb 20 15:05:43 bazzite systemd[1]: virtualhere.service: Failed with result 'exit-code'.
Feb 20 15:05:43 bazzite systemd[1]: Failed to start virtualhere.service - VirtualHere Server.
It didn't for me 😦 Tried to install in a debian 12 distrobox and that fails as well :
systemctl status virtualhere.service
× virtualhere.service - VirtualHere Server
Loaded: loaded (/etc/systemd/system/virtualhere.service; enabled; preset: enabled)
Active: failed (Result: core-dump) since Thu 2025-02-20 21:18:18 UTC; 7min ago
Duration: 132ms
Process: 2871 ExecStart=/usr/local/sbin/vhusbdx86_64 -b -c /usr/local/etc/virtualhere/config.ini (code=exited, status=0/SUCCESS)
Main PID: 2872 (code=dumped, signal=SEGV)
CPU: 32ms
systemctl status virtualhere.service
× virtualhere.service - VirtualHere Server
Loaded: loaded (/etc/systemd/system/virtualhere.service; enabled; preset: enabled)
Active: failed (Result: core-dump) since Thu 2025-02-20 21:18:18 UTC; 7min ago
Duration: 132ms
Process: 2871 ExecStart=/usr/local/sbin/vhusbdx86_64 -b -c /usr/local/etc/virtualhere/config.ini (code=exited, status=0/SUCCESS)
Main PID: 2872 (code=dumped, signal=SEGV)
CPU: 32ms
I'm at a loss, can anyone help?
termdisc
termdisc•3d ago
looking at the script, it wants to drop a precompiled binary into /usr/local/sbin. I would just grab the one I need and throw the binary into ~/.local/bin, attempt to run it from there, and if it works, set up a user service similar to the way the script does it
#!/bin/sh

if [ -n "$1" ]; then
FILENAME="$1"
else
ARCH=$(uname -m)
if [ -z "${ARCH##*arm*}" ]; then
FILENAME="vhusbdarm"
elif [ "$ARCH" = "mips" ]; then
FILENAME="vhusbdmips"
elif [ "$ARCH" = "mipsel" ]; then
FILENAME="vhusbdmipsel"
elif [ -z "${ARCH##*x86_64*}" ]; then
FILENAME="vhusbdx86_64"
elif [ -z "${ARCH##*aarch64*}" ]; then
FILENAME="vhusbdarm64"
else
FILENAME="vhusbdi386"
fi
fi
wget https://www.virtualhere.com/sites/default/files/usbserver/$FILENAME
chmod +x $FILENAME
mkdir -p $HOME/.local/bin
mv $FILENAME $HOME/.local/bin
mkdir -p $XDG_DATA_HOME/virtualhere
mkdir -p $XDG_CONFIG_HOME/systemd/user

cat << EOF > $XDG_CONFIG_HOME/systemd/user/virtualhere.service
[Unit]
Description=VirtualHere Server
After=network.target

[Service]
Type=forking
ExecStart=$HOME/.local/bin/$FILENAME -b -c $XDG_DATA_HOME/virtualhere/config.ini

[Install]
WantedBy=multi-user.target
EOF
systemctl daemon-reload
systemctl --user enable virtualhere.service
systemctl --user start virtualhere.service
else
echo "Error, only systemd is supported"
fi
#!/bin/sh

if [ -n "$1" ]; then
FILENAME="$1"
else
ARCH=$(uname -m)
if [ -z "${ARCH##*arm*}" ]; then
FILENAME="vhusbdarm"
elif [ "$ARCH" = "mips" ]; then
FILENAME="vhusbdmips"
elif [ "$ARCH" = "mipsel" ]; then
FILENAME="vhusbdmipsel"
elif [ -z "${ARCH##*x86_64*}" ]; then
FILENAME="vhusbdx86_64"
elif [ -z "${ARCH##*aarch64*}" ]; then
FILENAME="vhusbdarm64"
else
FILENAME="vhusbdi386"
fi
fi
wget https://www.virtualhere.com/sites/default/files/usbserver/$FILENAME
chmod +x $FILENAME
mkdir -p $HOME/.local/bin
mv $FILENAME $HOME/.local/bin
mkdir -p $XDG_DATA_HOME/virtualhere
mkdir -p $XDG_CONFIG_HOME/systemd/user

cat << EOF > $XDG_CONFIG_HOME/systemd/user/virtualhere.service
[Unit]
Description=VirtualHere Server
After=network.target

[Service]
Type=forking
ExecStart=$HOME/.local/bin/$FILENAME -b -c $XDG_DATA_HOME/virtualhere/config.ini

[Install]
WantedBy=multi-user.target
EOF
systemctl daemon-reload
systemctl --user enable virtualhere.service
systemctl --user start virtualhere.service
else
echo "Error, only systemd is supported"
fi
don't know if this works. this is just a basic edit of the script to run in user space
PCArcade
PCArcadeOP•3d ago
I'll give it a go, thank you 🙂 it's still not working, but I genuinely appreciate the help :
pcarcade@bazzite:~$ ./install_server
Saving 'vhusbdx86_64'
HTTP response 200 OK [https://www.virtualhere.com/sites/default/files/usbserver/vhusbdx86_64]
vhusbdx86_64 100% [=========================================================================================================================>] 429.31K 998.03KB/s
[Files: 1 Bytes: 429.31K [349.89KB/s] Redirects: 0 Todo: 0 Errors: 0 ]
mkdir: cannot create directory ‘/virtualhere’: Operation not permitted
mkdir: cannot create directory ‘/systemd’: Operation not permitted
./install_server: line 28: /systemd/user/virtualhere.service: No such file or directory
Failed to enable unit: Unit virtualhere.service does not exist
Failed to start virtualhere.service: Unit virtualhere.service not found.
./install_server: line 43: syntax error near unexpected token `else'
./install_server: line 43: `else'
2 pcarcade@bazzite:~$ nano install_server
pcarcade@bazzite:~$
pcarcade@bazzite:~$ ./install_server
Saving 'vhusbdx86_64'
HTTP response 200 OK [https://www.virtualhere.com/sites/default/files/usbserver/vhusbdx86_64]
vhusbdx86_64 100% [=========================================================================================================================>] 429.31K 998.03KB/s
[Files: 1 Bytes: 429.31K [349.89KB/s] Redirects: 0 Todo: 0 Errors: 0 ]
mkdir: cannot create directory ‘/virtualhere’: Operation not permitted
mkdir: cannot create directory ‘/systemd’: Operation not permitted
./install_server: line 28: /systemd/user/virtualhere.service: No such file or directory
Failed to enable unit: Unit virtualhere.service does not exist
Failed to start virtualhere.service: Unit virtualhere.service not found.
./install_server: line 43: syntax error near unexpected token `else'
./install_server: line 43: `else'
2 pcarcade@bazzite:~$ nano install_server
pcarcade@bazzite:~$
termdisc
termdisc•3d ago
Huh, guess the aliases didn’t resolve properly Can you run echo $XDG_CONFIG_HOME?
PCArcade
PCArcadeOP•2d ago
it's empty

Did you find this page helpful?