Hi. I´m a newbie here but I would really need some help with this.
I´m running Volumio, latest version 2.698 on a Rpi 4 together with Raspberry official touch display.
I installed touch display plugin which works just fine until I decided to install matchbox keyboard following instructions here https://forum.volumio.org/guide-for-setting-touchscreen-backlight-control-t11425.html
I only installed matchbox keyboard, nothing else.
After reboot touch display plugin become unresponsive when I try to apply changes to screensaver settings. This also affect brightness settings.
I got this message: “Error applying screensaver settings: Start of the xserver has not finished yet.”
Somebody out there that have a fix for this?
I browsed forum here but couldn`t find a solution
Best Regards /C
Jan 18 10:28:41 volumio startx[1177]: Current version of pixman: 0.32.6
Jan 18 10:28:41 volumio startx[1177]: Before reporting problems, check http://wiki.x.org
Jan 18 10:28:41 volumio startx[1177]: to make sure that you have the latest vers ion.
Jan 18 10:28:41 volumio startx[1177]: Markers: (–) probed, (**) from config fil e, (==) default setting,
Jan 18 10:28:41 volumio startx[1177]: (++) from command line, (!!) notice, (II) informational,
Jan 18 10:28:41 volumio startx[1177]: (WW) warning, (EE) error, (NI) not impleme nted, (??) unknown.
Jan 18 10:28:41 volumio startx[1177]: (==) Log file: “/var/log/Xorg.0.log”, Time : Sat Jan 18 10:28:41 2020
Jan 18 10:28:41 volumio startx[1177]: (==) Using config directory: “/etc/X11/xor g.conf.d”
Jan 18 10:28:41 volumio startx[1177]: (==) Using system config directory “/usr/s hare/X11/xorg.conf.d”
Jan 18 10:28:41 volumio startx[1177]: modprobe: FATAL: Module g2d_23 not found.
[/code]
I tried to answer 3 times but my post has not been published for any reason.
so here are my results…
volumio@volumio:~$ ls -al /tmp/.X11-unix
total 0
drwxrwxrwt 2 root root 60 Jan 18 10:28 .
drwxrwxrwt 15 root root 600 Jan 18 13:41 …
srwxrwxrwx 1 root root 0 Jan 18 10:28 X0
volumio@volumio:~$ ls -al /data/volumiokiosk
total 60
drwxr-xr-x 10 volumio volumio 4096 Jan 19 13:33 .
drwxr-xr-x 1 volumio volumio 4096 Jan 18 13:41 …
drwx------ 3 volumio volumio 4096 Jan 17 12:11 CertificateTransparency
drwx------ 10 volumio volumio 4096 Jan 19 13:05 Default
drwx------ 2 volumio volumio 4096 Jan 17 12:33 Dictionaries
drwx------ 3 volumio volumio 4096 Jan 17 12:11 EVWhitelist
drwx------ 2 volumio volumio 4096 Jan 17 12:02 FileTypePolicies
-rw------- 1 volumio volumio 2872 Jan 19 13:33 Local State
drwx------ 2 volumio volumio 4096 Jan 17 12:02 OriginTrials
-rw-r–r-- 1 volumio volumio 5120 Jan 17 12:10 Safe Browsing Channel IDs
-rw-r–r-- 1 volumio volumio 0 Jan 17 12:10 Safe Browsing Channel IDs-journal
-rw-r–r-- 1 volumio volumio 7168 Jan 17 12:02 Safe Browsing Cookies
-rw-r–r-- 1 volumio volumio 0 Jan 17 12:02 Safe Browsing Cookies-journal
drwx------ 3 volumio volumio 4096 Jan 17 12:02 ShaderCache
lrwxrwxrwx 1 volumio volumio 19 Jan 18 10:28 SingletonCookie → 2907920725607163059
lrwxrwxrwx 1 volumio volumio 12 Jan 18 10:28 SingletonLock → volumio-1334
lrwxrwxrwx 1 volumio volumio 50 Jan 18 10:28 SingletonSocket → /tmp/.org.chromium.Chromium.53CuvU/SingletonSocket
drwx------ 3 volumio volumio 4096 Jan 17 12:11 pnacl
volumio@volumio:~$ ls -al ~/.xsessionrc
ls: cannot access /home/volumio/.xsessionrc: No such file or directory
volumio@volumio:~$ ls -al ~/.xsessionrc
ls: cannot access /home/volumio/.xsessionrc: No such file or directory
volumio@volumio:~$
volumio@volumio:~$ ^C
volumio@volumio:~$ systemctl status -l volumio-kiosk
● volumio-kiosk.service - Volumio Kiosk
Loaded: loaded (/lib/systemd/system/volumio-kiosk.service; disabled)
Active: active (running) since Sat 2020-01-18 10:28:41 UTC; 1 day 3h ago
Main PID: 1177 (startx)
CGroup: /system.slice/volumio-kiosk.service
├─1177 /bin/sh /usr/bin/startx /etc/X11/Xsession /opt/volumiokiosk.sh
├─1200 xinit /etc/X11/Xsession /opt/volumiokiosk.sh – /etc/X11/xinit/xserverrc :0 -auth /tmp/serverauth.oiHGHffzkd
├─1201 /usr/lib/xorg/Xorg -nolisten tcp :0 -auth /tmp/serverauth.oiHGHffzkd
├─1310 /bin/bash /opt/volumiokiosk.sh
├─1327 /usr/bin/ssh-agent /opt/volumiokiosk.sh
├─1332 matchbox-keyboard -d
├─1333 matchbox-window-manager -use_titlebar no
├─1334 /usr/lib/chromium-browser/chromium-browser --enable-pinch --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so --ppapi-flash-args=enable_stagevideo_auto=0 --disable-pinch --kiosk --no-first-run --disable-3d-apis --disable-breakpad --disable-crash-reporter --disable-infobars --disable-session-crashed-bubble --disable-translate --user-data-dir=/data/volumiokiosk --no-sandbox localhost:3000
├─1365 /usr/lib/chromium-browser/chromium-browser --type=zygote --no-sandbox --user-data-dir=/data/volumiokiosk --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so
└─1401 /usr/lib/chromium-browser/chromium-browser --type=renderer --disable-3d-apis --disable-breakpad --disable-pinch --enable-pinch --no-sandbox --enable-features=AutofillCreditCardSigninPromo<AutofillCreditCardSigninPromo,AutofillProfileCleanup<AutofillProfileCleanup,DocumentWriteEvaluator<DisallowFetchForDocWrittenScriptsInMainFrame,ExpectCTReporting<ExpectCTReporting,IncidentReportingDisableUpload<SafeBrowsingIncidentReportingService,IncidentReportingModuleLoadAnalysis<SafeBrowsingIncidentReportingServiceFeatures,IncidentReportingSuspiciousModuleReporting<SafeBrowsingIncidentReportingServiceFeatures,MaterialDesignUserManager<MaterialDesignUserManager,NegotiateTLS13<TLS13Negotiation,NetworkTimeServiceQuerying<NetworkTimeQueries,NewAudio
Jan 18 10:28:41 volumio startx[1177]: Current version of pixman: 0.32.6
Jan 18 10:28:41 volumio startx[1177]: Before reporting problems, check wiki.x.org
Jan 18 10:28:41 volumio startx[1177]: to make sure that you have the latest version.
Jan 18 10:28:41 volumio startx[1177]: Markers: (–) probed, (**) from config file, (==) default setting,
Jan 18 10:28:41 volumio startx[1177]: (++) from command line, (!!) notice, (II) informational,
Jan 18 10:28:41 volumio startx[1177]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Jan 18 10:28:41 volumio startx[1177]: (==) Log file: “/var/log/Xorg.0.log”, Time: Sat Jan 18 10:28:41 2020
Jan 18 10:28:41 volumio startx[1177]: (==) Using config directory: “/etc/X11/xorg.conf.d”
Jan 18 10:28:41 volumio startx[1177]: (==) Using system config directory “/usr/share/X11/xorg.conf.d”
Jan 18 10:28:41 volumio startx[1177]: modprobe: FATAL: Module g2d_23 not found.
I hope this will give you the necessary information.
Thanks for looking in to this…
regards C
@ClaesM
Could you test if the file attached below resolves your issue? You would need to move the file into /data/plugins/miscellanea/touch_display renaming it to index.js. Assuming you have downloaded or copied the attached file in a first step to /home/volumio you would have to execute the following steps:
mv /data/plugins/miscellanea/touch_display/index.js /data/plugins/miscellanea/touch_display/index.js.bak
mv index_new.zip /data/plugins/miscellanea/touch_display/index.js
volumio vrestart
If you want/have to revert:
Don’ t try to open it - as I wrote just rename it to index.js. Reason for the .zip suffix is simply that the forum does not allow to upload file with .js …
Reason for your problem was that the Xserver display number has not been detected by the plugin. I have reworked the code of the dectection “routine” a little. Many thanks for your fast confirmation that it works!
I will open a PR on Github soon, so the changes will be part of a new version of the plugin.
That sounds great! I don´t know if it´s important but I noticed there were no green box coming up telling me that settings are successfully applied. No red box with an error message either… Anyway, it all works now. Great work!
That’s perfectly fine. The plugin does not acknowledge if a new setting has been applied and no problem has occured. Other plugins may handle that differently. AFAIK there is no general policy for this.