summaryrefslogtreecommitdiffstats
path: root/src/os-plugins/plugins/kiosk/files/profiles
diff options
context:
space:
mode:
Diffstat (limited to 'src/os-plugins/plugins/kiosk/files/profiles')
l---------src/os-plugins/plugins/kiosk/files/profiles/plain/.bashrc1
-rw-r--r--src/os-plugins/plugins/kiosk/files/profiles/plain/bashrc4
-rw-r--r--src/os-plugins/plugins/kiosk/files/profiles/vmchooser/.bash_profile2
l---------src/os-plugins/plugins/kiosk/files/profiles/vmchooser/.bashrc1
l---------src/os-plugins/plugins/kiosk/files/profiles/vmchooser/.xinitrc1
-rw-r--r--src/os-plugins/plugins/kiosk/files/profiles/vmchooser/bashrc4
-rw-r--r--src/os-plugins/plugins/kiosk/files/profiles/vmchooser/xinitrc7
7 files changed, 20 insertions, 0 deletions
diff --git a/src/os-plugins/plugins/kiosk/files/profiles/plain/.bashrc b/src/os-plugins/plugins/kiosk/files/profiles/plain/.bashrc
new file mode 120000
index 00000000..cee304e6
--- /dev/null
+++ b/src/os-plugins/plugins/kiosk/files/profiles/plain/.bashrc
@@ -0,0 +1 @@
+bashrc \ No newline at end of file
diff --git a/src/os-plugins/plugins/kiosk/files/profiles/plain/bashrc b/src/os-plugins/plugins/kiosk/files/profiles/plain/bashrc
new file mode 100644
index 00000000..28694f85
--- /dev/null
+++ b/src/os-plugins/plugins/kiosk/files/profiles/plain/bashrc
@@ -0,0 +1,4 @@
+if [ "x$(tty)" == "x/dev/tty1" ]; then
+ startx
+ exit
+fi
diff --git a/src/os-plugins/plugins/kiosk/files/profiles/vmchooser/.bash_profile b/src/os-plugins/plugins/kiosk/files/profiles/vmchooser/.bash_profile
new file mode 100644
index 00000000..099cd106
--- /dev/null
+++ b/src/os-plugins/plugins/kiosk/files/profiles/vmchooser/.bash_profile
@@ -0,0 +1,2 @@
+# fix for some systems which don't source .bashrc automatically
+. ~/.bashrc \ No newline at end of file
diff --git a/src/os-plugins/plugins/kiosk/files/profiles/vmchooser/.bashrc b/src/os-plugins/plugins/kiosk/files/profiles/vmchooser/.bashrc
new file mode 120000
index 00000000..cee304e6
--- /dev/null
+++ b/src/os-plugins/plugins/kiosk/files/profiles/vmchooser/.bashrc
@@ -0,0 +1 @@
+bashrc \ No newline at end of file
diff --git a/src/os-plugins/plugins/kiosk/files/profiles/vmchooser/.xinitrc b/src/os-plugins/plugins/kiosk/files/profiles/vmchooser/.xinitrc
new file mode 120000
index 00000000..5539532c
--- /dev/null
+++ b/src/os-plugins/plugins/kiosk/files/profiles/vmchooser/.xinitrc
@@ -0,0 +1 @@
+xinitrc \ No newline at end of file
diff --git a/src/os-plugins/plugins/kiosk/files/profiles/vmchooser/bashrc b/src/os-plugins/plugins/kiosk/files/profiles/vmchooser/bashrc
new file mode 100644
index 00000000..28694f85
--- /dev/null
+++ b/src/os-plugins/plugins/kiosk/files/profiles/vmchooser/bashrc
@@ -0,0 +1,4 @@
+if [ "x$(tty)" == "x/dev/tty1" ]; then
+ startx
+ exit
+fi
diff --git a/src/os-plugins/plugins/kiosk/files/profiles/vmchooser/xinitrc b/src/os-plugins/plugins/kiosk/files/profiles/vmchooser/xinitrc
new file mode 100644
index 00000000..7774f4d2
--- /dev/null
+++ b/src/os-plugins/plugins/kiosk/files/profiles/vmchooser/xinitrc
@@ -0,0 +1,7 @@
+# check if we need to include Xsession script generated by out profile
+# plugin
+[ -e /etc/X11/Xsession.d/10slx-home_env ] && \
+ . /etc/X11/Xsession.d/10slx-home_env
+
+/usr/bin/xsetroot -solid navy
+/opt/openslx/plugin-repo/vmchooser/vmchooser -p /dev/null \ No newline at end of file