Re: [X2Go-Dev] Development resources

2020-05-26 Thread Melroy van den Berg
Maybe this is just a feature proposal/improvement that needs a separate bug 
ticket.

Could somebody document all this somewhere?... That would be nice, right?

Best regards,
Melroy van den Berg

‐‐‐ Original Message ‐‐‐
Op dinsdag, mei 26, 2020 8:37 PM, Mike Gabriel 
 schreef:

> On Di 26 Mai 2020 10:59:34 CEST, Stefan Baur wrote:
>
> > (Socket forwarding could help in getting SSH agent forwarding added to
> > X2Go, I guess... unless newer libssh versions already support that by
> > themselves?)
>
> Annnddd.. the socket forwarding code should then use unix domain
> socket on the server side (instead of localhost IP ports)... SSH 6.7
> and upwards does support that.
>
> Mike
>
> -
>
> DAS-NETZWERKTEAM
> c\o Technik- und Ökologiezentrum Eckernförde
> Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde
> mobile: +49 (1520) 1976 148
> landline: +49 (4351) 850 8940
>
> GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31
> mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de
>
> x2go-dev mailing list
> x2go-dev@lists.x2go.org
> https://lists.x2go.org/listinfo/x2go-dev


___
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev


[X2Go-Dev] X2Go Kdrive, current status? Ready for official release?

2020-05-26 Thread Mike Gabriel

Hi Alex,

I wonder when would be a good point to get X2Go Kdrive to the majority  
of X2Go users. I will plan some X2Go work for July and this would be a  
good occasion to get a new X2Go Server version out containing the X2Go  
Kdrive wrapper code.


What's the maturity status of X2Go Kdrive? Is it releasable?

If not, we should get an X2Go server release out anyway and make sure  
it behaves well, if no X2Go Kdrive Xserver ist installed server-side.


What do people think about this?

Mike
--

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de



pgpxwSvADue6K.pgp
Description: Digitale PGP-Signatur
___
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev


Re: [X2Go-Dev] Development resources

2020-05-26 Thread Mike Gabriel

On  Di 26 Mai 2020 10:59:34 CEST, Stefan Baur wrote:


(Socket forwarding could help in getting SSH agent forwarding added to
X2Go, I guess... unless newer libssh versions already support that by
themselves?)


Annnddd.. the socket forwarding code should then use unix domain  
socket on the server side (instead of localhost IP ports)... SSH 6.7  
and upwards does support that.


Mike
--

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de



pgpfYe7PfkILD.pgp
Description: Digitale PGP-Signatur
___
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev


Re: [X2Go-Dev] X2Go Kdrive, current status? Ready for official release?

2020-05-26 Thread Stefan Baur
Am 26.05.20 um 20:45 schrieb Mike Gabriel:
> Hi Alex,
> 
> I wonder when would be a good point to get X2Go Kdrive to the majority
> of X2Go users. I will plan some X2Go work for July and this would be a
> good occasion to get a new X2Go Server version out containing the X2Go
> Kdrive wrapper code.
> 
> What's the maturity status of X2Go Kdrive? Is it releasable?

Last time I checked, it was not.  At least not "for production use"
outside the parameters it was coded for (i.e. the distribution and
desktop environment Alex' customers have).

The desktop environment I tested with (I think it was MATE) was very
confused about this connection type; it mistook me for a local user and
I got all kind of popups asking for permissions for this and that
(mostly network related, I think) - and it allowed me to hit the shut
down button, which did work.  So any non-privileged user could shut down
the server - like they could if they were in fact physically present
(where the option to allow a non-privileged user to shut down the
machine does make sense, think laptops and desktop workstations).
Obviously, this is not something we should ship.

I think it really needs more testing with a wider user base (i.e. more
distributions, more desktop environments), so if we do ship it in a
stable release, the checkbox in the client should remain tagged
"experimental", and the server-side package needs to display a warning
during install that BAD THINGS may happen.

-Stefan

-- 
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



signature.asc
Description: OpenPGP digital signature
___
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev


[X2Go-Dev] ICE default IO error handler doing an exit(), pid = xxxxxx, errno = 32, Fedora 32

2020-05-26 Thread Robert Kudyba
On Fedora 32 with both MATE and XFCE, X2Go immediately quits with
Connection failed. This stackexchange question

suggests
running x2godbadmin --createdb but that doesn't help.

x2goagent-4.1.0.3-6.fc32.x86_64
x2goserver-xsession-4.1.0.3-6.fc32.noarch
x2goserver-common-4.1.0.3-6.fc32.noarch
x2goserver-4.1.0.3-6.fc32.x86_64

Connection failed.

/usr/lib64/x2go/x2gocheckport: line 131:
connect('dbname=/var/lib/x2go/x2go_sessions','',...): syntax error in
expression (error token is "('dbname=/var/lib/x2go/x2go_sessions','',...)")
Unable to find free display port or insert new session into database;
parameters: port (50), hostname (ourdomain) and session name ().

May 26 07:35:33 ourhostname /usr/bin/x2gostartagent[95534]: no free display
number available, cannot start new session. Retrying (run 10).
May 26 07:35:33 ourhostname /usr/bin/x2gostartagent[95535]: Unable to find
free display port or insert new session into database; parameters: port
(50), hostname (ourdomain) and session name ().

cat .xsession-x2go-ourdomain.edu-errors
XSession-x2go: X session started for ouruser at Sun May 24 15:26:31 EDT 2020
** Message: 15:26:33.626: couldn't access control socket:
/run/user/1200/keyring/control: No such file or directory
SSH_AUTH_SOCK=/run/user/1200/keyring/ssh
mate-session[141487]: WARNING: AT-SPI: Could not obtain desktop path or name

mate-session[141487]: WARNING: atk-bridge: GetRegisteredEvents returned
message with unknown signature
mate-session[141487]: WARNING: atk-bridge: get_device_events_reply: unknown
signature
mate-session[141487]: WARNING: atk-bridge: get_device_events_reply: unknown
signature

** (mate-settings-daemon:141818): WARNING **: 15:26:34.517: Could not open
RFKILL control device, please verify your installation

** (mate-panel:141832): WARNING **: 15:26:34.586: AT-SPI: Could not obtain
desktop path or name

** (mate-panel:141832): WARNING **: 15:26:34.608: atk-bridge:
GetRegisteredEvents returned message with unknown signature

** (mate-panel:141832): WARNING **: 15:26:34.608: atk-bridge:
get_device_events_reply: unknown signature

** (mate-panel:141832): WARNING **: 15:26:34.608: atk-bridge:
get_device_events_reply: unknown signature

** (mate-settings-daemon:141818): WARNING **: 15:26:35.152: AT-SPI: Could
not obtain desktop path or name


** (mate-settings-daemon:141818): WARNING **: 15:26:35.154: atk-bridge:
GetRegisteredEvents returned message with unknown signature

** (mate-settings-daemon:141818): WARNING **: 15:26:35.154: atk-bridge:
get_device_events_reply: unknown signature

** (mate-settings-daemon:141818): WARNING **: 15:26:35.154: atk-bridge:
get_device_events_reply: unknown signature
SSH_AUTH_SOCK=/run/user/1200/keyring/ssh
vmware-user: could not open /proc/fs/vmblock/dev
SSH_AUTH_SOCK=/run/user/1200/keyring/ssh
SSH_AUTH_SOCK=/run/user/1200/keyring/ssh

(caja:141846): Gtk-WARNING **: 15:26:36.752: Failed to register client:
GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to register
client
Failure: Module initialization failed

** (polkit-mate-authentication-agent-1:141982): WARNING **: 15:26:36.825:
AT-SPI: Could not obtain desktop path or name


** (polkit-mate-authentication-agent-1:141982): WARNING **: 15:26:36.829:
atk-bridge: GetRegisteredEvents returned message with unknown signature

** (polkit-mate-authentication-agent-1:141982): WARNING **: 15:26:36.829:
atk-bridge: get_device_events_reply: unknown signature

** (polkit-mate-authentication-agent-1:141982): WARNING **: 15:26:36.829:
atk-bridge: get_device_events_reply: unknown signature
(uint32 1,)
*** ERROR ***
TI:15:26:39 TH:0x55bef6378ad0   FI:gpm-manager.c
 FN:gpm_manager_systemd_inhibit,1786
 - Error in dbus - GDBus.Error:org.freedesktop.DBus.Error.AccessDenied:
Permission denied
Traceback:
mate-power-manager(+0x1d304) [0x55bef5347304]
mate-power-manager(+0x1478b) [0x55bef533e78b]
/lib64/libgobject-2.0.so.0(g_type_create_instance+0x311)
[0x7f90fcf0b1b1]
/lib64/libgobject-2.0.so.0(+0x193f5) [0x7f90fceed3f5]
/lib64/libgobject-2.0.so.0(g_object_new_with_properties+0x275)
[0x7f90fceeeb05]
/lib64/libgobject-2.0.so.0(g_object_new+0xc1) [0x7f90fceef6b1]
mate-power-manager(+0x15e26) [0x55bef533fe26]
mate-power-manager(+0xb20a) [0x55bef533520a]
/lib64/libc.so.6(__libc_start_main+0xf3) [0x7f90fcaa01a3]
mate-power-manager(+0xb58e) [0x55bef533558e]
Traceback (most recent call last):
  File "/usr/bin/seapplet", line 34, in 
from setroubleshoot.config import get_config
ModuleNotFoundError: No module named 'setroubleshoot.config'

** (mate-screensaver:141959): WARNING **: 15:26:39.843: AT-SPI: Could not
obtain desktop path or name


** (mate-screensaver:141959): WARNING **: 15:26:39.844: atk-bridge:
GetRegisteredEvents returned message with unknown signature

** (mate-screensaver:141959): 

[X2Go-Dev] Bug#1460: libssh versions

2020-05-26 Thread Edgar Fuß
> I believe the libssh 0.9.3 being the culprit.
[...]
> So from my POV it would help if you could try using an older version
> of x2goclient (with an older libssh) to see if it works with that.
OK, I tried this. X2Go switched (at least for the MS-Win build) from 0.7.4(!) 
to 0.9.3 on 2020-02-06, and indeed, the build from 2020-01-29 (the last one 
before the switch) works for me!

Could someone build x2goclient with libssh 0.9.4 so I could test that?

> PS: I suspect this happens when the other side has a quite old openssh
> running, in my case it's OpenSSH 5.8, for you it's 5.9... So If you
> can upgrade the ssh server this might also solve the problem
As stated in the original bug report: No, unfortunately, it's not the OpenSSH 
version that matters (I went into some lengths updating that, but it didn't 
help), but the base system version. I cannot easily update the login servers to 
NetBSD 8.
___
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev


Re: [X2Go-Dev] Development resources

2020-05-26 Thread Stefan Baur
Am 26.05.20 um 10:47 schrieb Ulrich Sibiller:
> https://github.com/cezanne/usbip-win talks about a window usbip server.

Innnteresting.

However, before we implement USB support, wouldn't it be better to
support generic additional port (and possibly socket?) forwarding in
X2GoClient?
USBIP could then hook into that code, and port forwarding is a feature
request that pops up occasionally.

(Socket forwarding could help in getting SSH agent forwarding added to
X2Go, I guess... unless newer libssh versions already support that by
themselves?)

-Stefan


-- 
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-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev


Re: [X2Go-Dev] Development resources

2020-05-26 Thread Ulrich Sibiller
https://github.com/cezanne/usbip-win talks about a window usbip server.

Uli

On Tue, May 26, 2020 at 10:37 AM Stefan Baur  wrote:
>
> Am 26.05.20 um 10:12 schrieb Ulrich Sibiller:
> >
> > now that Melroy and Dave want to spend time in improving x2go it came
> > to mind that we are still lacking a long-requested feature: USB
> > forwarding. So apart from implementing unit tests and doing code
> > refactoring this is a great chance to make yourself immortal ;-)
>
> I actually looked at the USB-over-IP project's documentation a while
> ago, when a potential customer might have needed USB support.
> It seems, however, that their approach is unidirectional, unless you're
> using Linux on both ends.
> In other words, with what they offer, it's possible to share USB devices
> connected to a Linux box (i.e. remotely controlling a USB scanner, to
> save the file directly on your client), but not connected to a Windows
> or macOS box.  So it wouldn't work for passing through client-side USB
> webcams to the host, for example.
>
> If somebody proves me wrong here, I'd actually be happy about it. ;-)
>
> References:
>  (in German)
>  (in English)
>
> -Stefan
>
> --
> 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-dev mailing list
> x2go-dev@lists.x2go.org
> https://lists.x2go.org/listinfo/x2go-dev
___
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev


Re: [X2Go-Dev] Development resources

2020-05-26 Thread Stefan Baur
Am 26.05.20 um 10:12 schrieb Ulrich Sibiller:
> 
> now that Melroy and Dave want to spend time in improving x2go it came
> to mind that we are still lacking a long-requested feature: USB
> forwarding. So apart from implementing unit tests and doing code
> refactoring this is a great chance to make yourself immortal ;-)

I actually looked at the USB-over-IP project's documentation a while
ago, when a potential customer might have needed USB support.
It seems, however, that their approach is unidirectional, unless you're
using Linux on both ends.
In other words, with what they offer, it's possible to share USB devices
connected to a Linux box (i.e. remotely controlling a USB scanner, to
save the file directly on your client), but not connected to a Windows
or macOS box.  So it wouldn't work for passing through client-side USB
webcams to the host, for example.

If somebody proves me wrong here, I'd actually be happy about it. ;-)

References:
 (in German)
 (in English)

-Stefan

-- 
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-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev


[X2Go-Dev] Development resources

2020-05-26 Thread Ulrich Sibiller
Hi,

now that Melroy and Dave want to spend time in improving x2go it came
to mind that we are still lacking a long-requested feature: USB
forwarding. So apart from implementing unit tests and doing code
refactoring this is a great chance to make yourself immortal ;-)

Uli
___
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev