Auto Start Mumble-Client GUI Program with also a command for auto connect.

March 20, 2025, 20:42

deimos87

Need help with chron. Script ready. I am trying to get Mumble Client to autostart and connect to server at startup. The program needs to have GUI to function it seems. I need the program to be voice activated. It is connected to a radio. That setup is done. But I cannot run My issue is with how to setup Chron! The terminal will not show up and do the task from Chron. Raspberry Pi 3B I have already run chmod on the script.
chmod +x /home/rpi/script/mumbleclient.sh
So far the script works if executed in normal screen GUI. And there is no user or password required to put in on the raspberry pi for logging in. Script:
#!/bin/bash
sleep 30
mumble mumble://ClientName:ServerPassword:[email protected]:XXXXX/LAN/rpi/Y
In the chron I have this:
@reboot lxterminal -e "/home/rpi/script/mumbleclient.sh"
I get no terminal at startup that could run it with this chron setup. ------------------------------------------------------------------- Modified: Also I tried this: Did chmod +x on the sh file. Script now:
lxterminal -e mumble mumble://ClientName:ServerPassword:[email protected]:XXXXX/LAN/rpi/Y
The script works there when runned with clicking it in the file browser GUI. I did not added any waiting there. Chron:
@reboot sh /home/rpi/script/mumbleclient1.sh
My issue is with how to setup Chron! The terminal will not show up and do the task from Chron. There is also a terminal mumble called talkkonnect. But that will take me many hours to setup.