first commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Disable screen saver and power saving
|
||||
xset s off
|
||||
xset s noblank
|
||||
xset -dpms
|
||||
|
||||
# Start Firefox with configured homepage
|
||||
firefox --url "${FIREFOX_HOMEPAGE}" &
|
||||
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<openbox_menu xmlns="http://openbox.org/3.4/menu">
|
||||
<menu id="root-menu" label="Openbox">
|
||||
<item label="Firefox">
|
||||
<action name="Execute">
|
||||
<execute>bash -c 'firefox --url "$FIREFOX_HOMEPAGE"'</execute>
|
||||
</action>
|
||||
</item>
|
||||
<separator />
|
||||
<item label="Neustarten">
|
||||
<action name="Execute">
|
||||
<execute>openbox --restart</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Herunterfahren">
|
||||
<action name="Execute">
|
||||
<execute>openbox --exit</execute>
|
||||
</action>
|
||||
</item>
|
||||
</menu>
|
||||
</openbox_menu>
|
||||
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<openbox_config xmlns="http://openbox.org/3.4/rc">
|
||||
<theme>
|
||||
<name>Clearlooks</name>
|
||||
<titleLayout>NLIMC</titleLayout>
|
||||
<font place="ActiveWindow"><name>Noto Sans</name><size>10</size></font>
|
||||
<font place="InactiveWindow"><name>Noto Sans</name><size>10</size></font>
|
||||
<font place="MenuHeader"><name>Noto Sans</name><size>10</size></font>
|
||||
<font place="MenuItem"><name>Noto Sans</name><size>10</size></font>
|
||||
</theme>
|
||||
<desktops>
|
||||
<number>1</number>
|
||||
</desktops>
|
||||
<keyboard>
|
||||
<keybind key="A-F4">
|
||||
<action name="Close"/>
|
||||
</keybind>
|
||||
<keybind key="A-Tab">
|
||||
<action name="NextWindow"/>
|
||||
</keybind>
|
||||
</keyboard>
|
||||
<mouse>
|
||||
<context name="Root">
|
||||
<mousebind button="Right" action="Press">
|
||||
<action name="ShowMenu"><menu>root-menu</menu></action>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Titlebar">
|
||||
<mousebind button="Left" action="Drag">
|
||||
<action name="Move"/>
|
||||
</mousebind>
|
||||
<mousebind button="Left" action="DoubleClick">
|
||||
<action name="ToggleMaximize"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Frame">
|
||||
<mousebind button="A-Left" action="Drag">
|
||||
<action name="Move"/>
|
||||
</mousebind>
|
||||
<mousebind button="A-Right" action="Drag">
|
||||
<action name="Resize"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
</mouse>
|
||||
</openbox_config>
|
||||
@@ -0,0 +1,24 @@
|
||||
[supervisord]
|
||||
nodaemon=true
|
||||
logfile=/var/log/supervisord.log
|
||||
pidfile=/var/run/supervisord.pid
|
||||
|
||||
[program:xvfb]
|
||||
command=/usr/bin/Xvfb :10 -screen 0 1920x1080x24
|
||||
autorestart=true
|
||||
priority=5
|
||||
|
||||
[program:openbox]
|
||||
command=/bin/bash -c "sleep 2 && DISPLAY=:10 su -c 'source ~/.bashrc && openbox-session' openbox"
|
||||
autorestart=true
|
||||
priority=10
|
||||
|
||||
[program:x11vnc]
|
||||
command=/bin/bash -c "sleep 3 && x11vnc -display :10 -rfbauth /home/openbox/.vnc/passwd -rfbport 5900 -forever -shared -noxdamage"
|
||||
autorestart=true
|
||||
priority=20
|
||||
|
||||
[program:xrdp]
|
||||
command=/bin/bash -c "sleep 4 && /usr/sbin/xrdp --nodaemon"
|
||||
autorestart=true
|
||||
priority=30
|
||||
@@ -0,0 +1,42 @@
|
||||
[Globals]
|
||||
ini_version=1
|
||||
fork=true
|
||||
port=3389
|
||||
use_vsock=false
|
||||
tcp_nodelay=true
|
||||
tcp_keepalive=true
|
||||
security_layer=rdp
|
||||
crypt_level=high
|
||||
certificate=
|
||||
key_file=
|
||||
ssl_protocols=TLSv1.2, TLSv1.3
|
||||
autorun=
|
||||
allow_channels=true
|
||||
allow_multimon=true
|
||||
bitmap_cache=true
|
||||
bitmap_compression=true
|
||||
bulk_compression=true
|
||||
max_bpp=32
|
||||
new_cursors=true
|
||||
|
||||
[Logging]
|
||||
LogFile=xrdp.log
|
||||
LogLevel=INFO
|
||||
EnableSyslog=true
|
||||
|
||||
[Channels]
|
||||
rdpdr=true
|
||||
rdpsnd=true
|
||||
drdynvc=true
|
||||
cliprdr=true
|
||||
rail=false
|
||||
xrdpvr=true
|
||||
tcutils=true
|
||||
|
||||
[xrdp1]
|
||||
name=Openbox Session
|
||||
lib=libvnc.so
|
||||
username=na
|
||||
password=ask
|
||||
ip=127.0.0.1
|
||||
port=5900
|
||||
Reference in New Issue
Block a user