Merge pull request #67 from saveriomiroddi/fix_ubuntu_18.04.4_ubiquity_display_issues
Fix Ubuntu 18.04.4 display-related issues
This commit is contained in:
commit
bb9c1f018a
@ -731,7 +731,12 @@ Proceed with the configuration as usual, then, at the partitioning stage:
|
|||||||
whiptail --msgbox "$dialog_message" 30 100
|
whiptail --msgbox "$dialog_message" 30 100
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ubiquity --no-bootloader
|
# The display is restricted only to the owner (`user`), so we need to allow any user to access
|
||||||
|
# it.
|
||||||
|
#
|
||||||
|
sudo -u "$SUDO_USER" env DISPLAY=:0 xhost +
|
||||||
|
|
||||||
|
DISPLAY=:0 ubiquity --no-bootloader
|
||||||
|
|
||||||
swapoff -a
|
swapoff -a
|
||||||
|
|
||||||
@ -767,8 +772,7 @@ Proceed with the configuration as usual, then, at the partitioning stage:
|
|||||||
whiptail --msgbox "$dialog_message" 30 100
|
whiptail --msgbox "$dialog_message" 30 100
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# The display is restricted only to the owner (`user`), so we need to allow any user to access
|
# See install_operating_system().
|
||||||
# it.
|
|
||||||
#
|
#
|
||||||
sudo -u "$SUDO_USER" env DISPLAY=:0 xhost +
|
sudo -u "$SUDO_USER" env DISPLAY=:0 xhost +
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user