Autostart GIMX RPi at boot with GUI
Posted: Wed Oct 20, 2021 3:50 pm
There is an instruction on how to make GIMX autorun without GUI:
Simply create a file /etc/systemd/system/gms.service (as root):
sudo nano /etc/systemd/system/gimx.service
With the following contents:
[Unit]
Description=GIMX
After=syslog.target network.target
[Service]
User=pi
Type=simple
# Replace /dev/ttyUSB0 with /dev/ttyAMA0 when using the on-board UART interface
ExecStart=/usr/bin/gimp -p /dev/ttyUSB0 -c LogitechDrivingForceGT_G29.xml --nograb
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target
Replace ttyUSB0 with your device (/dev/ttyacm
I need the opposite with GUI. Help me fix this
Simply create a file /etc/systemd/system/gms.service (as root):
sudo nano /etc/systemd/system/gimx.service
With the following contents:
[Unit]
Description=GIMX
After=syslog.target network.target
[Service]
User=pi
Type=simple
# Replace /dev/ttyUSB0 with /dev/ttyAMA0 when using the on-board UART interface
ExecStart=/usr/bin/gimp -p /dev/ttyUSB0 -c LogitechDrivingForceGT_G29.xml --nograb
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target
Replace ttyUSB0 with your device (/dev/ttyacm
I need the opposite with GUI. Help me fix this