First commit
This commit is contained in:
29
config/ssh/sshd_config
Normal file
29
config/ssh/sshd_config
Normal file
@@ -0,0 +1,29 @@
|
||||
Protocol 2
|
||||
HostKey /etc/ssh/ssh_host_ed25519_key
|
||||
HostKey /etc/ssh/ssh_host_rsa_key
|
||||
|
||||
Port 3322
|
||||
ListenAddress 0.0.0.0
|
||||
|
||||
StrictModes yes
|
||||
|
||||
UsePAM yes
|
||||
PermitRootLogin no
|
||||
PubkeyAuthentication yes
|
||||
PasswordAuthentication yes
|
||||
PermitEmptyPasswords no
|
||||
ChallengeResponseAuthentication no
|
||||
TCPKeepAlive yes
|
||||
LoginGraceTime 30
|
||||
ClientAliveInterval 300
|
||||
ClientAliveCountMax 1
|
||||
|
||||
X11Forwarding yes
|
||||
X11DisplayOffset 10
|
||||
X11UseLocalhost no
|
||||
|
||||
PrintMotd no
|
||||
PrintLastLog yes
|
||||
|
||||
SyslogFacility AUTH
|
||||
LogLevel INFO
|
||||
40
config/xrdp/sesman.ini
Normal file
40
config/xrdp/sesman.ini
Normal file
@@ -0,0 +1,40 @@
|
||||
[Globals]
|
||||
ListenAddress=127.0.0.1
|
||||
ListenPort=3350
|
||||
EnableUserWindowManager=true
|
||||
UserWindowManager=startwm.sh
|
||||
DefaultWindowManager=startwm.sh
|
||||
ReconnectScript=reconnectwm.sh
|
||||
|
||||
[Security]
|
||||
AllowRootLogin=false
|
||||
MaxLoginRetry=0
|
||||
AlwaysGroupCheck=false
|
||||
|
||||
[Sessions]
|
||||
X11DisplayOffset=10
|
||||
MaxSessions=10
|
||||
KillDisconnected=true
|
||||
DisconnectedTimeLimit=120
|
||||
IdleTimeLimit=0
|
||||
Policy=Default
|
||||
|
||||
[Logging]
|
||||
LogFile=/var/log/xrdp-sesman.log
|
||||
LogLevel=INFO
|
||||
EnableSyslog=0
|
||||
SyslogLevel=INFO
|
||||
|
||||
[Xorg]
|
||||
param=/usr/lib/xorg/Xorg
|
||||
param=-config
|
||||
param=xrdp/xorg.conf
|
||||
param=-noreset
|
||||
param=-nolisten
|
||||
param=tcp
|
||||
|
||||
[Chansrv]
|
||||
FuseMountName=.thinclient_drives
|
||||
|
||||
[SessionVariables]
|
||||
PULSE_SCRIPT=/etc/xrdp/pulse/default.pa
|
||||
77
config/xrdp/xrdp.ini
Normal file
77
config/xrdp/xrdp.ini
Normal file
@@ -0,0 +1,77 @@
|
||||
[Globals]
|
||||
ini_version=1
|
||||
fork=true
|
||||
address=0.0.0.0
|
||||
port=3389
|
||||
use_vsock=false
|
||||
tcp_nodelay=true
|
||||
tcp_keepalive=true
|
||||
security_layer=tls
|
||||
key_file=/etc/xrdp/key.pem
|
||||
certificate=/etc/xrdp/cert.pem
|
||||
ssl_protocols=TLSv1.2, TLSv1.3
|
||||
tls_ciphers=HIGH
|
||||
autorun=XorgOther
|
||||
allow_channels=true
|
||||
allow_multimon=true
|
||||
bitmap_cache=true
|
||||
bitmap_compression=true
|
||||
bulk_compression=true
|
||||
max_bpp=32
|
||||
new_cursors=true
|
||||
use_fastpath=both
|
||||
blue=009cb5
|
||||
grey=dedede
|
||||
ls_top_window_bg_color=009cb5
|
||||
ls_width=350
|
||||
ls_height=430
|
||||
ls_bg_color=dedede
|
||||
ls_logo_filename=
|
||||
ls_logo_x_pos=55
|
||||
ls_logo_y_pos=50
|
||||
ls_label_x_pos=30
|
||||
ls_label_width=65
|
||||
ls_input_x_pos=110
|
||||
ls_input_width=210
|
||||
ls_input_y_pos=220
|
||||
ls_btn_ok_x_pos=142
|
||||
ls_btn_ok_y_pos=370
|
||||
ls_btn_ok_width=85
|
||||
ls_btn_ok_height=30
|
||||
ls_btn_cancel_x_pos=237
|
||||
ls_btn_cancel_y_pos=370
|
||||
ls_btn_cancel_width=85
|
||||
ls_btn_cancel_height=30
|
||||
|
||||
[Logging]
|
||||
LogFile=/var/log/xrdp.log
|
||||
LogLevel=INFO
|
||||
EnableSyslog=false
|
||||
SyslogLevel=INFO
|
||||
|
||||
[Channels]
|
||||
rdpdr=true
|
||||
rdpsnd=true
|
||||
drdynvc=true
|
||||
cliprdr=true
|
||||
rail=true
|
||||
xrdpvr=true
|
||||
tcutils=true
|
||||
|
||||
[XorgGuest]
|
||||
name=Guest
|
||||
lib=libxup.so
|
||||
username=guest
|
||||
password=ask
|
||||
ip=127.0.0.1
|
||||
port=-1
|
||||
code=20
|
||||
|
||||
[XorgOther]
|
||||
name=Other
|
||||
lib=libxup.so
|
||||
username=ask
|
||||
password=ask
|
||||
ip=127.0.0.1
|
||||
port=-1
|
||||
code=20
|
||||
Reference in New Issue
Block a user