[X2Go-Dev] Terminate X2Go Session from inside Server

Stefan Baur X2Go-ML-1 at baur-itcs.de
Thu Jan 16 12:29:25 CET 2020


Am 16.01.20 um 10:48 schrieb Tristan Miller:
> Greetings.
> 
> On 15/01/2020 19.13, Alexanderstr Miete wrote:
>> Is there a simple command line command to terminate the X2Go session
>> while being on the remote server?
>> So, the aim is to be able to terminate the session via the command line
>> on the server, not on the client.
> 
> On the server, you can run x2golistsessions to get a list of active
> sessions.  Then run x2goterminate-session, passing as the argument the
> ID of the session you want to terminate.

When run from inside the session that you want to terminate, there is no
need to dig for the session ID first.  Just run x2goterminate-session
without any parameters, and *poof*, your session is gone.

-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


More information about the x2go-dev mailing list