Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customize the default Xrdp login screen with a Pengwin one #377

Merged
merged 1 commit into from
Oct 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions debian/install
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ pengwin-setup /usr/local/bin
pengwin-setup.d /usr/local
completions/* /usr/share/bash-completion/completions/
sdkman-init-sh.sh /usr/local/bin
images/* /usr/share/images/
Binary file added images/pengwin-xrdp.bmp
Binary file not shown.
3 changes: 3 additions & 0 deletions pengwin-setup.d/desktop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ function install_xrdp() {
sudo sed -i "s/^\(bitmap_compression=\)\(true\)$/\1false/" /etc/xrdp/xrdp.ini
sudo sed -i "s/^\(bulk_compression=\)\(true\)$/\1false/" /etc/xrdp/xrdp.ini
sudo sed -i "s/^\(max_bpp=\)\(32\)$/\124/" /etc/xrdp/xrdp.ini
sudo sed -i "s/^\(blue=\)\(.*\)$/\141004d/" /etc/xrdp/xrdp.ini
sudo sed -i "s/^\(#\)\(ls_title=\)\(.*\)$/\2Welcome to Pengwin/" /etc/xrdp/xrdp.ini
sudo sed -i "s/^\(ls_top_window_bg_color=\)\(.*\)$/\141004d/" /etc/xrdp/xrdp.ini
sudo sed -i "s|^\(ls_logo_filename=\)\(.*\)$|\1/usr/share/images/pengwin-xrdp.bmp|" /etc/xrdp/xrdp.ini

# shellcheck disable=SC2155
local sesman_port=$(echo "${port} - 50" | bc)
Expand Down