Skip to main content
Topic: OpenRC script for OpenTabletDriver doesn't start (Read 346 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

OpenRC script for OpenTabletDriver doesn't start

hi! I followed a guide on how to get OpenTabletDriver to work on Artix here, which helped a lot... however, I wanted an init script so it'd launch on startup. I tried the one provided in the same thread, only for it to not run and be listed as "status: stopped" when I check it via rc-service status. This is the script I have, I had to modify it to point to "otd-daemon" instead because it seems like the location of it changed, "otd" no longer launches the driver.

Code: [Select]
cat /etc/init.d/opentabletdriver

#!/sbin/openrc-run

description="OpenTabletDriver Daemon"
supervisor="supervise-daemon"
command="/usr/bin/otd-daemon"

start_pre() {
    export DISPLAY=:0
}

stop_post() {
    pkill -9 dotnet
}


Using the -v flag to restart the service (as in rc-service opentabletdriver restart -v) brings me the following:
Code: [Select]
opentabletdriver | * Starting opentabletdriver ...
opentabletdriver | * supervise-daemon: fopen `/var/run/supervise-opentabletdriver.pid': No such file or directory
opentabletdriver | * Detaching to start `/usr/bin/otd-daemon'    

I checked in that directory, and made the .pid file using the pid I was able to get from running htop in another terminal. However, it seemed to have done nothing as it just deleted the .pid file I made and throw the same error. Then, I tried blanking out the supervisor section since supervise-daemon threw out that problem. It doesn't seem to help much at all when I start it via rc-service opentabletdriver start:

Code: [Select]
opentabletdriver | * Caching service dependencies ...                                                   [ ok ]
opentabletdriver | * Starting opentabletdriver ...
opentabletdriver |[Detect:Info] Searching for tablets...
opentabletdriver |[Detect:Debug]        Searching for tablet '10moon 1060N'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Acepen AP 1060'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Adesso Cybertablet K8'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Artisul A1201'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Artisul AP604'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Artisul M0610 Pro'
opentabletdriver |[Detect:Debug]        Searching for tablet 'FlooGoo FMA100'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Gaomon 1060 Pro'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Gaomon GM116HD'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Gaomon GM156HD'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Gaomon M106K Pro'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Gaomon M106K'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Gaomon M10K Pro'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Gaomon M10K'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Gaomon M1220'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Gaomon M1230'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Gaomon M6'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Gaomon PD1161'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Gaomon PD156 Pro'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Gaomon PD1560'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Gaomon PD1561'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Gaomon PD2200'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Gaomon S56K'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Gaomon S620'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Gaomon S630'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Gaomon S830'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Genius G-Pen 560'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Genius i405x'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Genius i608x'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion 420'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion G10T'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion G930L'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion GC610'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion GT-220 V2'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion GT-221 Pro'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion GT-221'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion H1060P'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion H1161'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion H320M'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion H420'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion H420X'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion H430P'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion H580X'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion H610 Pro V2'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion H610 Pro V3'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion H610 Pro'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion H610X'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion H640P'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion H641P'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion H642'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion H690'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion H950P'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion HC16'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion HS610'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion HS611'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion HS64'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion HS95'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion Kamvas 12'
opentabletdriver |[Device:Debug]        Initializing device 'Huion Tablet_GS1161' /sys/devices/pci0000:00/0000:00:08.1/0000:0b:00.3/usb3/3-3/3-3:1.0/0003:256C:006D.0006/hidraw/hidraw5
opentabletdriver |[Device:Debug]        Using report parser type 'OpenTabletDriver.Configurations.Parsers.Huion.GianoReportParser'
opentabletdriver |[Device:Debug]        Initialized string index 200
opentabletdriver |[Detect:Info] Found tablet 'Huion Kamvas 12'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion Kamvas 13'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion Kamvas 16 (2021)'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion Kamvas 16'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion Kamvas 20'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion Kamvas 22 Plus'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion Kamvas 22'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion Kamvas 24 Plus'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion Kamvas Pro 12'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion Kamvas Pro 13 (2.5k)'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion Kamvas Pro 13'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion Kamvas Pro 16 (2.5k)'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion Kamvas Pro 16'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion Kamvas Pro 20'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion Kamvas Pro 24 (4K)'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion Kamvas Pro 24'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion New 1060 Plus (2048)'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion New 1060 Plus'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion Q11K V2'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion Q11K'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion Q620M'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion Q630M'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion RDS-160'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion RTE-100'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion RTM-500'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion WH1409 V2'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Huion WH1409'
opentabletdriver |[Detect:Debug]        Searching for tablet 'KENTING K5540'
opentabletdriver |[Detect:Debug]        Searching for tablet 'LifeTec LT9570'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Monoprice 10594'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Monoprice MP1060-HA60'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Parblo A609'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Parblo A610 Pro'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Parblo A640 V2'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Parblo Intangbo M'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Parblo Intangbo S'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Parblo Ninos M'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Parblo Ninos N4'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Parblo Ninos N7'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Parblo Ninos S'
opentabletdriver |[Detect:Debug]        Searching for tablet 'RobotPen T9A'
opentabletdriver |[Detect:Debug]        Searching for tablet 'UC-Logic 1060N'
opentabletdriver |[Detect:Debug]        Searching for tablet 'UC-Logic PF1209'
opentabletdriver |[Detect:Debug]        Searching for tablet 'UGEE S640'
opentabletdriver |[Detect:Debug]        Searching for tablet 'UGEE U1200'
opentabletdriver |[Detect:Debug]        Searching for tablet 'UGEE U1600'
opentabletdriver |[Detect:Debug]        Searching for tablet 'UGTABLET M708 V2'
opentabletdriver |[Detect:Debug]        Searching for tablet 'UGTABLET M708'
opentabletdriver |[Detect:Debug]        Searching for tablet 'VEIKK A15 Pro'
opentabletdriver |[Detect:Debug]        Searching for tablet 'VEIKK A15 V2'
opentabletdriver |[Detect:Debug]        Searching for tablet 'VEIKK A15'
opentabletdriver |[Detect:Debug]        Searching for tablet 'VEIKK A30 V2'
opentabletdriver |[Detect:Debug]        Searching for tablet 'VEIKK A30'
opentabletdriver |[Detect:Debug]        Searching for tablet 'VEIKK A50 V2'
opentabletdriver |[Detect:Debug]        Searching for tablet 'VEIKK A50'
opentabletdriver |[Detect:Debug]        Searching for tablet 'VEIKK S640 V2'
opentabletdriver |[Detect:Debug]        Searching for tablet 'VEIKK S640'
opentabletdriver |[Detect:Debug]        Searching for tablet 'VEIKK VK1060'
opentabletdriver |[Detect:Debug]        Searching for tablet 'VEIKK VK1060PRO'
opentabletdriver |[Detect:Debug]        Searching for tablet 'VEIKK VK430 V2'
opentabletdriver |[Detect:Debug]        Searching for tablet 'VEIKK VK430'
opentabletdriver |[Detect:Debug]        Searching for tablet 'VEIKK VK640'
opentabletdriver |[Detect:Debug]        Searching for tablet 'VEIKK Viola (VO1060)'
opentabletdriver |[Detect:Debug]        Searching for tablet 'ViewSonic Woodpad PF0730'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTC-4110WL'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTC-6110WL'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTE-430'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTE-440'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTE-450'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTE-460'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTE-630'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTE-640'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTE-650'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTE-660'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTF-430'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTH-301'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTH-460'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTH-461'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTH-470'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTH-480'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTH-490'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTH-661'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTH-670'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTH-680'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTH-690'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTL-4100'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTL-4100WL'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTL-460'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTL-470'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTL-471'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTL-472'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTL-480'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTL-490'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTL-6100'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTL-6100WL'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTL-671'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTL-672'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTL-680'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom CTL-690'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom DTC-133'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom DTH-1320'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom Cintiq 13HD (DTK-1300)'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom Cintiq 16 (DTK1660)'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom Cintiq 12WX (DTZ-1200W)'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom ET-0405-U'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom ET-0405A-U'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom FT-0405-U'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom GD-0405-U'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom GD-0608-U'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom GD-0912-U'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom GD-1212-U'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom GD-1218-U'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom MTE-450'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom PTH-450'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom PTH-451'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom PTH-460'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom PTH-650'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom PTH-651'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom PTH-660'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom PTH-850'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom PTH-851'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom PTH-860'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom PTK-1240'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom PTK-440'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom PTK-450'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom PTK-540WL'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom PTK-640'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom PTK-650'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom PTK-840'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom PTU-600U'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom PTZ-1230'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom PTZ-1231W'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom PTZ-430'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom PTZ-431W'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom PTZ-630'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom PTZ-631W'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom PTZ-930'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom XD-0405-U'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom XD-0608-U'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom XD-0912-U'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom XD-1212-U'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Wacom XD-1218-U'
opentabletdriver |[Detect:Debug]        Searching for tablet 'Waltop Slim Tablet 5.8"'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XenceLabs Pen Tablet Medium'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XenceLabs Pen Tablet Small'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XENX P1-640'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XENX P3-1060'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XENX X1-640'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Artist 10 (2nd Gen)'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Artist 12 (2nd Gen)'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Artist 12 Pro'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Artist 12'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Artist 13 (2nd Gen)'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Artist 13.3 Pro'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Artist 13.3'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Artist 15.6 Pro'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Artist 15.6'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Artist 16 (2nd Gen)'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Artist 16 Pro'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Artist 22HD'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Artist Pro 16TP'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen CT1060'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen CT430'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen CT640'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Deco 01 V2 (variant 2)'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Deco 01 V2'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Deco 01'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Deco 02'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Deco 03'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Deco L'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Deco M'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Deco mini4'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Deco mini7'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Deco Pro Medium'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Deco Pro Small'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Deco Pro SW'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Innovator 16'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Star 03'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Star 05 V3'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Star 06'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Star 06C'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Star G430'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Star G430S V2'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Star G430S'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Star G540 Pro'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Star G540'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Star G640 V2'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Star G640'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Star G640S'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Star G960'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Star G960S Plus'
opentabletdriver |[Detect:Debug]        Searching for tablet 'XP-Pen Star G960S'
opentabletdriver |Authorization required, but no authorization protocol specified
opentabletdriver |
opentabletdriver |/usr/bin/otd-daemon: línea 3: 12231 Violación de segmento  /usr/lib/opentabletdriver/OpenTabletDriver.Daemon "$@"
opentabletdriver | * start-stop-daemon: failed to start `/usr/bin/otd-daemon'
opentabletdriver | * Failed to start opentabletdriver                                                   [ !! ]
opentabletdriver | * ERROR: opentabletdriver failed to start

Running "otd-daemon" works from the terminal just fine, it's that I can't seem to have a reliable way to launch it as an init script. If anyone could help me with this, it'd be greatly appreciated. Please let me know if I need to provide more logs. Thanks!

Re: OpenRC script for OpenTabletDriver doesn't start

Reply #1
The $DISPLAY variable may be set, but permission to connect not granted.

Re: OpenRC script for OpenTabletDriver doesn't start

Reply #2
The $DISPLAY variable may be set, but permission to connect not granted.
Hmm, interesting. I just tried to set the service with 777 chmod permissions to see if it changed anything, but it doesn't seem to make a difference...  :(

 

Re: OpenRC script for OpenTabletDriver doesn't start

Reply #3
Not those permissions, talking about xhost(1). But this seems the wrong way to do it, perhaps you should autostart it as user in your own session?