unified remote control on bazzite

www.unifiedremote.com Trying to get this running on bazzite But distrobox doesn't seem to be an option as you can't export systems services from the box?
Solution:
Gave up and just overlayed the rpm. That worked with the original systemd service.
Jump to solution
10 Replies
zany130
zany130OP2mo ago
There is a portable archive that you can put in your .local/bin but I haven't been able to get it to work with the systemd service Which I got from here https://aur.archlinux.org/cgit/aur.git/tree/urserver.service?h=unified-remote-server I get a Cannot execute binary file Error
asen23
asen232mo ago
what is your service file looks like? btw i think you better just layer this, they have rpm
zany130
zany130OP2mo ago
At first I was using the exact same one from the arch packaging just modified to my local/bin as that's were 8 extracted the binary But I realized urserver-start isn't valid so I changed that to urserver --daemon. With out anything else Running urserver --daemon Manually in a terminal works however I'll post the whole service in a few away from my PC rn
[Unit]
Description=Unified Remote Server
After=network.target

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/bash /home/zany130/.local/bin/urserver --daemon

[Install]
WantedBy=default.target
[Unit]
Description=Unified Remote Server
After=network.target

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/bash /home/zany130/.local/bin/urserver --daemon

[Install]
WantedBy=default.target
systemctl --user status urserver.service ─╯
○ urserver.service - Unified Remote Server
Loaded: loaded (/home/zany130/.config/systemd/user/urserver.service; enabled; preset: disabled)
Drop-In: /usr/lib/systemd/user/service.d
└─10-timeout-abort.conf
Active: inactive (dead) since Sat 2024-10-12 15:49:07 EDT; 8min ago
Invocation: 0ffcabb3869f4c1ea0a3c7b406ef68d7
Main PID: 32544 (code=exited, status=126)
CPU: 1ms

Oct 12 15:49:07 bazzite systemd[6595]: Starting urserver.service - Unified Remote Server...
Oct 12 15:49:07 bazzite bash[32544]: /home/zany130/.local/bin/urserver: /home/zany130/.local/bin/urserver: cannot execute binary file
Oct 12 15:49:07 bazzite systemd[6595]: urserver.service: Main process exited, code=exited, status=126/n/a
Oct 12 15:49:07 bazzite systemd[6595]: urserver.service: Failed with result 'exit-code'.
Oct 12 15:49:07 bazzite systemd[6595]: Failed to start urserver.service - Unified Remote Server.
systemctl --user status urserver.service ─╯
○ urserver.service - Unified Remote Server
Loaded: loaded (/home/zany130/.config/systemd/user/urserver.service; enabled; preset: disabled)
Drop-In: /usr/lib/systemd/user/service.d
└─10-timeout-abort.conf
Active: inactive (dead) since Sat 2024-10-12 15:49:07 EDT; 8min ago
Invocation: 0ffcabb3869f4c1ea0a3c7b406ef68d7
Main PID: 32544 (code=exited, status=126)
CPU: 1ms

Oct 12 15:49:07 bazzite systemd[6595]: Starting urserver.service - Unified Remote Server...
Oct 12 15:49:07 bazzite bash[32544]: /home/zany130/.local/bin/urserver: /home/zany130/.local/bin/urserver: cannot execute binary file
Oct 12 15:49:07 bazzite systemd[6595]: urserver.service: Main process exited, code=exited, status=126/n/a
Oct 12 15:49:07 bazzite systemd[6595]: urserver.service: Failed with result 'exit-code'.
Oct 12 15:49:07 bazzite systemd[6595]: Failed to start urserver.service - Unified Remote Server.
starts fine if I manualy launch it
/home/zany130/.local/bin/urserver daemon
Unified Remote Server (3.13.0.2505)
Copyright (c) 2010-2024 Unified Intents AB. All rights reserved.

starting...
/home/zany130/.local/bin/urserver daemon
Unified Remote Server (3.13.0.2505)
Copyright (c) 2010-2024 Unified Intents AB. All rights reserved.

starting...
asen23
asen232mo ago
you manually launch with urserver daemon not urserver --daemon or maybe try to create a sh so you run exactly same command
zany130
zany130OP2mo ago
Oops made a mistake on the manual launch it's supposed to be urserver --daemon That still works
[zany130@bazzite ~]$ urserver --daemon
[zany130@bazzite ~]$ killall ur
uresourced urserver
[zany130@bazzite ~]$ urserver --daemon
[zany130@bazzite ~]$ killall ur
uresourced urserver
asen23
asen232mo ago
btw what is stat /home/zany130/.local/bin/urserver
zany130
zany130OP2mo ago
stat /home/zany130/.local/bin/urserver
File: /home/zany130/.local/bin/urserver
Size: 8899664 Blocks: 17384 IO Block: 4096 regular file
Device: 0,43 Inode: 24425715 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 1000/ zany130) Gid: ( 1000/ zany130)
Context: unconfined_u:object_r:gconf_home_t:s0
Access: 2024-10-11 18:45:51.000000000 -0400
Modify: 2023-02-10 08:49:08.000000000 -0500
Change: 2024-10-11 18:45:51.745272741 -0400
Birth: 2024-10-11 18:45:51.731272623 -0400
stat /home/zany130/.local/bin/urserver
File: /home/zany130/.local/bin/urserver
Size: 8899664 Blocks: 17384 IO Block: 4096 regular file
Device: 0,43 Inode: 24425715 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 1000/ zany130) Gid: ( 1000/ zany130)
Context: unconfined_u:object_r:gconf_home_t:s0
Access: 2024-10-11 18:45:51.000000000 -0400
Modify: 2023-02-10 08:49:08.000000000 -0500
Change: 2024-10-11 18:45:51.745272741 -0400
Birth: 2024-10-11 18:45:51.731272623 -0400
asen23
asen232mo ago
oh i just noticed, why did you put bash in front? it tried to execute urserver as bash script lmao
zany130
zany130OP2mo ago
That's how the systemd service file was written originaly https://aur.Archlinux.Org/cgit/aur.Git/tree/urserver.Service?H=unified-remote-server Tried it without bash just in case and no change still get cannot execute binary file
Solution
zany130
zany1302mo ago
Gave up and just overlayed the rpm. That worked with the original systemd service.
Want results from more Discord servers?
Add your server