Hi.
I am seting up a kiosk system, so I followed
this tutorial, where it is given the instruction for, starting from a "text only" system (I used a Lubuntu Minimal), you install xorg, and nodm to setup a kiosk.
Now, all went well with xorg. If I run:
my ~/.xsession file get executed (I am using leafpad only as simple test):
Code:
#!/usr/bin/env bash
echo "something" > /root/someFile
leafpad
but when I boot the system, all I got is a black screen and "/root/someFile" is not even created. It is supposed that nodm should trigger an XSession, but something is happening. My /etc/default/nodm is:
Code:
NODM_ENABLED=true
NODM_USER=root
NODM_FIRST_VT='7'
NODM_XSESSION=/etc/X11/Xsession
NODM_X_OPTIONS='-nolisten tcp'
NODM_MIN_SESSION_TIME=60
I have tried with a different (non root) user too, but the result is the same.
If I run:
X is started and /root/someFile is created.
I hope somebody could give me some help in this regard. Thanks.