LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Problem in Kiosk mode in LUBUNTU (https://www.linuxquestions.org/questions/ubuntu-63/problem-in-kiosk-mode-in-lubuntu-4175639596/)

akh_amm 10-02-2018 12:02 PM

Problem in Kiosk mode in LUBUNTU
 
Dear Members and mentors,

I am bit new in Linux. We need to deploy HMI for an Industrial controller. The HMI is device is a tablet with Intel Atom Z3745 CPU.

I have installed Lubuntu 18.04 LTS. The HMI is based on HTML/JavaScript. I have called the Index.html page through .xsessionrc (mostly following this page: https://obrienlabs.net/setup-kiosk-ubuntu-chromium/, but I have user .xsessionrc instead of autostart desktop). Everything works well. The HMI has been tested for very long processes and everything works.

Now I have a problem that the Tablet does not mount USB device (flash drives) when the .xsessionrc is running (I can see sda1 if I do lsblk, but no mount point). If I disable .xsessionrc, USB devices are working fine (mounted automatically after insertion).

I have tried to force mount USB using UDEV rule. This also fails. It creates the folder, but USB is not mounted.

Can you please help me? I am totally stuck without any solution in sight.

ondoho 10-04-2018 12:47 AM

Quote:

Originally Posted by akh_amm (Post 5910239)
Now I have a problem that the Tablet does not mount USB device (flash drives) when the .xsessionrc is running (I can see sda1 if I do lsblk, but no mount point). If I disable .xsessionrc, USB devices are working fine (mounted automatically after insertion).

I have tried to force mount USB using UDEV rule. This also fails. It creates the folder, but USB is not mounted.

we need more information about this:
  • how exactly do the two startup methods differ?
  • what is in the logs for the two usage scenarios?
  • how exactly did you "try to force" it?
show us code in code tags, please.
commands issued & full output.


All times are GMT -5. The time now is 01:46 PM.