Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Local UI does not start after software update
#3
[quote pid='52598' dateline='1709238165']



What happens if you replace "pi" with the correct user name?
[/quote]

Still doesn't work ...  The file is re-edited in the code worker.php ! 

<snip>
//----------------------------------------------------------------------------//
workerLog('worker: --');
workerLog('worker: -- Peripherals');
workerLog('worker: --');
//----------------------------------------------------------------------------//

// Start local display
sysCmd("sed -i '/User=/c \User=" . $_SESSION['user_id'] . "' /lib/systemd/system/localui.service");
sysCmd('systemctl daemon-reload');
if ($_SESSION['localui'] == '1') {
    startLocalUI();
}
workerLog('worker: Local display:   ' . ($_SESSION['localui'] == '1' ? 'on' : 'off'));
// On-screen keyboard (Enable is text on the button)
if (!isset($_SESSION['on_screen_kbd'])) {
    $_SESSION['on_screen_kbd'] = 'Enable';
}
Reply


Messages In This Thread
RE: Local UI does not start after software update - by NHWally - 02-29-2024, 08:34 PM

Forum Jump: