Hi All,
This perhaps is a trivial question: but is it possible to somehow log/check history of past x2go session on the server?
-- Grigory Shamov
Westgrid/ComputeCanada Site Lead University of Manitoba E2-588 EITC Building, (204) 474-9625
On 30.01.2016 12:57 AM, Grigory Shamov wrote:
This perhaps is a trivial question: but is it possible to somehow log/check history of past x2go session on the server?
Sessions are deleted from the database when they are purged.
One approach to do that would be by enabling debugging in /etc/x2go/x2goserver.conf (although that might not be necessary - I don't know off-hand what information is being logged without debugging, but you likely want more information to distinguish between operations in general) and "parsing" your syslog.
Mihai
Am Freitag, 29. Januar 2016, 23:57:24 schrieb Grigory Shamov:
Hi All,
This perhaps is a trivial question: but is it possible to somehow log/check history of past x2go session on the server?
Hi,
That's something I've been missing from the start. Couldn't X2Go write an entry to /var/run/utmp and /var/log/wtmp like XDM does? I guess, this would allow currently logged inn users to be seen in the output of 'w', and 'last' would also list previous sessions.
As users can connect to my servers directly via ssh as well as via X2Go (and since lately also via XRDP), I would really appreciate to have one central place to see how many sessions are open, or to find stale ones. I'm thinking of entries like:
$ w USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT krause :0 11:30 ?xdm? 24:15m 0.06s /bin/sh /usr/bin/x-session-manager
I would be very grateful, if something like this would be implemented.
Thanks,
Holger
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Am 02.02.2016 um 17:37 schrieb Holger Krause: [log x2go sessions in utmp/wtmp]
I would be very grateful, if something like this would be implemented.
Please file an appropriate wishlist bug. :-)
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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2
iQEcBAEBCAAGBQJWsN2qAAoJEG7d9BjNvlEZ+/8IAKLYGukEyIxVGSaOXY73ZRO8 ymdVfL5AM5KOns3yHfh4Uc8aA/tUD08QvMYc0hJokFadQ0bCjF8rb0XtiBhNIDwQ uys2VDtud1vOZ+61I2Ou3z96HbaGXBChTY3fjlMCh2sltehUZ/+G1LPSFmSVQiY+ 3rD7tyETqif08TflR04rX5DyUQT0ivUlpZpSOrgqcVtbhDkKZyfVtIJGmWWzuyEL MD2KQ9iYd47dN7SGQVMX5TPz+2bNvj6q1aOwKGc3Jliqy6B7ol3BhoGO9aq2NSpL iznvWP2W8ownCHQoR3v7fPUYmMzRy4sRySpB+H8F7pNckWkCbJKd3zDltLXEfZ0= =qjSC -----END PGP SIGNATURE-----
On 02/02/2016 09:47 AM, Stefan Baur wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Am 02.02.2016 um 17:37 schrieb Holger Krause: [log x2go sessions in utmp/wtmp]
I would be very grateful, if something like this would be implemented.
Please file an appropriate wishlist bug. :-)
- -Stefan
Done: http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1171
-- Orion Poplawski Technical Manager 720-772-5637 NWRA, Boulder/CoRA Office FAX: 303-415-9702 3380 Mitchell Lane orion@nwra.com Boulder, CO 80301 http://www.nwra.com
Am Mittwoch, 3. Mai 2017, 17:05:48 schrieb Orion Poplawski:
On 02/02/2016 09:47 AM, Stefan Baur wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Am 02.02.2016 um 17:37 schrieb Holger Krause: [log x2go sessions in utmp/wtmp]
I would be very grateful, if something like this would be implemented.
Please file an appropriate wishlist bug. :-)
- -Stefan
Perhaps bugs #1171 and #992 should be merged, as they seem to wish for the very same feature. ;-)
https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=992
Holger
On 05/04/2017 04:11 AM, Holger Krause wrote:
Am Mittwoch, 3. Mai 2017, 17:05:48 schrieb Orion Poplawski:
On 02/02/2016 09:47 AM, Stefan Baur wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Am 02.02.2016 um 17:37 schrieb Holger Krause: [log x2go sessions in utmp/wtmp]
I would be very grateful, if something like this would be implemented.
Please file an appropriate wishlist bug. :-)
- -Stefan
Perhaps bugs #1171 and #992 should be merged, as they seem to wish for the very same feature. ;-)
https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=992
Holger
Ah, shoot. I did try to search for another report but didn't turn up anything.
-- Orion Poplawski Technical Manager 720-772-5637 NWRA, Boulder/CoRA Office FAX: 303-415-9702 3380 Mitchell Lane orion@nwra.com Boulder, CO 80301 http://www.nwra.com