x2golistdesktops(8)
π x2golistdesktops(8) β X2Go Server Tool β¨
okay bestie, gather round, because this one is genuinely a little bop. it's x2golistdesktops, a manual page from the X2Go Server Tool set, and it does exactly one job and does it flawlessly. no notes. π
πΈ NAME πΈ
x2golistdesktops β List Available X Desktops π₯οΈβ¨
π SYNOPSIS π
x2golistdesktops [<server_hostname>]
that's it. that's the whole vibe. one optional little argument and she's off. π
π¦ DESCRIPTION π¦
so here's the tea, bestie: x2golistdesktops hands you back a list of all the active desktop sessions chillin' on the server <server_hostname>. that's the whole assignment. π
and if you're feeling lazy (no judgement, we've all been there) and you don't pass a server hostname at the command line? it just uses the fully qualified domain name of the local system instead. self-sufficient queen. π
now, the important bit β this thing runs with X2Go user privileges. and who's actually calling it? the X2Go clients do, because they need to render a list of available desktops that could be candidates for X2Go desktop sharing (aka shadow sessions π). so like, it's not just a list, it's a vibe check on who you could hop into.
and what actually ends up in that list? okay so, three whole categories:
- local desktop sessions β the ones launched via KDM, GDM, etc., run by the same user
- X2Go desktop sessions β also run by the same user
- desktop sessions of other users β local or remote β but ONLY the ones that are announced via the
x2godesktopsharingutility. if they didn't announce, they're not invited to the party. πͺ
ngl that last bullet is the sneaky one β other users' sessions only show up if x2godesktopsharing is out here doing the announcing. no announcement, no appearance. periodt.
β RETURN VALUES β
you get back a list of available X desktops, served up line-by-line. one per line, clean, organized, iconic. π
and as for the exitcode? x2golistdesktop always returns 0. always. she does not fail, she does not flinch, she simply delivers. ππ―
π SEE ALSO π
x2godesktopsharing(1)β the utility that does the announcing we were just talking about π«Ά
π AUTHOR π
this manual was written by Mike Gabriel <mike.gabriel@das-netzwerkteam.de> for the X2Go project (https://www.x2go.org). absolute legend behavior, honestly. πβ¨
okay and that's the whole page, bestie!! π this was Version 4.1.0.6, dated Aug 2023, and it ate. no crumbs. if you ever forget what it does, just remember: list the desktops, exit 0, never miss. π ππ¦
π¦ where this page comes from
- alpine 3.24: x2goserver-doc 4.1.0.6-r0 Β· GPL-2.0-or-later
- debian trixie: x2goserver 4.1.0.6-1.1+b1 Β· GPL-2.0-or-later
- fedora 43: x2goserver 4.1.0.6-13.fc43 Β· GPL-2.0-or-later
- fedora 44: x2goserver 4.1.0.6-14.fc44 Β· GPL-2.0-or-later
- ubuntu noble: x2goserver 4.1.0.6-1.1build1 Β· GPL-2.0-or-later
- ubuntu questing: x2goserver 4.1.0.6-1.1build2
- ubuntu resolute: x2goserver 4.1.0.6-1.1build3 Β· GPL-2.0-or-later
- ubuntu stonking: x2goserver 4.1.0.6-1.1build3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms