Browse Source

ubuntu24: change to unity-greeter

Signed-off-by: weishanshan1084 <weishanshan1084@phytium.com.cn>
pull/26/head
weishanshan1084 6 months ago
parent
commit
1203dbbc17
  1. 7
      board/phytium/common/ubuntu-package-installer

7
board/phytium/common/ubuntu-package-installer

@ -81,8 +81,9 @@ do_distrorfs_second_stage() {
echo installed additional packages.
if [ $6 = desktop ]; then
for pkg in xfce4 ukui-greeter; do
DEBIAN_FRONTEND=noninteractive apt -y install $pkg || true
for pkg in xfce4 unity-greeter; do
DEBIAN_FRONTEND=noninteractive apt -y install $pkg || true
rm -rf /usr/share/unity-greeter/logo.png || true
done
if [[ $2 = jammy || $2 = noble ]]; then
sed -i 's/debian-x-terminal-emulator/gnome-terminal/g' /etc/xdg/xfce4/helpers.rc || true
@ -103,7 +104,7 @@ do_distrorfs_second_stage() {
ln -sf /lib/systemd/system/lightdm.service /etc/systemd/system/display-manager.service
sed -i "s/gdm3/lightdm/" /etc/X11/default-display-manager
echo '[SeatDefaults]' >> /etc/lightdm/lightdm.conf
echo 'greeter-session=ukui-greeter' >> /etc/lightdm/lightdm.conf
echo 'greeter-session=unity-greeter' >> /etc/lightdm/lightdm.conf
echo 'user-session=xfce' >> /etc/lightdm/lightdm.conf
echo installing desktop packages: $pkglist

Loading…
Cancel
Save