Skip to content

Instantly share code, notes, and snippets.

@redecs
Last active December 21, 2015 22:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save redecs/5136841 to your computer and use it in GitHub Desktop.
Save redecs/5136841 to your computer and use it in GitHub Desktop.
#!/bin/bash
# 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) 2012 Klaus Munsteiner <k-linux@mun-steiner.de>
# x2go client starting for Xubuntu
# English:
# This script exports the variables and starts the
# x2go client with xfce4 desktop for Xubuntu.
# It must be installed on the x2go server und must be called from
# the x2go client when it starts.
export XDG_CONFIG_DIRS='/etc/xdg/xdg-xubuntu:/etc/xdg'
export XDG_DATA_DIRS='/usr/share/xubuntu:/usr/local/share/:/usr/share/:/usr/share:/usr/share'
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/nx/X11
# change the LANG variable, if you need an other language
# like German. English is default, no variable necessary.
#export LANG=de_DE.UTF8
exec /usr/bin/startxfce4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment