Update base image to Ubuntu 24.04
This commit is contained in:
17
config/X11/Xsession.d/60xdg
Normal file
17
config/X11/Xsession.d/60xdg
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
# shellcheck disable=SC2034
|
||||
{
|
||||
set -a
|
||||
XDG_DATA_DIRS=/usr/share/xubuntu:/usr/share/xfce4:/usr/local/share:/usr/share
|
||||
XDG_CONFIG_DIRS=/etc/xdg/xdg-xubuntu:/etc/xdg
|
||||
XDG_CURRENT_DESKTOP=XFCE
|
||||
XDG_SESSION_DESKTOP=xubuntu
|
||||
XDG_SESSION_TYPE=x11
|
||||
XDG_MENU_PREFIX=xfce-
|
||||
XDG_DATA_HOME="${HOME:?}"/.local/share
|
||||
XDG_CONFIG_HOME="${HOME:?}"/.config
|
||||
XDG_CACHE_HOME="${HOME:?}"/.cache
|
||||
XDG_RUNTIME_DIR=/run/user/"$(id -u)"
|
||||
set +a
|
||||
}
|
||||
4
config/X11/xorg.conf.d/10-xrdp.conf
Normal file
4
config/X11/xorg.conf.d/10-xrdp.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
Section "Files"
|
||||
ModulePath "/usr/lib/xorg/modules"
|
||||
ModulePath "/opt/xrdp/lib/xorg/modules"
|
||||
EndSection
|
||||
@@ -1,3 +1,3 @@
|
||||
Package: firefox
|
||||
Pin: release o=LP-PPA-mozillateam
|
||||
Pin-Priority: 900
|
||||
Pin-Priority: 1000
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
Protocol 2
|
||||
HostKey /etc/ssh/ssh_host_ed25519_key
|
||||
HostKey /etc/ssh/ssh_host_rsa_key
|
||||
ListenAddress 0.0.0.0
|
||||
ListenAddress ::0
|
||||
Port 3322
|
||||
UseDNS no
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
[Globals]
|
||||
ListenAddress=127.0.0.1
|
||||
ListenPort=3350
|
||||
EnableUserWindowManager=true
|
||||
UserWindowManager=startwm.sh
|
||||
DefaultWindowManager=startwm.sh
|
||||
@@ -28,7 +26,7 @@ SyslogLevel=INFO
|
||||
[Xorg]
|
||||
param=/usr/lib/xorg/Xorg
|
||||
param=-config
|
||||
param=xrdp/xorg.conf
|
||||
param=/opt/xrdp/etc/X11/xrdp/xorg.conf
|
||||
param=-noreset
|
||||
param=-nolisten
|
||||
param=tcp
|
||||
@@ -57,4 +55,5 @@ EnableConsole=true
|
||||
ConsoleLevel=INFO
|
||||
|
||||
[SessionVariables]
|
||||
PULSE_SCRIPT=/etc/xrdp/pulse/default.pa
|
||||
PULSE_SCRIPT=/opt/xrdp/etc/xrdp/pulse/default.pa
|
||||
PULSE_DLPATH=/opt/xrdp/lib/pulse/modules:/usr/lib/pulse-16.1+dfsg1/modules
|
||||
|
||||
Reference in New Issue
Block a user