x2gostartagent(8)
โจ x2gostartagent(8) โจ
okay bestie, this is the manual page for x2gostartagent, part of the X2Go Server Tool lineup ๐. It's the lil icon that kicks off a whole new X2Go session, and I'm gonna walk you through every single thing it wants from you. No skips, no shortcuts, we're doing the whole thing ๐
๐ธ NAME ๐ธ
x2gostartagent โ start a new X2Go session, bestie. That's it. That's the job ๐
๐ฆ SYNOPSIS ๐ฆ
x2gostartagent <geometry> \
<link_quality> \
<nx_pack_meth> \
<cache_type+dpi> \
<kblayout> \
<kbtype> \
<setkbd> \
<session_type> \
<command> \
<clipboardmode> \
Look at all those arguments. Every single one is obligatory, so no ghosting any of them ๐
๐ DESCRIPTION ๐
x2gostartagent is the main character of session startup โ it coordinates the whole process of bringing a brand new X2Go session into existence ๐ซถ
It expects quite a list of parameters, and ngl, all of them are obligatory. No optional lil treats here, you bring the full set or nothing.
It runs with X2Go user privileges, and normally it's an X2Go client application that executes it. So like, your client is the one calling it up, not you personally (though you can).
โจ ARGUMENTS โจ
<geometry>โ how big the session window is on screen. Allowed values are<width>x<height>orfullscreen. Pick your size, slay ๐<link_quality>โ any value out of:modem,isdn,adsl,wanorlan. It's giving "how good is your internet, be honest" ๐<nx_pack_method>โ the NX compression method. Peep the list further down for the possible values, there's a lot of them, it's lowkey iconic ๐ฆ<cache_type+dpi>โ the cache type and color depth for the X2Go session window. The most common value isunix-kde-depth_24where the24is the color depth in bits. Yes the,,24''thing is them being fancy about the quotes, we move on ๐<kblayout>โ keyboard layout (e.g.us,de, etc.). Where your fingers think they are โจ๏ธ<kbtype>โ keyboard type/model (e.g.pc105/us). Your actual physical keyboard vibe.<setkbd>โ force setting the keyboard layout and type within the X2Go session on startup. Values:0or1. It's a yes/no bestie, pick one ๐<session_type>โ allowed values are:D(desktop),R(rootless) orS(shadow session, X2Go desktop sharing). Pick your fighter ๐ฎ<command>โ here's the tea โ: the command you pass here is only used to create the session ID for this new X2Go session. The actual execution of a command? That'sx2goruncommand's job, not this one's. So don't expect this arg to run anything, it's just out here generating an ID and looking cute โจ<clipboardmode>โ the session's clipboard mode. Possible values:both,server,client,none. It lets you configure clipboard security per session via the connecting X2Go client ๐. And heads up: if the clipboard parameter is set server-side in/etc/x2go/x2goagent.options, then that value will override client-side settings. Server said what it said, periodt.
๐ RETURN VALUES ๐
Once the session starts up successfully, you get a whole list of session attributes back, presented line-by-line like the lil receipts they are ๐งพ
field 01: <X_display_number>
field 02: <session_cookie_hash>
field 03: <agent_pid>
field 04: <session_id>
field 05: <graphics_port>
field 06: <sound_port>
field 07: <sshfs_port>
field 08: <tekictrl_port> (if Telekinesis is available/enabled)
field 09: <tekidata_port> (if Telekinesis is available/enabled)
Nine fields when Telekinesis is in the building, seven when it's not. Obsessed with a structured output ngl ๐
๐ NX COMPRESSION METHODS ๐
So as NX compression methods (that's your <link-quality> argument bestie, yes the manpage says <link-quality> with a dash, we keep it exactly as written ๐
), these are the possible values. And the important bit: the % character must be replaced by a digit 0-9 โจ
nopack8642565124k32k64k256k2m16m256-rdp256-rdp-compressed32k-rdp32k-rdp-compressed64k-rdp64k-rdp-compressed16m-rdp16m-rdp-compressedrfb-hextilerfb-tightrfb-tight-compressed8-tight64-tight256-tight512-tight4k-tight32k-tight64k-tight256k-tight2m-tight16m-tight8-jpeg-%64-jpeg256-jpeg512-jpeg4k-jpeg32k-jpeg64k-jpeg256k-jpeg2m-jpeg16m-jpeg-%8-png-jpeg-%64-png-jpeg256-png-jpeg512-png-jpeg4k-png-jpeg32k-png-jpeg64k-png-jpeg256k-png-jpeg2m-png-jpeg16m-png-jpeg-%8-png-%64-png256-png512-png4k-png32k-png64k-png256k-png2m-png16m-png-%16m-rgb-%16m-rle-%
That's the whole roster, every single one. Ate and left no crumbs ๐ฅ
๐ SEE ALSO ๐
Go read these next, they're the rest of the friend group:
๐ AUTHOR ๐
This manual was written by Mike Gabriel <mike.gabriel@das-netzwerkteam.de> for the X2Go project (https://www.x2go.org). Giving credit where credit is due, we love to see it ๐ซถ
and that's the page bestie!! ๐ this is Version 4.1.0.6, dated Aug 2023, and it's the x2gostartagent(8) manual page you just read โ thanks for making it to the end, you're the real main character ๐โจ๐
๐ฆ 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