Open nenadlazovic opened 3 years ago
Hey,
It says in the log there is an issue with fullapgeos.service
which does not exist AFAIK in the GUI module.
Can you provide:
/etc/lightdm/lightdm.conf
and
/home/pi/scripts/start_gui
And if you made any changes to the GUI module?
2.
Also, you can change what is the UI that starts on boot by changing this script:
https://github.com/guysoft/FullPageOS/blob/devel/src/modules/fullpageos/filesystem/home/pi/scripts/start_chromium_browser
Or this config variable to point to a different script: https://github.com/guysoft/FullPageOS/blob/devel/src/config#L11 3. Also, might be a keyboard layout issue. Someone had the same issue here on arch with the same error.
Required files attached (had to add .txt extension to be able to attach). the only change I did was to comment out line from start_gui
start_gui
...
#/home/pi/scripts/run_onepageos
You commented out the line
#/home/pi/scripts/run_onepageos
That script needs to be blocking. That is, it need to run endlessly. When it terminates you are redirected to the login page. You need to add instead of it something like this: https://unix.stackexchange.com/questions/366077/is-there-a-linux-command-that-does-nothing-but-never-exits
You need the gui to run something, otherwise it will just exist to the login screen like you describe.
i did as suggested, added
while true; do sleep 600; done
to start_gui, instead of invoking /home/pi/scripts/run_onepageos. see below. No luck. screen is now black with mouse in the middle. no login screen :(
root@fullpageos:/home/pi# cat scripts/start_gui
#!/bin/bash
xset s off # don't activate screensaver
xset -dpms # disable DPMS (Energy Star) features.
xset s noblank # don't blank the video device
compton -b -d :0 --backend glx --unredir-if-possible --glx-swap-method buffer-age --glx-no-stencil --paint-on-overlay --vsync opengl
matchbox-window-manager &
#/home/pi/scripts/run_onepageos
while true; do sleep 600; done
Again, as expected, you started a UI without anything. I am not sure what you are trying to do. Raspsberrypi desktop is not shipped on FullPageOS. The idea of FullPageOS is to be a lightweight OS. Otherwise the image would be a few more gigs.
You can install the desktop using the desktop install script in OctoPI: https://github.com/guysoft/OctoPi/blob/devel/src/modules/octopi/filesystem/home/pi/scripts/install-desktop
Then comment out these lines in /etc/lightdm/lightdm.conf
:
user-session=guisession
autologin-user=pi
This uncomment comes from what is done in this line of code which adds it: https://github.com/guysoft/CustomPiOS/blob/devel/src/modules/gui/end_chroot_script#L11
Issue: unable to login to matchbox desktop using standard pi/raspberry credentials. Expected: Able to login to desktop using standard pi/raspberry credentials.
Details of what has been tried: Hi, I made a build of FullPage OS and for a purpose of testing disable starting chromium on boot (simple scripts/run_onepageos to exit right away). As expected Chromium does not start, greeter is shown. Entering username: pi / Password: raspberry gets me back to greeter login dialog. Validated that SSH can login with pi/raspberry credentials. See few logs at the time of attempting to login.
Any suggestions how to enable login to desktop ?
/var/log/messages
/var/log/auth.log