Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Newbie: buster display-manager in readonly filesystem?

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
El Berto
Posts: 1
Joined: 2021-08-19 07:32

Newbie: buster display-manager in readonly filesystem?

#1 Post by El Berto »

Hi guys!
I'm a totally newbie about this, I'm writing here asking for help....

Debian buster, display manager is lightdm.

I need read-only filesystem for GUI applications (kiosk).
I can set filesystem in "read-only", I can start GUI from command line (script).
Desktop is locked: only GUI window, no panel/menu.

Here run.log:

Code: Select all

[...]
** Message: 18:10:43.800: app.vala:76: Launching lxpanel 

(process:2314): Gtk-WARNING **: 18:10:43.845: Locale not supported by C library.
	Using the fallback 'C' locale.
** Message: 18:10:43.894: x-terminal-emulator has very limited support, consider choose another terminal
** Message: 18:10:44.537: Connecting ...
** Message: 18:10:44.537: Status changed to down

** (lxpanel:2314): CRITICAL **: 18:10:44.539: dhcpcd_open: Resource temporarily unavailable
xrandr: Failed to get size of gamma for output default

** (lxpanel:2314): WARNING **: 18:10:44.575: init context: err:6 Connection refused

Assertion 'pthread_mutex_lock(&m->mutex) == 0' failed at pulsecore/mutex-posix.c:90, function pa_mutex_lock(). Aborting.
** Message: 18:10:44.589: app.vala:130: lxpanel exit with this type of exit: 6
** Message: 18:10:44.589: app.vala:148: Exit not normal, try to reload
** Message: 18:10:44.589: app.vala:156: Application crashed too much, stop reloading

During boot I can see bottom bar blinking six times.

If I boot filesystem in read/write I can see bar, if I boot in readonly then I move to read/write, restarting display:

Code: Select all

sudo systemctl restart display-manager

again bar blinking six times and stop.

Any idea?
Thanks.

Aki
Global Moderator
Global Moderator
Posts: 2823
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 69 times
Been thanked: 385 times

Re: Newbie: buster display-manager in readonly filesystem?

#2 Post by Aki »

Hello,

Welcome to the forum.

According to information reported in previous message, the lxpanel program crashes because cannot connect to the x server :

Code: Select all

** (lxpanel:2314): WARNING **: 18:10:44.575: init context: err:6 Connection refused
That's probably why some screen items flash.

See [1] a reference for installations specifically configured with read only file system.

[1] https://wiki.debian.org/ReadonlyRoot
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Post Reply