Re: [X2Go-User] Install x2go TCE-live server

2019-01-23 Thread Stefan Baur
Am 23.01.19 um 10:40 schrieb Stroganov Roman:
> Why I show consideration for it?
> If during one session the user used many different usb disks, then it will
> have many not working links on a desktop (garbage) and in / home/media/. It
> will mislead him...

I agree with you there.  Feedback from the developers is that it is a
bug.  I am currently discussing the best way to fix it with them.
Removing the empty directory on the thinclient will probably be easy.
And as we've seen, it will then automatically disappear from the server
as well.
The tricky part will probably be removing the Desktop link ...

Kind Regards,
Stefan Baur

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

[X2Go-User] Install x2go TCE-live server

2019-01-23 Thread Stroganov Roman
I checked at myself at the test stand as removal of usb drive works
After disconnection of usb disk from the thin client
Console of the thin client:
ls /media/
Data_Treveler
After remove usb drive the directory for mount automatically was not
removed...
We go on the server. We see the link "Data_Treveler" on a desktop and in /
home/user/media/rm/Data_Treveler

We return to the console of the thin client
rm -rf /media/Data_Treveler
Now on the thin client there is no Data_Treveler directory
On the server in / home/user/media/rm/is empty as well as should be. But
the link "Data_Treveler" on a desktop remained.

Why I show consideration for it?
If during one session the user used many different usb disks, then it will
have many not working links on a desktop (garbage) and in / home/media/. It
will mislead him...
-- 
С Уважением Строганов Роман
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Install x2go TCE-live server

2019-01-22 Thread Stefan Baur
Am 22.01.19 um 16:02 schrieb Stefan Baur:
> Ah, I think I understand.
> I will talk to the developers about this.
> My guess is that maybe there is no way to pass the information along to
> the server that the flash disk (with this particular name) has been
> removed, so it only shows the contents as gone.
> 
> But as I said, I'll contact the developers, let's see what they have to say.

So the devs say the folder name SHOULD disappear, everything else would
be a bug.  I'll try it on my demo system tomorrow and will let you know
if I'm seeing it happen as well.

Kind Regards,
Stefan Baur

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Install x2go TCE-live server

2019-01-22 Thread Stefan Baur
Am 22.01.19 um 15:46 schrieb Stroganov Roman:
> You are right. I use the translator.
> The description of a problem in my native language is lower
> 
> При подключении usb диска к тонкому клиенту на нем создается каталог для ее
> монтирования (например /media/Kingston) Эта же директория пробрасывается на
> сервер x2go и там доступна.
> При отключении usb диска каталог монтирования /media/Kingston не удаляется
> автоматически на тонком клиенте и соответственно он виден на сервере, но
> пустой. Это вводит в заблуждение пользователей.
> Я думаю что при отключении usb диска на тонком клиенте должен удаляться
> каталог монтирования (в нашем случае /media/Kingston), а на сервере
> удаляться ссылки на флешку с рабочего стола и каталога пользователя

Ah, I think I understand.
I will talk to the developers about this.
My guess is that maybe there is no way to pass the information along to
the server that the flash disk (with this particular name) has been
removed, so it only shows the contents as gone.

But as I said, I'll contact the developers, let's see what they have to say.

Kind Regards,
Stefan Baur

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

[X2Go-User] Install x2go TCE-live server

2019-01-22 Thread Stroganov Roman
You are right. I use the translator.
The description of a problem in my native language is lower

При подключении usb диска к тонкому клиенту на нем создается каталог для ее
монтирования (например /media/Kingston) Эта же директория пробрасывается на
сервер x2go и там доступна.
При отключении usb диска каталог монтирования /media/Kingston не удаляется
автоматически на тонком клиенте и соответственно он виден на сервере, но
пустой. Это вводит в заблуждение пользователей.
Я думаю что при отключении usb диска на тонком клиенте должен удаляться
каталог монтирования (в нашем случае /media/Kingston), а на сервере
удаляться ссылки на флешку с рабочего стола и каталога пользователя


-- 
С Уважением Строганов Роман
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Install x2go TCE-live server

2019-01-22 Thread Stefan Baur
Am 22.01.19 um 14:29 schrieb Stroganov Roman:
> usb drive are mounted well. Russian is displayed correctly both on the thin
> client and on the server. To work with objects with the Russian names
> became possible.
> Thanks a lot for the help!

You're welcome!  Also, debugging this publicly on the list has helped us
find a bug in x2gousbmount, and parts of the debugging session we had
with you became a new FAQ entry for TCE-Live
().


> But me the small mistake seems to eat in a script. After shutdown of usb
> drive of a directory of assembling are not removed automatically on the
> thin client and continue to be displayed on the server, but empty.
> If to insert, for example, 5 usb drive, and the spendthrift to disconnect
> them, then there will be 5 empty directories.

I'm not quite sure what you are trying to say here.  I'm guessing you
are using Google Translate to post in English?
While this list's language is English, I think we could make an
exception here and let you re-post this paragraph in your native
language (which I'm guessing is Russian or Ukrainian).
We have other Russian/Ukrainian speakers here on the list that might be
able to provide an English translation for me. :)

Kind Regards,
Stefan Baur

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

[X2Go-User] Install x2go TCE-live server

2019-01-22 Thread Stroganov Roman
Yes, that that went not so. Checksum of my patch was another.
I applied yours. Checksum coincided.
usb drive are mounted well. Russian is displayed correctly both on the thin
client and on the server. To work with objects with the Russian names
became possible.
Thanks a lot for the help!
But me the small mistake seems to eat in a script. After shutdown of usb
drive of a directory of assembling are not removed automatically on the
thin client and continue to be displayed on the server, but empty.
If to insert, for example, 5 usb drive, and the spendthrift to disconnect
them, then there will be 5 empty directories.

-- 
С Уважением Строганов Роман
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Install x2go TCE-live server

2019-01-22 Thread Stefan Baur
Am 22.01.19 um 12:00 schrieb Stroganov Roman:
> If I carry out ./x2gousbpatch && ./x2gobuild2 2>&1 | tee logfile that the
> patch is downloaded with github. This is not what it is necessary for me.
> I change in ./patch/includes.chroot/usr/lib/x2go/tce/x2gousbmount a line
> elsif (system("mount -tvfat $dev /media/$name/$ldev -o
> uid=$user,sync,uni_xlate") == 0)
> on
> elsif (system("mount -tvfat $dev /media/$name/$ldev -o
> uid=$user,sync,utf8") == 0)
> also I carry out
> ./x2gobuild2 2>&1 | tee logfile
> create a new build
> It breaks autoconnection of any disks (ntfs, fat) Not forwarding to server.
> Does not mount on the thin client.

That sounds like something went wrong when you copy-pasted/edited the
file.  The change, properly applied, would also only affect vfat mounts,
not ntfs.

The original download from github has md5 checksum
4ce1acefdfa39bef3755d55a6a22b673
after correctly applying the patch, the checksum should be:
3b3e4b25acc259e01c80a4c7bdead0fb

I have also uploaded a copy of the patched file to
 - try downloading it from
there, verify the checksum, and replace the link in ./x2gousbpatch with
it.  Note that this download won't stay up forever, so you should save a
local copy somewhere.

When inside the booted thinclient environment, you can also check that
the file is syntactically correct by running

perl -c /usr/lib/x2go/tce/x2gousbmount

Which should return a "syntax OK" message if everything went well.

Since you're not seeing any automatic mounts take place after you
changed the file, I would assume it will complain about some error here
(Maybe "Bareword found where operator expected ..." or something like that.)

I just verified it on my test machine, when I change uni_xlate to utf8
in the line quoted above, mounts still work for me.


> In the console of the thin client I do mount/dev/far32_drive  /mnt/fat32
> without additional parameters and well I see directories and files with the
> Russian names.
> 
> On  regular Ubuntu checked connection of usb drive fat32. Everything is
> well read/written
> user@3S-13:~$ mount | grep fat
> /dev/sdb1 on /media/user/ROSTMA type vfat
> (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)

See, that string contains "utf8", not "uni_xlate", so it confirms my
theory that the "uni_xlate" in that x2gousbmount script is causing the
problem for you.

Kind Regards,
Stefan Baur

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

[X2Go-User] Install x2go TCE-live server

2019-01-22 Thread Stroganov Roman
If I carry out ./x2gousbpatch && ./x2gobuild2 2>&1 | tee logfile that the
patch is downloaded with github. This is not what it is necessary for me.
I change in ./patch/includes.chroot/usr/lib/x2go/tce/x2gousbmount a line
elsif (system("mount -tvfat $dev /media/$name/$ldev -o
uid=$user,sync,uni_xlate") == 0)
on
elsif (system("mount -tvfat $dev /media/$name/$ldev -o
uid=$user,sync,utf8") == 0)
also I carry out
./x2gobuild2 2>&1 | tee logfile
create a new build
It breaks autoconnection of any disks (ntfs, fat) Not forwarding to server.
Does not mount on the thin client.

In the console of the thin client I do mount/dev/far32_drive  /mnt/fat32
without additional parameters and well I see directories and files with the
Russian names.

On  regular Ubuntu checked connection of usb drive fat32. Everything is
well read/written
user@3S-13:~$ mount | grep fat
/dev/sdb1 on /media/user/ROSTMA type vfat
(rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)

-- 
С Уважением Строганов Роман
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Install x2go TCE-live server

2019-01-21 Thread Stefan Baur
Am 21.01.19 um 16:00 schrieb Stefan Baur:
> My guess is that FAT32 (to be more precise: the vfat mount module)
> doesn't support UTF-8 out of the box, and/or you're using some regional
> charset (KOI8-R, maybe?) instead of UTF-8.  On a system that expects
> UTF-8, this will cause confusion ...

Well, looking at the source of x2gousbmount, I think the problem is this:

if (system("mount -tntfs $dev /media/$name/$ldev -o
uid=$user,sync,uni_xlate") == 0)

[...]

elsif (system("mount -tvfat $dev /media/$name/$ldev -o
uid=$user,sync,uni_xlate") == 0)

[...]

So for both ntfs and vfat mounts, uni_xlate is set.

man mount says for ntfs:

uni_xlate={0|1|2}
For 0 (or `no' or `false'), do not use escape sequences for unknown
Unicode characters.  For 1 (or `yes' or `true') or 2, use vfat-style
4-byte escape sequences starting with ":".  Here 2 give a little-endian
encoding and 1 a byteswapped bigendian encoding.

while for vfat, the same parameter is documented to do something else:
uni_xlate
Translate unhandled Unicode characters to special escaped sequences.
This lets you backup and restore filenames that are created with any
Unicode characters.  Without this option, a '?' is used when no
translation is possible.  The escape character is ':' because it is
otherwise invalid on the vfat filesystem.  The escape sequence that gets
used, where u is the Unicode character, is: ':', (u & 0x3f), ((u>>6) &
0x3f), (u>>12).

AND man mount also says under "vfat"

utf8
UTF8 is the filesystem safe 8-bit encoding of Unicode that is used by
the console.  It can be enabled for the filesystem with this option or
disabled with utf8=0, utf8=no or utf8=false. If  'uni_xlate'  gets  set,
UTF8 gets disabled.

The last sentence is the important one.

So, since we are setting uni_xlate for the vfat mounts, utf8 gets
disabled, which explains why you're seeing the hex codes instead.

A workaround for you is to cd into the
./patch/includes.chroot/usr/lib/x2go/tce/ directory you created, and
edit the file x2gousbmount there.

Look for the line

elsif (system("mount -tvfat $dev /media/$name/$ldev -o
uid=$user,sync,uni_xlate") == 0)

(all on one line)

and replace 'uni_xlate' with 'utf8'.

After that, create a new build and deploy it.

Please let us know if that worked.  If it did, we will have to think
about how to handle this in future releases.

Kind Regards,
Stefan Baur

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Install x2go TCE-live server

2019-01-21 Thread Stefan Baur
Am 21.01.19 um 15:14 schrieb Stroganov Roman:
> I will share the observations:
> I have 2 identical usb drive. One ntfs, other fat32. On both I create a
> directory "Новая папка" (new folder) and "новый файл.txt" (new file.txt)
> We connect both and we watch contents after mount in the console of the
> thin client:
> 
> ls /media/ntfs_drive/
> Новая Папка  новый файл.txt  System Volume Information
> 
> ls /media/fat32_drive/
> :041d:043e:0432:0430:044f :043f:0430:043f:043a:0430
> :043d:043e:0432:044b:0439 :0444:0430:0439:043b.txt   System Volume
> Information
> 
> Later we go on the server.
> We open on the ntfs_drive server and we see normal Russian names of the
> file and a directory. It is possible to create new objects with the Russian
> names without problems. Checked even the Ukrainian alphabet. Everything is
> OK!

So NTFS-formatted drives work fine ...

> We open on the fat32_drive server. There is a directory": 041d: 043e:
> 0432:0430:044f: 043f: 0430:043f: 043a: 0430" and file": 043d: 043e:
> 0432:044b: 0439: 0444:0430:0439:043b.txt". It is impossible to create
> directories/files in Russian

My guess is that FAT32 (to be more precise: the vfat mount module)
doesn't support UTF-8 out of the box, and/or you're using some regional
charset (KOI8-R, maybe?) instead of UTF-8.  On a system that expects
UTF-8, this will cause confusion ...

What happens when you umount the VFAT drive (leave it plugged in) as
root, then mount it manually? Do the characters show up correctly now?

What happens when you use

mount -t vfat -o utf8 /dev/sda1 /media/fat32_drive

or

mount -t vfat -o utf8=0 /dev/sda1 /media/fat32_drive

or

mount -t vfat -o uni_xlate /dev/sda1 /media/fat32_drive

# (yes, that is uni_xlate, not unix_late)

Any change in the output?

Also, have a look at "man mount", look at the possible values for the
options "codepage", and "iocharset", see if you can change one of them
to make it work manually.

Do you have a regular Debian/Ubuntu Linux client where you can mount
this FAT32 flash disk and everything works as expected?

If so, on that machine, please run "mount | grep fat" once the flash
disk is mounted, and post the output.

If it just happens to be additional mount options, we could probably
support them somehow.

Kind Regards,
Stefan Baur

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

[X2Go-User] Install x2go TCE-live server

2019-01-21 Thread Stroganov Roman
I will share the observations:
I have 2 identical usb drive. One ntfs, other fat32. On both I create a
directory "Новая папка" (new folder) and "новый файл.txt" (new file.txt)
We connect both and we watch contents after mount in the console of the
thin client:

ls /media/ntfs_drive/
Новая Папка  новый файл.txt  System Volume Information

ls /media/fat32_drive/
:041d:043e:0432:0430:044f :043f:0430:043f:043a:0430
:043d:043e:0432:044b:0439 :0444:0430:0439:043b.txt   System Volume
Information

Later we go on the server.
We open on the ntfs_drive server and we see normal Russian names of the
file and a directory. It is possible to create new objects with the Russian
names without problems. Checked even the Ukrainian alphabet. Everything is
OK!

We open on the fat32_drive server. There is a directory": 041d: 043e:
0432:0430:044f: 043f: 0430:043f: 043a: 0430" and file": 043d: 043e:
0432:044b: 0439: 0444:0430:0439:043b.txt". It is impossible to create
directories/files in Russian

sshfs transfers such names of files/directories with what them defined when
mount...

To exclude randomness checked several times

-- 
С Уважением Строганов Роман
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Install x2go TCE-live server

2019-01-21 Thread Stefan Baur
Am 21.01.19 um 13:06 schrieb Stefan Baur:
> Am 21.01.19 um 12:45 schrieb Stroganov Roman:
> 
> Well, I'm glad we got the connection issues solved ...
> 
> 
>> Forwarding directory /home/user/Документы from simple linux (not the thin
>> client) forwards empty directories. If I forward a directory in Latin, it
>> forwards it, but everything is farther as with the thin client. Names are
>> displayed not correctly, and nothing with the Russian names can be
>> created...: (
> 
> Just to make sure we are talking about the same issue: Does this only
> happen when you use X2GoClient's folder sharing, or also when you use
> sshfs on the command line, independent of X2Go?
> 
> Because if it also happens with plain sshfs, this is not a bug in X2Go,
> and you/we'd have to report it as a bug to the maintainer(s) of sshfs.
> 
> If it happens with X2Go only, well, it could be an UTF-8 or otherwise
> charset-related bug ... I'll openly admit we have an unfixed UTF-8 issue
> in a different part of the X2GoClient code (Published Applications
> mode), so who knows, this might be yet another one.
> 
> So please test a plain sshfs connection, if you haven't done so already,
> and let us know if it is affected by the same bug or not.

Some more info on this:

sshfs knows the options

   -o from_code=CHARSET
  original encoding of file names (default: UTF-8)

   -o to_code=CHARSET
  new encoding of the file names (default: ISO-8859-2)

And these can be set in X2GoClient as well ("shared folders" tab in the
session configuration, checkbox "Filename encoding").

Maybe you could try to enforce UTF-8 on both sides, "from" and "to", and
see if that makes a difference.

Also, check the output of

export

on the server for any LANG and LC_ settings - maybe you aren't using
UTF-8 on the server, only on the thinclient, and that's causing the mess?

Kind Regards,
Stefan Baur

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Install x2go TCE-live server

2019-01-21 Thread Stefan Baur
Am 21.01.19 um 12:45 schrieb Stroganov Roman:

Well, I'm glad we got the connection issues solved ...


> Forwarding directory /home/user/Документы from simple linux (not the thin
> client) forwards empty directories. If I forward a directory in Latin, it
> forwards it, but everything is farther as with the thin client. Names are
> displayed not correctly, and nothing with the Russian names can be
> created...: (

Just to make sure we are talking about the same issue: Does this only
happen when you use X2GoClient's folder sharing, or also when you use
sshfs on the command line, independent of X2Go?

Because if it also happens with plain sshfs, this is not a bug in X2Go,
and you/we'd have to report it as a bug to the maintainer(s) of sshfs.

If it happens with X2Go only, well, it could be an UTF-8 or otherwise
charset-related bug ... I'll openly admit we have an unfixed UTF-8 issue
in a different part of the X2GoClient code (Published Applications
mode), so who knows, this might be yet another one.

So please test a plain sshfs connection, if you haven't done so already,
and let us know if it is affected by the same bug or not.

Kind Regards,
Stefan Baur


-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

[X2Go-User] Install x2go TCE-live server

2019-01-21 Thread Stroganov Roman
I apologize. The problem was with my server.
With forwarding usb drive I understood.
When I used ltsp I tried to accelerate ssh. On the ssh_config server there
was a record ciphers arcfour. Therefore could not set connection with the
client on sshfs
Now directories and usb drive are visible on the server, but with the
Russian names of directories or files a problem is created.
usb flash forwarded on the server from the thin client:
directories and files with the Russian names are displayed approximately
so": 041d: lfjh:. tt". New directories / files with the Russian names
are not created.

Forwarding directory /home/user/Документы from simple linux (not the thin
client) forwards empty directories. If I forward a directory in Latin, it
forwards it, but everything is farther as with the thin client. Names are
displayed not correctly, and nothing with the Russian names can be
created...: (

-- 
С Уважением Строганов Роман
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Install x2go TCE-live server

2019-01-19 Thread Stefan Baur
Am 19.01.19 um 08:57 schrieb Stroganov Roman:
> sshfs root@10.3.10.117:/home x2gotempmount
> read: Connection reset by peer

Well, there's your problem: For some reason, you can't establish direct
sshfs mounts to the thinclient.  If *you* can't do it on the command
line, neither can X2GoClient, that's why the mounts don't show up in the
session.

Please make sure that in your "sessions" configuration file, the
parameter "fstunnel=true" is set.  Reboot the thinclient and start a new
connection.  Then plug in the flash disk and see if it shows up.


If it still doesn't show up, the next step to test things out would be a
bit more complicated.

First, you would have to boot the thinclient without the "nouser" and
"noroot" parameters, then switch to the console window (Ctrl+Alt+F1).

Login as user "user" with password "live".

Use "sudo -i" to become root.

As root, run:

sed -i -e 's/PasswordAuthentication no/PasswordAuthentication yes/'
/etc/ssh/sshd_config # this goes on one line

service ssh restart

ssh -R2:127.0.0.1:22 useraccount.h...@yourserver.ip.goes.here

After entering the password for "useraccount.here", you should see your
shell prompt on the server.

There, run

mkdir -p x2gotempmount
sshfs -p 2 user@127.0.0.1:/home x2gotempmount
#(password is "live")
ls -lah x2gotempmount
fusermount -u x2gotempmount
rmdir x2gotempmount

If this still doesn't get you more output than

> ls -lah x2gotempmount
> итого 8,0K
> drwxrwxr-x  2 rostma rostma 4,0K січ 19 09:43 ^[[0m^[[01;34m.^[[0m
> drwxr-xr-x 34 rostma rostma 4,0K січ 19 09:43 ^[[01;34m..^[[0m
> 
> fusermount -u x2gotempmount
> fusermount: entry for /home/rostma/x2gotempmount not found in /etc/mtab

then, while still logged in, please run

ssh -vvv -p 2 user@127.0.0.1
(again, password "live")

and post the debug output.

Kind Regards,
Stefan Baur

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

[X2Go-User] Install x2go TCE-live server

2019-01-19 Thread Stroganov Roman
rostma@tsu:~$ cat /etc/debian_version
stretch/sid

rostma@tsu:~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.5 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.5 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/";
SUPPORT_URL="http://help.ubuntu.com/";
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/";
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial

rostma@tsu:~$ dpkg -l | grep fuse
ii  exfat-fuse
1.2.3-1  amd64read and write
exFAT driver for FUSE
ii  fuse
2.9.4-1ubuntu3.1 amd64Filesystem in
Userspace
ii  gvfs-fuse
1.28.2-1ubuntu1~16.04.2  amd64userspace virtual
filesystem - fuse server
ii  ifuse
1.1.2-0.1build3  amd64FUSE module for
iPhone and iPod Touch devices
ii  libfuse2:amd64
2.9.4-1ubuntu3.1 amd64Filesystem in
Userspace (library)

rostma@tsu:~$ dpkg -l | grep x2go
ii  cups-x2go
3.0.1.4-0~145~ubuntu16.04.1  all  Virtual X2Go
printer for CUPS
ii  libx2go-log-perl
4.1.0.3-0~1708~ubuntu16.04.1 all  Perl X2Go::Log
package
ii  libx2go-server-db-perl
4.1.0.3-0~1708~ubuntu16.04.1 amd64Perl
X2Go::Server:DB package
ii  libx2go-server-perl
4.1.0.3-0~1708~ubuntu16.04.1 all  Perl X2Go::Server
package
ii  python-x2go
0.6.0.2-0~1429~ubuntu16.04.1 all  Python module
providing X2Go client API (Python 2)
ii  x2goclient
4.1.2.1-0~1788~ubuntu16.04.1 amd64X2Go Client
application (Qt4)
ii  x2godesktopsharing
3.2.0.0-0~283~ubuntu16.04.1  amd64Share X11
desktops with other users via X2Go
ii  x2goserver
4.1.0.3-0~1708~ubuntu16.04.1 amd64X2Go server
ii  x2goserver-common
4.1.0.3-0~1708~ubuntu16.04.1 amd64X2Go Server
(common files)
ii  x2goserver-desktopsharing
4.1.0.3-0~1708~ubuntu16.04.1 amd64Share X11
desktops with other users via X2Go
ii  x2goserver-extensions
4.1.0.3-0~1708~ubuntu16.04.1 all  X2Go Server
(extension support)
ii  x2goserver-fmbindings
4.1.0.3-0~1708~ubuntu16.04.1 all  X2Go Server (file
manager bindings)
ii  x2goserver-printing
4.1.0.3-0~1708~ubuntu16.04.1 all  X2Go server
(printing support)
ii  x2goserver-x2goagent
4.1.0.3-0~1708~ubuntu16.04.1 amd64X2Go Server's
X2Go Agent
ii  x2goserver-xsession
4.1.0.3-0~1708~ubuntu16.04.1 all  X2Go Server
(Xsession runner)

rostma@tsu:~$ dpkg -l | grep nx
ii  inxi
2.2.35-0ubuntu1  all  full featured
system information script
ii  libnx-x11-6:amd64
2:3.5.99.17-0~201811270304~ubuntu16.04.1 amd64nxagent's
libNX_X11 client-part library
ii  nx-x11-common
2:3.5.99.17-0~201811270304~ubuntu16.04.1 all  nx-X11 (common
files)
ii  nxagent
2:3.5.99.17-0~201811270304~ubuntu16.04.1 amd64Nested Xserver
(aka NX Agent) supporting the NX compression protocol
ii  nxproxy
2:3.5.99.17-0~201811270304~ubuntu16.04.1 amd64NX proxy

rostma@tsu:~$ dpkg -l | grep sshfs
ii  sshfs
2.5-1ubuntu1 amd64filesystem client
based on SSH File Transfer Protocol

sshfs root@10.3.10.117:/home x2gotempmount
read: Connection reset by peer

ls -lah x2gotempmount
итого 8,0K
drwxrwxr-x  2 rostma rostma 4,0K січ 19 09:43 ^[[0m^[[01;34m.^[[0m
drwxr-xr-x 34 rostma rostma 4,0K січ 19 09:43 ^[[01;34m..^[[0m

fusermount -u x2gotempmount
fusermount: entry for /home/rostma/x2gotempmount not found in /etc/mtab

-- 
С Уважением Строганов Роман
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Install x2go TCE-live server

2019-01-18 Thread Stefan Baur
Am 18.01.19 um 19:14 schrieb Stroganov Roman:
> You are right! On the x2go server there are no forwarded disks/directories
> from clients. The thin client tried from clients of Linux, win. In a
> directory of the user there is a link to directory/media, in 3
> subdirectories of CD, disk, rm. All of them are empty.
> Earlier everything worked on this server as 100% I shared disks from
> Linux/win of clients with x2go the server.
> I decided to check is on the x2goserver-fmbindings server
> 
> The packet of x2goserver-fmbindings of the newest version is already set
> (4.1.0.3-0 ~ 1708 ~ ubuntu16.04.1).
> The following packets were established automatically and any more are not
> required:
>   linux-headers-4.4.0-112 linux-headers-4.4.0-112-generic
> linux-image-4.4.0-112-generic linux-image-extra-4.4.0-112-generic
> For their removal use "sudo apt autoremove".
> 
> It what depends on the version of a kernel? At me now 4.4.0.142. Maybe
> updating what that broke?
> I have a backup copy. I can try to recover it (I do not know what a kernel
> there) If earns - any more never to update a kernel?

That doesn't sound like the kernel is at fault.

Please ssh into the server, using an SSH key that is also allowed to log
in to the thinclient, and using the -A parameter ("ssh -A
your.u...@server.ip.goes.here"), then, on the server, run these commands
and post their output:

cat /etc/debian_version
cat /etc/os-release
dpkg -l | egrep 'fuse|x2go|nx|sshfs'
mkdir x2gotempmount
sshfs r...@thinclient.ip.goes.here:/home x2gotempmount
ls -lah x2gotempmount
fusermount -u x2gotempmount
rmdir x2gotempmount

(my gut feeling is that you are missing the fuse or sshfs package ...)

Kind Regards,
Stefan Baur

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

[X2Go-User] Install x2go TCE-live server

2019-01-18 Thread Stroganov Roman
You are right! On the x2go server there are no forwarded disks/directories
from clients. The thin client tried from clients of Linux, win. In a
directory of the user there is a link to directory/media, in 3
subdirectories of CD, disk, rm. All of them are empty.
Earlier everything worked on this server as 100% I shared disks from
Linux/win of clients with x2go the server.
I decided to check is on the x2goserver-fmbindings server

The packet of x2goserver-fmbindings of the newest version is already set
(4.1.0.3-0 ~ 1708 ~ ubuntu16.04.1).
The following packets were established automatically and any more are not
required:
  linux-headers-4.4.0-112 linux-headers-4.4.0-112-generic
linux-image-4.4.0-112-generic linux-image-extra-4.4.0-112-generic
For their removal use "sudo apt autoremove".

It what depends on the version of a kernel? At me now 4.4.0.142. Maybe
updating what that broke?
I have a backup copy. I can try to recover it (I do not know what a kernel
there) If earns - any more never to update a kernel?

-- 
С Уважением Строганов Роман
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Install x2go TCE-live server

2019-01-18 Thread Stefan Baur
Am 18.01.19 um 15:51 schrieb Stroganov Roman:
> I repeated build image for the thin client.
> Now from the console of the thin client of
> md5sum/usr/lib/x2go/tce/x2gousbmount gives correctly
> 4ce1acefdfa39bef3755d55a6a22b673
> Usb drive is mounted in / media/Data_Treveler/sda1 and I see its contents
> there, 

Okay, so we got that fixed. Nice. :-)


> there, but how to me now to see it on the server?
> I tried x2go-tce-sessions to add export=/media/, but it leads to crash of a
> session of the thin client

Before going bug-hunting on the thinclient any further, please verify
that folder sharing works in general, by using a regular X2GoClient and
configuring a session with folder sharing there.

How to do that is explained here:


If you can confirm folder sharing works in general, then the issue must
be with the thinclient/the session file used and we should take a closer
look there.  But if you can't get folder sharing to work at all, it is
more likely to be a server issue - maybe the "fuse" package isn't
installed on the server?
To install, you can use "sudo apt install fuse" on Debian/Ubuntu, or
"sudo yum install fuse" on Fedora, RHEL, CentOS.

Kind Regards,
Stefan Baur

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

[X2Go-User] Install x2go TCE-live server

2019-01-18 Thread Stroganov Roman
I repeated build image for the thin client.
Now from the console of the thin client of
md5sum/usr/lib/x2go/tce/x2gousbmount gives correctly
4ce1acefdfa39bef3755d55a6a22b673
Usb drive is mounted in / media/Data_Treveler/sda1 and I see its contents
there, but how to me now to see it on the server?
I tried x2go-tce-sessions to add export=/media/, but it leads to crash of a
session of the thin client

-- 
С Уважением Строганов Роман
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Install x2go TCE-live server

2019-01-18 Thread Stefan Baur
Am 18.01.19 um 11:57 schrieb Stroganov Roman:
>  ls -la /usr/lib/x2go/tce/x2gousbmount
> -rwxr-xr-x 1 root root 12886 Янв 16 19:17 /usr/lib/x2go/tce/x2gousbmount
> 
> md5sum /usr/lib/x2go/tce/x2gousbmount
> a6959f1f1de425ea26d8076d21b84b3e  /usr/lib/x2go/tce/x2gousbmount

Hmm, that's not the x2gousbmount version you should be using.  Maybe
something went wrong during your build and the patch didn't get applied.

On the thinclient, do:
sudo wget -O /usr/lib/x2go/tce/x2gousbmount
'https://code.x2go.org/gitweb?p=x2gothinclient.git;a=blob_plain;f=usbmount/x2gousbmount;hb=c6106bd12ca0278b8706e87813ff782c0bbb6132'
#this all goes on one line

followed by

sudo chmod 755 /usr/lib/x2go/tce/x2gousbmount

Then remove the flash disk, wait a few seconds, insert it again.

Follow up with another call of

grep usbmount /var/log/syslog

If it shows up as mounted now, go back to your build directory, run

mkdir -p ./patch/includes.chroot/usr/lib/x2go/tce/ ; wget -O
./patch/includes.chroot/usr/lib/x2go/tce/x2gousbmount
'https://code.x2go.org/gitweb?p=x2gothinclient.git;a=blob_plain;f=usbmount/x2gousbmount;hb=c6106bd12ca0278b8706e87813ff782c0bbb6132'
; chmod 755 ./patch/includes.chroot/usr/lib/x2go/tce/x2gousbmount #this
all goes on one line

and start a new build.  Once done, boot the image, log in, and run

md5sum /usr/lib/x2go/tce/x2gousbmount

again. It should now show a checksum of 4ce1acefdfa39bef3755d55a6a22b673
and the mount should work automatically.


Else, if it still comes up empty, try the following on the thinclient
(assuming it is the same flash disk you used for your previous
experiments) - but be sure to run it as root (if you're not logged in
remotely, run "sudo -i" for a root shell after logging in as user):

DEVNAME=/dev/sda1 ID_MODEL=MODEL ID_VENDOR=VENDOR ACTION=add
/usr/lib/x2go/tce/x2gousbmount #this all goes on one line

This might spit out a (non-fatal) error message related to NTFS, if the
drive is FAT formatted.  Please post the complete output, as well as the
output of

mount | grep sda1


> fdisk -l
> -bash fdisk: Command not found

You are not running this as root.
Please repeat as root, with the flash disk connected (try "sudo fdisk -l").


Kind Regards,
Stefan Baur

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

[X2Go-User] Install x2go TCE-live server

2019-01-18 Thread Stroganov Roman
 ls -la /usr/lib/x2go/tce/x2gousbmount
-rwxr-xr-x 1 root root 12886 Янв 16 19:17 /usr/lib/x2go/tce/x2gousbmount

md5sum /usr/lib/x2go/tce/x2gousbmount
a6959f1f1de425ea26d8076d21b84b3e  /usr/lib/x2go/tce/x2gousbmount

fdisk -l
-bash fdisk: Command not found

grep usbmount /var/log/syslog
empty line

-- 
С Уважением Строганов Роман
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Install x2go TCE-live server

2019-01-18 Thread Stefan Baur
Am 17.01.19 um 20:41 schrieb Stroganov Roman:
> I made
> mount | tee mountbefore
> mount | tee mountafter
> diff mountbefore mountafter
> Blank line
> 
> If flash disk is inserted into consoles of the thin client when to gather
> lsblk I see
> 
> sda   30G  disk
> sda1  30G  part
> 
> But there are no mount points. I can make
> sudo mkdir /mnt/1
> sudo mount /dev/sda1 /mnt/1
> ls /mnt/1
> I see directories and files of the flash drive
> If I correctly understand a disk does not mount on the thin client.

Please reboot the thinclient, so your manual mounts are gone.

Log in as root on the thinclient, run the following commands, and post
the output here:

ls -la /usr/lib/x2go/tce/x2gousbmount
md5sum /usr/lib/x2go/tce/x2gousbmount

Then, insert the flash disk and run these commands:

fdisk -l
grep usbmount /var/log/syslog

and also post the output here.

I just checked it on my test system with a recent build and the
automounter triggers just fine there, so I wonder what's wrong on your
system.

Kind Regards,
Stefan Baur

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Install x2go TCE-live server

2019-01-17 Thread Stefan Baur
Am 17.01.19 um 20:41 schrieb Stroganov Roman:
> I made
> mount | tee mountbefore
> mount | tee mountafter
> diff mountbefore mountafter
> Blank line
> 
> If flash disk is inserted into consoles of the thin client when to gather
> lsblk I see
> 
> sda   30G  disk
> sda1  30G  part
> 
> But there are no mount points.

Okay, so the automounter is broken somehow.

I haven't used the function in a while, so I will check this myself with
a recent build on a test system here - but tomorrow.

If it works for me, we'll have to compare a few files; if it is broken
for me as well, I'll investigate on my own and try to get it fixed.

Kind Regards,
Stefan Baur

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

[X2Go-User] Install x2go TCE-live server

2019-01-17 Thread Stroganov Roman
I made
mount | tee mountbefore
mount | tee mountafter
diff mountbefore mountafter
Blank line

If flash disk is inserted into consoles of the thin client when to gather
lsblk I see

sda   30G  disk
sda1  30G  part

But there are no mount points. I can make
sudo mkdir /mnt/1
sudo mount /dev/sda1 /mnt/1
ls /mnt/1
I see directories and files of the flash drive
If I correctly understand a disk does not mount on the thin client.

-- 
С Уважением Строганов Роман
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Install x2go TCE-live server

2019-01-17 Thread Stefan Baur
Hi Roman!

Am 17.01.19 um 14:08 schrieb Stroganov Roman:
> On points:
> At me on the xfce server
> 
> Sound:
> The sound earned. audioout=list helped to see the correct name of the
> alsa_card.pci-_00_1b.0|output:analog-stereo sound card But a sound
> every time of mute. It is necessary to include it.

Okay. So you will have to include the proper audioout boot parameter for
your devices.  If you need different settings for different
manufacturers, you can try to tell them apart by MAC address and set
separate pxe boot configuration files for them.

To un-mute, you probably need to create a script on the server that
raises the volume/toggles the mute setting upon user login.


> Usb disks:
> I tried 3 usb flash drive. On all there is a file system and they are
> workers. Did everything in the console of the thin client (ctrl alt f1
> user/live)
> 
> mount | tee mountbefore
> then insert the USB flash drive
> mount | tee mountafter
> diff mountbefore mountafter
> Output blank line (there is no difference between files)
> 
> At the same time at connection of usb it is displayed nothing in the
> console. Only at connection of one device in the console appears
> sd 6:0:0:0 [sda] No Caching mode page found
> sd 6:0:0:0 [sda] Assuming drive cache: write through
> 
> If in the console of the thin client to execute udevadm monitor - property
> - kernel - udev, then at connection of any flash drive outputs a lot of
> information on the attached device (model, serial number, vendor and many
> other things)


Okay then, please repeat the same commands, but this time as root on the
thinclient.

mount | tee mountbefore

then insert the USB flash drive, wait a moment, then run

mount | tee mountafter

diff mountbefore mountafter

If we get a result there, then it means mounting works properly on the
client side, and we need to investigate why it isn't passed along to the
server.  If not, we need to investigate why the automounter on the
client isn't working.

Kind Regards,
Stefan Baur

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

[X2Go-User] Install x2go TCE-live server

2019-01-17 Thread Stroganov Roman
On points:
At me on the xfce server

Sound:
The sound earned. audioout=list helped to see the correct name of the
alsa_card.pci-_00_1b.0|output:analog-stereo sound card But a sound
every time of mute. It is necessary to include it.

Usb disks:
I tried 3 usb flash drive. On all there is a file system and they are
workers. Did everything in the console of the thin client (ctrl alt f1
user/live)

mount | tee mountbefore
then insert the USB flash drive
mount | tee mountafter
diff mountbefore mountafter
Output blank line (there is no difference between files)

At the same time at connection of usb it is displayed nothing in the
console. Only at connection of one device in the console appears
sd 6:0:0:0 [sda] No Caching mode page found
sd 6:0:0:0 [sda] Assuming drive cache: write through

If in the console of the thin client to execute udevadm monitor - property
- kernel - udev, then at connection of any flash drive outputs a lot of
information on the attached device (model, serial number, vendor and many
other things)

-- 
С Уважением Строганов Роман
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Install x2go TCE-live server

2019-01-17 Thread Stefan Baur
Am 17.01.19 um 09:48 schrieb Stroganov Roman:
> From this what checked:
> tcpprint - works (checked for kyocera fs-1300d, but I think any printers
> which work with linux will work)

This is raw TCP/IP, so the make and model of printer doesn't matter.
In fact, you could hook up a cheap GDI printer that only works with
Windows - as long as the print job is created on a Windows machine, it
would print.  Not really practical for X2Go, I think, but it would work,
as silly as it is.

Do make sure to set tcpprintonlyfrom= (syntax is the same as
xinetd's only_from), though - else you might be in for a nasty surprise
sooner or later:


etc.

> usb-flash-drive(fat/ntfs) - Does not work (how to repair I do not know.
> there is no usb of devices anywhere. x2goserverfmbindings on the server is)

Please open an xterm or similar shell on the server (inside the X2Go
session).
Run

mount | tee mountbefore

then insert the USB flash drive, wait a moment, then run

mount | tee mountafter

diff mountbefore mountafter

This should show if any mounts are taking place.

Also, which Desktop Environment are you using? XFCE, MATE, LXDE, ...?


> The sound - does not work (00:1b.0 Audio device: Intel Corparation
> 82801JD/D0 (ICH10)

First, check that the audio isn't simply muted (some cards/setups do
this by default).  Run "pavucontrol" inside the X2Go session. Check the
settings on the tabs "Output Devices" and "Configuration".

If that doesn't help, please boot with additional boot parameter

audioout=list

and look at the output on console #8 (Hit Ctrl+Alt+F8) - it will give
you a list of available audio output devices.  This list also gets
written to /tmp/audiolog on the ThinClient.

You might have to pick a different one from the list, by using boot
parameter audiout with a particular card/output value, like:

audioout=“alsa_card.pci-_00_1b.0|output:hdmi-stereo”

(you need to copy the proper value from the list).

As general advice, you might also want to take a look at

for more options you can specify as boot parameters.

bg= and branding= might be interesting to you as well, to "theme" the
login screen towards your company CI, and xinerama= if you have
multi-monitor setups.

Kind Regards,
Stefan Baur

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

[X2Go-User] Install x2go TCE-live server

2019-01-17 Thread Stroganov Roman
Yes. It really works! Thanks!

Speed of work of graphics very good. Delays not considerably absolutely.
For tests I started full-screen video. Under equal conditions traffic of
x11forwarding (ltsp) =95-140 Mb/s, x2go=17-22 Mb/s. It very cool. The fact
that I wanted!

>From this what checked:
tcpprint - works (checked for kyocera fs-1300d, but I think any printers
which work with linux will work)
usb-flash-drive(fat/ntfs) - Does not work (how to repair I do not know.
there is no usb of devices anywhere. x2goserverfmbindings on the server is)
The sound - does not work (00:1b.0 Audio device: Intel Corparation
82801JD/D0 (ICH10)

Sound there is a wish, but it is not really important. Usb disks is very
necessary. How it is possible to repair it?

-- 
С Уважением Строганов Роман
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Install x2go TCE-live server

2019-01-16 Thread Stefan Baur
Am 16.01.19 um 18:35 schrieb Stefan Baur:
> Am 16.01.19 um 16:10 schrieb Stefan Baur:
>> Am 16.01.19 um 13:56 schrieb Stroganov Roman:
>>
>>> On the thin client I see the console localhost login text:
>>> Sometimes it is very quickly visible some blue screen and again the console.
> I just encountered a similar issue on a test build.  I'm not sure if it
> is a coincidence, but it might be the current version in git is broken.
>  I'll do a few test runs and will let you know.

Hi Roman,

just start a new build with

./x2gousbpatch && ./x2gobuild2 2>&1 | tee logfile

and afterwards, pick the files starting with x2go-tce-* from the
directory with the newer timestamp.

We had a bug in the TCE version on github that only triggered if no
local screensaver is used.  In our current test setup, we're using one,
so we didn't catch that issue right away.  Once we started using the
image the same way as you, we were affected by the bug as well, and it
was easy to track down.

Kind Regards,
Stefan Baur

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Install x2go TCE-live server

2019-01-16 Thread Stefan Baur
Am 16.01.19 um 16:10 schrieb Stefan Baur:
> Am 16.01.19 um 13:56 schrieb Stroganov Roman:
> 
>> On the thin client I see the console localhost login text:
>> Sometimes it is very quickly visible some blue screen and again the console.
I just encountered a similar issue on a test build.  I'm not sure if it
is a coincidence, but it might be the current version in git is broken.
 I'll do a few test runs and will let you know.

Kind Regards,
Stefan Baur

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Install x2go TCE-live server

2019-01-16 Thread Stefan Baur
Am 16.01.19 um 13:56 schrieb Stroganov Roman:

> On the thin client I see the console localhost login text:
> Sometimes it is very quickly visible some blue screen and again the console.

This is an indication that your X session is starting up, but crashing.
I suggest you log in as root@yourthinclientip via SSH using a public key
provided via a pubkey= boot parameter and file.

As root, you can run:

service nodm stop

to stop the flashing.

Then, look for the files

/home/user/.xsession-errors

and

/var/log/Xorg.0.log

Their content might provide hints as to what is going on, so feel free
to post them here.


> At line with APPEND in the end added fetch=
> http://10.3.1.117/x2go-tce/x2go-tce-filesystem.squashfs sessionsurl=
> http://10.3.1.117/x2go-tce/x2go-tce-sessions session=tsu to the file of a
> configuration

Looks good ...


> In the sessions name=tsu file (I tried to write session=0123456 as at the
> beginning of the session [0123456] file)

No, it's the session name, not the session id, so "tsu" is correct,
assuming you have a session named "tsu".


> What can be made? Can as that it is possible to look at log on the thin
> client? added debug to APPEND. But how to look at it I do not know.

The debug parameter probably won't help you.  It will generate lots of
output regarding the startup phase, but that's not where your problem
lies.  Startup is OK, it's the X Server that is acting up - for reasons
currently unknown.

You might want to try passing boot parameter

xorg-resolution=1024x768 (or a lower resolution)

and/or boot parameters

nomodeset vga=normal

and/or boot parameter

xorg-driver=fbdev or xorg-driver=vesa

and see if the X Server will stay up with one of these.

Kind Regards,
Stefan Baur

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

[X2Go-User] Install x2go TCE-live server

2019-01-16 Thread Stroganov Roman
Unfortunately at me not to receive the thin client to the x2go server...

On the thin client I see the console localhost login text:
Sometimes it is very quickly visible some blue screen and again the console.

I have a computer about Linux and x2go the client. From it I am well
connected to the server. I took from it the work file sessions and copied
it as x2go-tce-sessions on http the server. The file from the server is
downloaded normally.
At line with APPEND in the end added fetch=
http://10.3.1.117/x2go-tce/x2go-tce-filesystem.squashfs sessionsurl=
http://10.3.1.117/x2go-tce/x2go-tce-sessions session=tsu to the file of a
configuration

In the sessions name=tsu file (I tried to write session=0123456 as at the
beginning of the session [0123456] file)

Nothing is impossible.
On the thin client I see the console localhost login text:
Sometimes it is very quickly visible some blue screen and again the console.

What can be made? Can as that it is possible to look at log on the thin
client? added debug to APPEND. But how to look at it I do not know.

I seem to me close to the purpose
-- 
С Уважением Строганов Роман
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Install x2go TCE-live server

2019-01-16 Thread Stefan Baur
Am 16.01.19 um 08:49 schrieb Stroganov Roman:
> cat /etc/debian_version
> 9.6

Ah, you're using a newer version of Debian than the one I recommended.
Maybe that's causing your issue with the exported variables not showing
up (though it should not ...).


> Your Haque seems it turned out. Assembly began. Build is done
> ended:./live-build-x2go-20190115182341'
> In live-build-x2go-20190115182341 directory (but not
> live-build-x2go-20190115182341-netboot-amd64-openbox-magic-pixel-workaround-stretch.
> Can do it important?)

Hmm, it seems that I added the code to append name after the timestamp
in my local version of the build script, but never uploaded that to the
wiki.  Guess I'll have to upload a new version $SOON.


> I have x2go-tce-filesystem.squashfs,
> x2go-tce-initrd.img and x2go-tce-vmlinuz files

Sounds good.


> I installed lighttpd and tftpd-hpa (got used already), in them created
> subdirectories of x2go-tce and in them copied files as you spoke.
> My dhcp server is configured on loading by the thin client of the
> pxelinux.0 file Where to take it to me? It is necessary to download from
> the website syslinux or it was necessary to set at first tce-classic and to
> take directories from its boot?

I usually install the syslinux package on the server, and grab the
necessary files from there, but you can also untar
live-build-x2go-20190115182341/live-image-amd64.netboot.tar - it
contains the standard debian-live netboot environment:

drwxr-xr-x root/root 0 2019-01-12 14:10 debian-live/
drwxr-xr-x root/root 0 2019-01-12 14:18 debian-live/live/
-rw-r--r-- root/root 271675392 2019-01-12 14:17
debian-live/live/filesystem.squashfs
-rw-r--r-- root/root 17075 2019-01-12 14:17
debian-live/live/filesystem.packages
-rw-r--r-- root/root 1 2019-01-12 14:17
debian-live/live/filesystem.packages-remove
drwxr-xr-x root/root 0 2019-01-12 14:18 tftpboot/
-rw-r--r-- root/root181944 2017-10-18 16:01 tftpboot/libcom32.c32
drwxr-xr-x root/root 0 2019-01-12 14:18 tftpboot/live/
-rw-r--r-- root/root   4232992 2019-01-12 14:17 tftpboot/live/vmlinuz
-rw-r--r-- root/root  34019418 2019-01-12 14:17 tftpboot/live/initrd.img
drwxr-xr-x root/root 0 2019-01-03 12:55 tftpboot/pxelinux.cfg/
-rw-r--r-- root/root57 2014-10-25 12:21
tftpboot/pxelinux.cfg/default
-rw-r--r-- root/root   616 2019-01-12 14:18 tftpboot/live.cfg
-rw-r--r-- root/root116552 2017-10-18 16:01 tftpboot/ldlinux.c32
-rw-r--r-- root/root 26684 2017-10-18 16:01 tftpboot/vesamenu.c32
-rw-r--r-- root/root165004 2017-10-18 16:01 tftpboot/hdt.c32
-rw-r--r-- root/root 36584 2019-01-12 14:18 tftpboot/splash.png
-rw-r--r-- root/root   270 2019-01-12 14:18 tftpboot/menu.cfg
-rw-r--r-- root/root   153 2019-01-12 14:18 tftpboot/advanced.cfg
-rw-r--r-- root/root   508 2019-01-12 14:18 tftpboot/stdmenu.cfg
-rw-r--r-- root/root 23628 2017-10-18 16:01 tftpboot/libutil.c32
-rw-r--r-- root/root   268 2019-01-12 14:18 tftpboot/install.cfg
-rw-r--r-- root/root 42058 2017-10-18 16:01 tftpboot/pxelinux.0


What the debian-live sample lacks is the X2Go-specific configuration,
so, basically, you remove the debian-live/live and tftpboot/live
directories, place the three files starting with x2go-tce- in a
directory tftpboot/x2go-tce/ instead, and change the contents of
tftpboot/live.cfg according to the description found in the Wiki at
.

For example, mine currently looks like:

DEFAULT x2go-tce-amd64-stretch
LABEL x2go-tce-amd64-stretch
MENU LABEL ^X2Go-TCE-amd64-stretch

KERNEL x2go-tce/x2go-tce-vmlinuz

# the following all goes on one line, no line breaks
APPEND initrd=x2go-tce/x2go-tce-initrd.img net.ifnames=0 biosdevname=0
boot=live components noswap noroot nouser xinerama=left-of
vconsole.keymap=de lang=de locales=de_DE.UTF-8 keyboard-layouts=de
nomagicpixel=1
fetch=http://SERVERIPHERE/x2go-tce/x2go-tce-filesystem.squashfs
sessionsurl=http://SERVERIPHERE/x2go-tce/x2go-tce-sessions
pubkey=http://SERVERIPHERE/x2go-tce/x2go-tce-authorized_keys
session=DEFAULTSESSIONNAMEHERE

Where it says SERVERIPHERE, insert the IP of your http server.

Save the session configuration file as x2go-tce/x2go-tce-sessions on the
http server.

You can specify a default session where it says DEFAULTSESSIONNAMEHERE -
or you can leave out the session= parameter completely, if you do not
want to define a default session for the user.

The pubkey= parameter is also optional, but I would recommend using it,
and storing your personal SSH public key in the file
x2go-tce/x2go-tce-authorized_keys on the http server, so you have a way
to log in to the ThinClient as root via SSH (local console logins are
blocked for both root and user, due to the use of the "noroot" and
"nouser" boot parameters).

You will probably also want to change vconsole.keymap=de, lang=de,
locales=de_DE.UTF-8, and keyboard-layouts=de to the appropriate values
for your locale, unless

[X2Go-User] Install x2go TCE-live server

2019-01-16 Thread Stroganov Roman
Bingo!
I downloaded pxelinux.0 C of the website syslinux, renamed the x2go-vmlinuz
files into vmlinuz, x2go-initrd.img in initrd.img, made simlink and loading
of the thin client began.
Now on the thin client I see the console "localhost login:"
Sometimes it is very quickly visible some blue screen and again the console.

I think it well!
Probably it is necessary to specify the address x2go server (I have pxe and
x2goserver different ip)
How to make it?

-- 
С Уважением Строганов Роман
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

[X2Go-User] Install x2go TCE-live server

2019-01-15 Thread Stroganov Roman
cat /etc/debian_version
9.6

uname -a
Linux tce 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64
GNU/Linux

dpkg -l | grep live-build
ii  live-build1:20170213
all  Live System Build Components

dpkg -l | grep bash
ii  bash  4.4-5
amd64GNU Bourne Again SHell
ii  bash-completion   1:2.1-4.3
all  programmable completion for the bash shell

Your Haque seems it turned out. Assembly began. Build is done
ended:./live-build-x2go-20190115182341'
In live-build-x2go-20190115182341 directory (but not
live-build-x2go-20190115182341-netboot-amd64-openbox-magic-pixel-workaround-stretch.
Can do it important?) I have x2go-tce-filesystem.squashfs,
x2go-tce-initrd.img and x2go-tce-vmlinuz files

I installed lighttpd and tftpd-hpa (got used already), in them created
subdirectories of x2go-tce and in them copied files as you spoke.
My dhcp server is configured on loading by the thin client of the
pxelinux.0 file Where to take it to me? It is necessary to download from
the website syslinux or it was necessary to set at first tce-classic and to
take directories from its boot?

-- 
С Уважением Строганов Роман
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Install x2go TCE-live server

2019-01-15 Thread Stefan Baur
Am 15.01.19 um 15:21 schrieb Stroganov Roman:

> Here debuglog contents:
> 
> grep results:
> # Select ONE of the following LBX2GO_ARCH lines and comment out the others
> export LBX2GO_ARCH='-a amd64 -k amd64'
> # export LBX2GO_ARCH='-a i386 -k 686-pae'
> # export LBX2GO_ARCH='--architectures i386 --linux-flavours 586'
> export LBX2GO_ARCHIVE_AREAS="main contrib non-free"

So the exports are there ...

> x2goconfig invocation

... there's no error reported while they are being set up ...

> exports after x2goconfig
> declare -x HISTCONTROL="ignoreboth"
> declare -x HOME="/root"
> declare -x LANG="ru_UA.UTF-8"
> declare -x LANGUAGE="ru_UA:ru"
> declare -x LOGNAME="root"
> declare -x
> LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz$
> declare -x MAIL="/var/mail/root"
> declare -x MC_SID="671"
> declare -x MC_TMPDIR="/tmp/mc-root"
> declare -x OLDPWD="/root"
> declare -x
> PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
> declare -x PWD="/root/builddir"
> declare -x SHELL="/bin/bash"
> declare -x SHLVL="2"
> declare -x SUDO_COMMAND="/bin/bash"
> declare -x SUDO_GID="1000"
> declare -x SUDO_UID="1000"
> declare -x SUDO_USER="rostma"
> declare -x TERM="xterm"
> declare -x USER="root"
> declare -x USERNAME="root"

... yet they are missing.

Very weird.  Exported variables should remain set even after a script ends.

What is the output of the following commands?

cat /etc/debian_version

uname -a

dpkg -l | grep live-build
dpkg -l | grep bash


Now this is a bit hackish, but you could try this (again, as root):

cp ./x2goconfig ./x2gobuild2
cat ./x2gobuild >>./x2gobuild2
chmod 755 ./x2gobuild2
./x2gousbpatch && ./x2gobuild2 2>&1 | tee logfile

Let's see if that gets things going for you.

Kind Regards,
Stefan Baur
-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

[X2Go-User] Install x2go TCE-live server

2019-01-15 Thread Stroganov Roman
I am a pity
In the previous letter of deduglog there was not all
Here debuglog contents completely:

grep results:
# Select ONE of the following LBX2GO_ARCH lines and comment out the others
export LBX2GO_ARCH='-a amd64 -k amd64'
# export LBX2GO_ARCH='-a i386 -k 686-pae'
# export LBX2GO_ARCH='--architectures i386 --linux-flavours 586'
export LBX2GO_ARCHIVE_AREAS="main contrib non-free"
x2goconfig invocation
exports after x2goconfig
declare -x HISTCONTROL="ignoreboth"
declare -x HOME="/root"
declare -x LANG="ru_UA.UTF-8"
declare -x LANGUAGE="ru_UA:ru"
declare -x LOGNAME="root"
declare -x
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:"
declare -x MAIL="/var/mail/root"
declare -x MC_SID="671"
declare -x MC_TMPDIR="/tmp/mc-root"
declare -x OLDPWD="/root"
declare -x
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
declare -x PWD="/root/builddir"
declare -x SHELL="/bin/bash"
declare -x SHLVL="2"
declare -x SUDO_COMMAND="/bin/bash"
declare -x SUDO_GID="1000"
declare -x SUDO_UID="1000"
declare -x SUDO_USER="rostma"
declare -x TERM="xterm"
declare -x USER="root"
declare -x USERNAME="root"

-- 
С Уважением Строганов Роман


debuglog
Description: Binary data
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

[X2Go-User] Install x2go TCE-live server

2019-01-15 Thread Stroganov Roman
You were right! *d*ash was by default used

I added #!/bin/bash in the beginning of all three scripts. Further carried
out everything as root
After start of scripts I receive the message:

root@tce:~/builddir# ./x2goconfig && ./x2gousbpatch && ./x2gobuild 2>&1 |
tee logfile
One or more of the following variables is unset:
LBX2GO_ARCH: ''
LBX2GO_SPACE: ''
LBX2GO_DEFAULTS: ''
LBX2GO_DEBVERSION: ''
LBX2GO_CONFIG: ''
LBX2GO_IMAGETYPE: ''
LBX2GO_TIMESTAMP: '20190114120404'
LBX2GO_BOOTLOADERPARAMNAME: ''
LBX2GO_BOOTLOADER: ''
LBX2GO_ARCHIVE_AREAS: ''
Please visit http://wiki.x2go.org/doku.php/doc:howto:tce
and read up on the general prerequisites for X2Go-TCE

Later started them on one from root in such sequence:
./x2goconfig
./x2gousbpatch
./x2gobuild 2>&1

The last a script leads to the same mistake:
One or more of the following variables is unset:
LBX2GO_ARCH: ''
LBX2GO_SPACE: ''
LBX2GO_DEFAULTS: ''
LBX2GO_DEBVERSION: ''
LBX2GO_CONFIG: ''
LBX2GO_IMAGETYPE: ''
LBX2GO_TIMESTAMP: '20190114120404'
LBX2GO_BOOTLOADERPARAMNAME: ''
LBX2GO_BOOTLOADER: ''
LBX2GO_ARCHIVE_AREAS: ''
Please visit http://wiki.x2go.org/doku.php/doc:howto:tce
and read up on the general prerequisites for X2Go-TCE

Here debuglog contents:

grep results:
# Select ONE of the following LBX2GO_ARCH lines and comment out the others
export LBX2GO_ARCH='-a amd64 -k amd64'
# export LBX2GO_ARCH='-a i386 -k 686-pae'
# export LBX2GO_ARCH='--architectures i386 --linux-flavours 586'
export LBX2GO_ARCHIVE_AREAS="main contrib non-free"
x2goconfig invocation
exports after x2goconfig
declare -x HISTCONTROL="ignoreboth"
declare -x HOME="/root"
declare -x LANG="ru_UA.UTF-8"
declare -x LANGUAGE="ru_UA:ru"
declare -x LOGNAME="root"
declare -x
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz$
declare -x MAIL="/var/mail/root"
declare -x MC_SID="671"
declare -x MC_TMPDIR="/tmp/mc-root"
declare -x OLDPWD="/root"
declare -x
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
declare -x PWD="/root/builddir"
declare -x SHELL="/bin/bash"
declare -x SHLVL="2"
declare -x SUDO_COMMAND="/bin/bash"
declare -x SUDO_GID="1000"
declare -x SUDO_UID="1000"
declare -x SUDO_USER="rostma"
declare -x TERM="xterm"
declare -x USER="root"
declare -x USERNAME="root"

-- 
Stroganov Roman
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Install x2go TCE-live server

2019-01-15 Thread Stefan Baur
Am 14.01.19 um 11:21 schrieb Stroganov Roman:
> Thank you that you help me.
> Now I began new installation on debian stretch on yours instructions.
> After start of scripts I receive the message:
> 
> root@tce:~/builddir# ./x2goconfig && ./x2gousbpatch && ./x2gobuild 2>&1
> | tee logfile
> One or more of the following variables is unset:
> LBX2GO_ARCH: ''
> LBX2GO_SPACE: ''
> LBX2GO_DEFAULTS: ''
> LBX2GO_DEBVERSION: ''
> LBX2GO_CONFIG: ''
> LBX2GO_IMAGETYPE: ''
> LBX2GO_TIMESTAMP: '20190114120404'
> LBX2GO_BOOTLOADERPARAMNAME: ''
> LBX2GO_BOOTLOADER: ''
> LBX2GO_ARCHIVE_AREAS: ''
> Please visit http://wiki.x2go.org/doku.php/doc:howto:tce
> and read up on the general prerequisites for X2Go-TCE
> 
> the same is written down in logfile
Hmm, that looks as if for some reason your exports aren't working.
Actually, I have an idea why.  Are you, by chance, running a different
default shell than bash?
You can check that using the command

ls -lah /bin/sh

-> if it says "/bin/dash" (a "d" instead of a "b"), then you need to add

#!/bin/bash

as the first line of all three files, and try again.
(Thanks for the hint, by the way - I'll update the files in the wiki to
contain that line.)

If you were using bash, and it still failed with the above message - did
you really run the command as shown, and not in 3 installments, each
prefaced with sudo (because if you did that, it would explain why it's
failing)?

If it's still failing with the above error message, after
checking/double-checking the items above, please run the following
(again, as root):

echo "grep results:" | tee -a debuglog
grep "LBX2GO_ARCH" ./x2goconfig 2>&1 | tee -a debuglog
echo "x2goconfig invocation" | tee -a debuglog
./x2goconfig 2>&1 | tee -a debuglog
echo "exports after x2goconfig" | tee -a debuglog
export 2>&1 | tee -a debuglog

And post the contents of the file "debuglog".

Kind Regards,
Stefan Baur

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

[X2Go-User] Install x2go TCE-live server

2019-01-15 Thread Stroganov Roman
 Thank you that you help me.
Now I began new installation on debian stretch on yours instructions.
After start of scripts I receive the message:

root@tce:~/builddir# ./x2goconfig && ./x2gousbpatch && ./x2gobuild 2>&1
| tee logfile
One or more of the following variables is unset:
LBX2GO_ARCH: ''
LBX2GO_SPACE: ''
LBX2GO_DEFAULTS: ''
LBX2GO_DEBVERSION: ''
LBX2GO_CONFIG: ''
LBX2GO_IMAGETYPE: ''
LBX2GO_TIMESTAMP: '20190114120404'
LBX2GO_BOOTLOADERPARAMNAME: ''
LBX2GO_BOOTLOADER: ''
LBX2GO_ARCHIVE_AREAS: ''
Please visit http://wiki.x2go.org/doku.php/doc:howto:tce
and read up on the general prerequisites for X2Go-TCE

the same is written down in logfile

-- 
С Уважением Строганов Роман
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

[X2Go-User] Install x2go TCE-live server

2019-01-15 Thread Stroganov Roman
Thank you that you help me.
Now I began new installation on debian stretch on yours instructions.
After start of scripts I receive the message:

root@tce:~/builddir# ./x2goconfig && ./x2gousbpatch && ./x2gobuild 2>&1
| tee logfile
One or more of the following variables is unset:
LBX2GO_ARCH: ''
LBX2GO_SPACE: ''
LBX2GO_DEFAULTS: ''
LBX2GO_DEBVERSION: ''
LBX2GO_CONFIG: ''
LBX2GO_IMAGETYPE: ''
LBX2GO_TIMESTAMP: '20190114120404'
LBX2GO_BOOTLOADERPARAMNAME: ''
LBX2GO_BOOTLOADER: ''
LBX2GO_ARCHIVE_AREAS: ''
Please visit http://wiki.x2go.org/doku.php/doc:howto:tce
and read up on the general prerequisites for X2Go-TCE

the same is written down in logfile

-- 
С Уважением Строганов Роман
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Install x2go TCE-live server

2019-01-13 Thread Stefan Baur
Am 13.01.19 um 22:15 schrieb Stroganov Roman:
>  I have several thin clients who 512 MB have RAM. At the others 1 GB and
> more. If I correctly understood x2go tce-live it is loading of FAT clients?

I don't know what you mean by this.  The main difference between
TCE-Classic and TCE-Live is that the image gets loaded into the RAM of
the ThinClient.  You still get the same, full-screen X2Go login screen
afterwards.  The image itself is currently ~ 260 MB.  So even on a 512
MB machine you should have enough free RAM to run X2GoClient and
establish a connection.


> Their start pudt long? I plan about 15-20 clients only in local network.

This depends on your network speed.  With a 1GBit/s switched network,
and loading the image via http, it takes about 1m40s from cold boot to
login screen.
Ways to optimize that are using local storage on the thin client
(internal flash or USB media), or manually stripping down the image from
260 MB to something smaller.  188 MB should be easy to achieve,
something around 166 MB will take more effort.


> The network is very stable. Use of nfs is quite possible.
> I would like to try x2go tce-live but there are some difficulties.
> I am not a really experienced user of Linux. Therefore I need the detailed
> instruction. https://wiki.x2go.org/doku.php/doc:howto:tce it is badly clear
> to me that to do. The stage "Building your own X2Go-TCE Image" What there
> to do? It is a script?

Yes, it is a script. Three scripts, to be exact.
The first one configures the build, the second one is a patch you need
to prepare, the third is the actual build script.

I would suggest using a Debian Jessie system as the build host if you
want to try this yourself.  It might work with a Debian Stretch build
host, but I haven't tested that.  Whatever you do, stay away from
Ubuntu.  They ship a live-build version that is horribly out of date.

On that Debian system, run:

sudo apt-get update
sudo apt-get install genisoimage git-core live-build live-config-doc
live-manual-html live-boot-doc

Create a directory in which you want to work on the build, and change
into it:

mkdir builddir
cd builddir

Save the first
()
of the three scripts from the Wiki into a file "x2goconfig".

Change the line that starts with

export LBX2GO_CONFIG

to point at this address:

'https://github.com/LinuxHaus/live-build-x2go::feature/openbox-magic-pixel-workaround-stretch'

If your thin clients are still 32-bit CPUs, change

export LBX2GO_ARCH='-a amd64 -k amd64'

to

export LBX2GO_ARCH='-a i386 -k 686-pae'

Save the second
()
of the three scripts as "x2gousbpatch".

Save the third
() of
the three scripts as "x2gobuild".

Make all three scripts executable:
chmod 755 x2go*

Open a root shell with

sudo -i

Then type:
./x2goconfig && ./x2gousbpatch && ./x2gobuild 2>&1 | tee logfile

This will take a while to build.
If something breaks, you will see a message containing the line "Build
failed.", else one stating "Build is done".
Feel free to provide us with the file "logfile" if you have the
impression that something went wrong.

Assuming a successful build, you will end up with a directory named
"live-build-x2go-MMDDHHMMSS-netboot-amd64-openbox-magic-pixel-workaround-stretch"
(where MMDDHHMMSS is the build date).

From this directory, you will need the files:

x2go-tce-filesystem.squashfs ...(this goes on your http server)
x2go-tce-initrd.img (this goes on your boot server)
x2go-tce-vmlinuz ...(this goes on your boot server)

 explains how
to set up your boot and http servers.  Feel free to ask on the list
again if you have trouble understanding these steps.

Kind Regards,
Stefan Baur

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

[X2Go-User] Install x2go TCE-live server

2019-01-13 Thread Stroganov Roman
 I have several thin clients who 512 MB have RAM. At the others 1 GB and
more. If I correctly understood x2go tce-live it is loading of FAT clients?
Their start pudt long? I plan about 15-20 clients only in local network.
The network is very stable. Use of nfs is quite possible.
I would like to try x2go tce-live but there are some difficulties.
I am not a really experienced user of Linux. Therefore I need the detailed
instruction. https://wiki.x2go.org/doku.php/doc:howto:tce it is badly clear
to me that to do. The stage "Building your own X2Go-TCE Image" What there
to do? It is a script?
The instruction for the x2go tce-classic installation is more clear to me
therefore began with installation of this version. Still I did not find as
after installation to adjust tce-live... Maybe it will be difficult for me?
I will be grateful for the help in control!

-- 
С Уважением Строганов Роман
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user