summaryrefslogtreecommitdiff
path: root/examples/disklserver
diff options
context:
space:
mode:
Diffstat (limited to 'examples/disklserver')
-rw-r--r--examples/disklserver/settings_x2go-minidesktop+amd64+bullseye/x2gothinclient-minidesktop_background.svg158
-rwxr-xr-xexamples/disklserver/settings_x2go-minidesktop+amd64+bullseye/x2gothinclient-minidesktop_start47
-rwxr-xr-xexamples/disklserver/settings_x2go-minidesktop+amd64+bullseye/x2gothinclient_init26
-rwxr-xr-xexamples/disklserver/settings_x2go-minidesktop+amd64+bullseye/x2gothinclient_init.d/005_x2gothinclient-wipe-home30
-rwxr-xr-xexamples/disklserver/settings_x2go-minidesktop+amd64+bullseye/x2gothinclient_init.d/010_x2gothinclient-fresh-home53
-rwxr-xr-xexamples/disklserver/settings_x2go-minidesktop+amd64+bullseye/x2gothinclient_init.d/950_x2gothinclient-minidesktop25
-rw-r--r--examples/disklserver/settings_x2go-minidesktop+amd64+bullseye/x2gothinclient_sessions66
-rw-r--r--examples/disklserver/x2gothinclient-settings.conf61
8 files changed, 466 insertions, 0 deletions
diff --git a/examples/disklserver/settings_x2go-minidesktop+amd64+bullseye/x2gothinclient-minidesktop_background.svg b/examples/disklserver/settings_x2go-minidesktop+amd64+bullseye/x2gothinclient-minidesktop_background.svg
new file mode 100644
index 0000000..e3c6580
--- /dev/null
+++ b/examples/disklserver/settings_x2go-minidesktop+amd64+bullseye/x2gothinclient-minidesktop_background.svg
@@ -0,0 +1,158 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ version="1.0"
+ width="361.04999"
+ height="271.92001"
+ viewBox="0 0 361.244 270.933"
+ id="svg2"
+ xml:space="preserve"
+ inkscape:version="0.47 r22583"
+ sodipodi:docname="bg-anim.svg"><metadata
+ id="metadata30"><rdf:RDF><cc:Work
+ rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1598"
+ inkscape:window-height="879"
+ id="namedview28"
+ showgrid="false"
+ inkscape:zoom="2"
+ inkscape:cx="132.20018"
+ inkscape:cy="132.38275"
+ inkscape:window-x="0"
+ inkscape:window-y="19"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="svg2" />
+ <defs
+ id="defs4"><inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 135.96001 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="361.04999 : 135.96001 : 1"
+ inkscape:persp3d-origin="180.52499 : 90.640004 : 1"
+ id="perspective32" /><linearGradient
+ id="linearGradient2802"><stop
+ style="stop-color:#ffffff;stop-opacity:1"
+ offset="0"
+ id="stop2804" /><stop
+ style="stop-color:#ffffff;stop-opacity:0"
+ offset="1"
+ id="stop2806" /></linearGradient><linearGradient
+ id="linearGradient2852"><stop
+ style="stop-color:#ffffff;stop-opacity:1"
+ offset="0"
+ id="stop2854" /><stop
+ style="stop-color:#6699ff;stop-opacity:0"
+ offset="1"
+ id="stop2856" /></linearGradient><linearGradient
+ id="linearGradient2844"><stop
+ style="stop-color:#deeaed;stop-opacity:1"
+ offset="0"
+ id="stop2846" /><stop
+ style="stop-color:#ffffff;stop-opacity:1"
+ offset="1"
+ id="stop2848" /></linearGradient><linearGradient
+ id="linearGradient1948"><stop
+ style="stop-color:#b2856b;stop-opacity:0.4235808;"
+ offset="0"
+ id="stop1950" /><stop
+ style="stop-color:#6699ff;stop-opacity:0"
+ offset="1"
+ id="stop1952" /></linearGradient>
+ <style
+ type="text/css"
+ id="style6" />
+ <linearGradient
+ x1="202.494"
+ y1="135.464"
+ x2="207.00999"
+ y2="135.464"
+ id="id0"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ style="stop-color:#000000;stop-opacity:1"
+ offset="0"
+ id="stop9" />
+ <stop
+ style="stop-color:#6e707f;stop-opacity:1"
+ offset="1"
+ id="stop11" />
+ </linearGradient>
+
+
+
+
+
+
+
+
+
+ <linearGradient
+ x1="202.494"
+ y1="135.464"
+ x2="207.00999"
+ y2="135.464"
+ id="linearGradient1942"
+ xlink:href="#id0"
+ gradientUnits="userSpaceOnUse" /><linearGradient
+ x1="107.24445"
+ y1="268.11078"
+ x2="107.64762"
+ y2="207.717"
+ id="linearGradient1954"
+ xlink:href="#linearGradient1948"
+ gradientUnits="userSpaceOnUse" /><linearGradient
+ x1="278.59366"
+ y1="-49.590809"
+ x2="133.85397"
+ y2="120.54888"
+ id="linearGradient2808"
+ xlink:href="#linearGradient2802"
+ gradientUnits="userSpaceOnUse" /></defs>
+
+
+ <rect
+ style="fill:#800000;fill-opacity:1"
+ id="hintergrund"
+ height="270.92899"
+ width="361.23801"
+ y="0.00456294"
+ x="-361.23801"
+ class="fil0"
+ transform="scale(-1,1)">
+ <animateColor
+ attributeName="fill"
+ attributeType="XML"
+ from="#000000"
+ to="#246ed8"
+ begin="0s"
+ dur="4s"
+ fill="freeze"
+ id="animateColor24" />
+ </rect>
+
+
+ <path
+ d="M 162.557,0.0045 L 0,0.0045 L 0,57.8027 C 0,146.6071 334.145,182.1287 334.145,270.9327 L 334.145,270.9327 C 334.145,182.1283 162.557,88.8087 162.557,0.0037 L 162.557,0.0045 z "
+ style="fill:url(#linearGradient2808);fill-opacity:1"
+ id="path19" />
+
+
+</svg> \ No newline at end of file
diff --git a/examples/disklserver/settings_x2go-minidesktop+amd64+bullseye/x2gothinclient-minidesktop_start b/examples/disklserver/settings_x2go-minidesktop+amd64+bullseye/x2gothinclient-minidesktop_start
new file mode 100755
index 0000000..6165817
--- /dev/null
+++ b/examples/disklserver/settings_x2go-minidesktop+amd64+bullseye/x2gothinclient-minidesktop_start
@@ -0,0 +1,47 @@
+#!/bin/bash
+
+# Copyright (C) 2010-2019 by X2Go project, https://wiki.x2go.org
+# Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
+# Moritz 'Morty' Struebe <Moritz.Struebe@informatik.uni-erlangen.de>
+# Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+
+# X2Go is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# X2Go is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the
+# Free Software Foundation, Inc.,
+# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+# make sure pulseaudio can be reached via TCP from the X2Go Server side...
+/usr/bin/pactl 'load-module' 'module-native-protocol-tcp' 'auth-ip-acl=127.0.0.1;::1'
+
+/usr/lib/x2go/x2goclient --no-menu \
+ --maximize \
+ --link=lan \
+ --kbd-type=auto \
+ --set-kbd=1 \
+ --geometry=fullscreen \
+ --read-exports-from=~/export \
+ --no-session-edit \
+ --close-disconnect \
+ --session=X2Go.Example \
+ --add-to-known-hosts
+
+#/usr/libx/x2go/x2goclient --no-menu \
+# --maximize \
+# --link=lan \
+# --kbd-type=auto \
+# --set-kbd=1 \
+# --geometry=fullscreen \
+# --read-exports-from=~/export \
+# --broker-url=https://x2gobroker.intern:8080/plain/zeroconf \
+# --broker-autologoff \
+# --add-to-known-hosts
diff --git a/examples/disklserver/settings_x2go-minidesktop+amd64+bullseye/x2gothinclient_init b/examples/disklserver/settings_x2go-minidesktop+amd64+bullseye/x2gothinclient_init
new file mode 100755
index 0000000..0e56c95
--- /dev/null
+++ b/examples/disklserver/settings_x2go-minidesktop+amd64+bullseye/x2gothinclient_init
@@ -0,0 +1,26 @@
+#!/bin/bash
+
+# Copyright (C) 2007-2019 X2Go Project - https://wiki.x2go.org
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the
+# Free Software Foundation, Inc.,
+# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# Copyright (C) 2011-2019 Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+
+set -e
+
+run-parts /etc/x2go/x2gothinclient_init.d/
+
+exit 0
diff --git a/examples/disklserver/settings_x2go-minidesktop+amd64+bullseye/x2gothinclient_init.d/005_x2gothinclient-wipe-home b/examples/disklserver/settings_x2go-minidesktop+amd64+bullseye/x2gothinclient_init.d/005_x2gothinclient-wipe-home
new file mode 100755
index 0000000..ebf08b1
--- /dev/null
+++ b/examples/disklserver/settings_x2go-minidesktop+amd64+bullseye/x2gothinclient_init.d/005_x2gothinclient-wipe-home
@@ -0,0 +1,30 @@
+#!/bin/bash
+
+# Copyright (C) 2010-2019 by X2Go project, https://wiki.x2go.org
+# Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
+# Moritz 'Morty' Struebe <Moritz.Struebe@informatik.uni-erlangen.de>
+# Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+
+# X2Go is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# X2Go is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the
+# Free Software Foundation, Inc.,
+# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+if [ -z "$X2GO_HANDLE_DAEMON" ]; then
+ if [ -d ~x2gothinclient ]; then
+ find ~x2gothinclient -mindepth 1 -type f | egrep -v "(\.Xauthority|.dmrc)" | while read file; do
+ rm -vf "$file"
+ done
+ find ~x2gothinclient -mindepth 1 -type d -delete
+ fi
+fi
diff --git a/examples/disklserver/settings_x2go-minidesktop+amd64+bullseye/x2gothinclient_init.d/010_x2gothinclient-fresh-home b/examples/disklserver/settings_x2go-minidesktop+amd64+bullseye/x2gothinclient_init.d/010_x2gothinclient-fresh-home
new file mode 100755
index 0000000..2417a24
--- /dev/null
+++ b/examples/disklserver/settings_x2go-minidesktop+amd64+bullseye/x2gothinclient_init.d/010_x2gothinclient-fresh-home
@@ -0,0 +1,53 @@
+#!/bin/bash
+
+# Copyright (C) 2010-2019 by X2Go project, https://wiki.x2go.org
+# Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
+# Moritz 'Morty' Struebe <Moritz.Struebe@informatik.uni-erlangen.de>
+# Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+
+# X2Go is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# X2Go is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the
+# Free Software Foundation, Inc.,
+# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+if [ -z "$X2GO_HANDLE_DAEMON" ]; then
+ mkdir -p ~x2gothinclient
+ mkdir -p ~x2gothinclient/.x2goclient
+ if [ -e /etc/x2go/x2gothinclient_sessions ]; then
+ cp /etc/x2go/x2gothinclient_sessions ~x2gothinclient/.x2goclient/sessions
+ fi
+ if [ -e /etc/x2go/freerdp/known_hosts ]; then
+ mkdir -p ~x2gothinclient/.freerdp
+ cp /etc/x2go/freerdp/known_hosts ~x2gothinclient/.freerdp/known_hosts
+ fi
+ if [ -e /etc/x2go/freerdp/known_hosts2 ]; then
+ mkdir -p ~x2gothinclient/.config/freerdp
+ cp /etc/x2go/freerdp/known_hosts2 ~x2gothinclient/.config/freerdp/known_hosts2
+ fi
+ if [ -e /etc/xdg/autostart/x2gothinclient-minidesktop.desktop ]; then
+ mkdir -p ~x2gothinclient/Desktop
+ cp /etc/xdg/autostart/x2gothinclient-minidesktop.desktop ~x2gothinclient/Desktop/
+ chmod 0700 ~x2gothinclient/Desktop/x2gothinclient-minidesktop.desktop
+ fi
+ mkdir -p ~x2gothinclient/.kde
+ mkdir -p ~x2gothinclient/.kde/socket-`hostname`
+ mkdir -p ~x2gothinclient/mounts
+ mkdir -p ~x2gothinclient/.gnupg
+ echo -e "pinentry-program /usr/bin/pinentry-x2go\nenable-ssh-support">~x2gothinclient/.gnupg/gpg-agent.conf
+ mkdir -p ~x2gothinclient/export
+ mkdir -p ~x2gothinclient/logins
+ mkdir -p ~x2gothinclient/.ssh
+ mkdir -p ~x2gothinclient/.x2go
+ chown x2gothinclient:x2gothinclient ~x2gothinclient -Rf
+ chmod go-rwx ~x2gothinclient -Rf
+fi
diff --git a/examples/disklserver/settings_x2go-minidesktop+amd64+bullseye/x2gothinclient_init.d/950_x2gothinclient-minidesktop b/examples/disklserver/settings_x2go-minidesktop+amd64+bullseye/x2gothinclient_init.d/950_x2gothinclient-minidesktop
new file mode 100755
index 0000000..023e210
--- /dev/null
+++ b/examples/disklserver/settings_x2go-minidesktop+amd64+bullseye/x2gothinclient_init.d/950_x2gothinclient-minidesktop
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+# Copyright (C) 2010-2019 by X2Go project, https://wiki.x2go.org
+# Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
+# Moritz 'Morty' Struebe <Moritz.Struebe@informatik.uni-erlangen.de>
+# Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+
+# X2Go is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# X2Go is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the
+# Free Software Foundation, Inc.,
+# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+if [ -d "/lib/live/config" ] || [ -e "/usr/share/doc/x2gothinclient-minidesktop" ]; then
+ . /etc/X11/Xsession
+fi
diff --git a/examples/disklserver/settings_x2go-minidesktop+amd64+bullseye/x2gothinclient_sessions b/examples/disklserver/settings_x2go-minidesktop+amd64+bullseye/x2gothinclient_sessions
new file mode 100644
index 0000000..750a5c4
--- /dev/null
+++ b/examples/disklserver/settings_x2go-minidesktop+amd64+bullseye/x2gothinclient_sessions
@@ -0,0 +1,66 @@
+[20100623163928371]
+defsndport = false
+useiconv = false
+iconvfrom = ISO8859-15
+height = 768
+export =
+speed = 4
+fullscreen = true
+width = 1024
+quality = 9
+xdmcpserver = localhost
+soundtunnel = 1
+rdpoptions =
+soundsystem = pulse
+print = 1
+type = auto
+sndport = 4713
+usekbd = true
+fstunnel = true
+applications = OFFICE, WWWBROWSER, MAILCLIENT, TERMINAL
+host = 192.168.0.254
+link = ADSL
+user = <USER>
+key =
+startsoundsystem = false
+icon =
+sound = true
+rootless = false
+name = X2Go.EXAMPLE
+iconvto = UTF-8
+rdpserver =
+useexports = true
+command = MATE
+dpi = 96
+sshport = 22
+setdpi = false
+pack = 16m-jpeg
+
+[20120607130604224872]
+height = 768
+export =
+fullscreen = true
+useexports = 1
+width = 1024
+speed = 4
+rdpoptions =
+soundsystem = pulse
+print = true
+type = auto
+sndport = 4713
+usekbd = true
+host = rdpserver.your-intranet.local
+multidisp=false
+sound=false
+rootless=false
+name=DirectRDP.Example
+command=RDP
+dpi=96
+published=false
+setdpi=false
+user=<USER>
+maxdim=false
+rdpclient=xfreerdpnew
+directrdpsettings=/d:YOUR-DOMAIN /sound:sys:pulse /cert-ignore
+rdpport=3389
+directrdp=true
diff --git a/examples/disklserver/x2gothinclient-settings.conf b/examples/disklserver/x2gothinclient-settings.conf
new file mode 100644
index 0000000..42115dd
--- /dev/null
+++ b/examples/disklserver/x2gothinclient-settings.conf
@@ -0,0 +1,61 @@
+# Copyright (C) 2010-2021 by X2Go project, http://wiki.x2go.org
+# Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de>
+# Moritz 'Morty' Struebe <Moritz.Struebe@informatik.uni-erlangen.de>
+# Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+
+# X2Go is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# X2Go is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the
+# Free Software Foundation, Inc.,
+# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+# select the TCE flavour (classical: "displaymanager", minimal MATE desktop shell: "minidesktop")
+TC_FLAVOUR="minidesktop"
+
+# Distro codename to use...
+TC_DISTRO_CODENAME="bullseye"
+
+# Architecture of the chroot...
+TC_DISTRO_ARCH="amd64"
+
+# path to X2Go thin client chroot
+TC_CHROOT="/srv/ltsp/x2go-${TC_FLAVOUR}+${TC_DISTRO_ARCH}+${TC_DISTRO_CODENAME}"
+
+# path to the X2Go thin client configuration
+TC_CONFIG="/etc/ltsp/settings_x2go-${TC_FLAVOUR}+${TC_DISTRO_ARCH}+${TC_DISTRO_CODENAME}"
+
+# shell to use when maintaining X2Go thin client chroot manually
+TC_SHELL="bash"
+
+# Use a http/ftp proxy during debootstrap (leave empty if direct connections to http/ftp are allowed)
+#TC_HTTP_PROXY="http://webcache.intern:3128"
+#TC_HTTPS_PROXY="http://webcache.intern:3128"
+#TC_FTP_PROXY="http://webcache.intern:3128"
+TC_HTTP_PROXY="http://faiserver:8000"
+TC_HTTPS_PROXY="http://faiserver:8000"
+TC_FTP_PROXY="http://faiserver:8000"
+
+echo "X2Go Thin Client Environment:"
+echo "============================="
+echo "The X2Go Thin Client Environment is using the following"
+echo "settings:"
+echo
+echo "TC_FLAVOUR=$TC_FLAVOUR"
+echo "TC_DISTRO_CODENAME=$TC_DISTRO_CODENAME"
+echo "TC_DISTRO_ARCH=$TC_DISTRO_ARCH"
+echo "TC_CHROOT=$TC_CHROOT"
+echo "TC_CONFIG=$TC_CONFIG"
+echo "TC_SHELL=$TC_SHELL"
+echo "TC_HTTP_PROXY=$TC_HTTP_PROXY"
+echo "TC_HTTPS_PROXY=$TC_HTTPS_PROXY"
+echo "TC_FTP_PROXY=$TC_FTP_PROXY"
+echo