forked from RPi-Distro/pi-gen
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
04.configure-desktop-env/02.vnc-server: remove dummy display
Now that the xserver.service handles the setup for systems that don't have video output, this feature is no longer necessary. Signed-off-by: mlradu <[email protected]>
- Loading branch information
Showing
3 changed files
with
1 addition
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
stages/04.configure-desktop-env/02.vnc-server/files/xorg.conf
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,14 +6,6 @@ | |
# Copyright (c) 2024 Analog Devices, Inc. | ||
# Author: Larisa Radu <[email protected]> | ||
|
||
HELP="To enable VNC on a board that has a display port, you only need to install the service. This is the default approach in the script. \ | ||
\nTo enable VNC on a board that doesn't have a display port, you need to install the xorg.conf file that contains a dummy display. \ | ||
\nYou can do this by uncommenting line 21. \ | ||
\nOnce you have installed the dummy display, your desktop environment might not start if you switch to a board that has a display port. \ | ||
\nIn order to go back to the initial configuration, you only need to delete /usr/share/X11/xorg.conf.d/xorg.conf file and reboot. \ | ||
\n \ | ||
\nThe VNC password is: analog" | ||
|
||
if [ "${CONFIG_DESKTOP}" = y ]; then | ||
|
||
# Add x11vnc service | ||
|
@@ -25,9 +17,6 @@ install -m 644 "${BASH_SOURCE%%/run.sh}"/files/xserver.service "${BUILD_DIR}/lib | |
# Add xserver script | ||
install -m 755 "${BASH_SOURCE%%/run.sh}"/files/adi-xserver.sh "${BUILD_DIR}/usr/bin/" | ||
|
||
# Add dummy display | ||
#install -m 644 "${BASH_SOURCE%%/run.sh}"/files/xorg.conf "${BUILD_DIR}/usr/share/X11/xorg.conf.d/" | ||
|
||
install -d "${BUILD_DIR}/home/analog/.vnc" | ||
|
||
chroot "${BUILD_DIR}" << EOF | ||
|