[X2Go-Commits] [[X2Go Wiki]] page changed: doc:howto:tce
wiki-admin at x2go.org
wiki-admin at x2go.org
Mon Nov 20 02:50:08 CET 2017
A page in your DokuWiki was added or changed. Here are the details:
Date : 2017/11/20 01:50
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.0
IP-Address : 134.3.37.90
Hostname : HSI-KBW-134-3-37-90.hsi14.kabel-badenwuerttemberg.de
Old Revision: https://wiki.x2go.org/doku.php/doc:howto:tce?rev=1511142362
New Revision: https://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Live-Patching the Build]
User : stefanbaur
@@ -134,11 +134,22 @@
use File::Path::Expand;
use Sys::Syslog qw( :standard :macros );
my $user;
- if ( -d "/lib/live/config" ) {
+ if ( -f "/etc/x2go/x2gothinclient-minidesktop_start" ) {
+ # this is a minidesktop environment, which uses
+ # username "x2gothinclient" regardless of whether
+ # it runs on X2Go-TCE-Live or X2Go-TCE-NFS
+ $user='x2gothinclient';
+ } elsif ( -d "/lib/live/config" ) {
+ # this is X2Go-TCE-Live, but not with a
minidesktop
+ # (if it were, the first condition would have matched),
+ # so we use Debian-Live's standard username "user"
$user='user';
} else {
+ # this is X2Go-TCE-NFS or something completely different,
+ # so we'll play it safe and pick the username "x2gothinclient"
+ # just like previous versions of this script did
$user='x2gothinclient';
}
# We need this as chown requires numeric uid/gid
--
This mail was generated by DokuWiki at
https://wiki.x2go.org/
More information about the x2go-commits
mailing list