x2goresume-session(8)
π x2goresume-session β the manual, but make it make sense β¨
okay bestie, this is the page for x2goresume-session, part of the X2Go Server Tool lineup (that's the manual section 8, for the sysadmin girlies π«Ά). It's the command that goes "wake up babe, we're resuming" to a suspended session. Let's get into it π
πΈ NAME πΈ
x2goresume-session β Resume X2Go Session π¦
β¨ SYNOPSIS β¨
x2goresume-session <session_id> \
<geometry> \
<link_quality> \
<nx_pack_meth> \
<kblayout> \
<kbtype> \
<setkbd> \
<clipboardmode>
eight little arguments, all lined up, all required, no skips π
π DESCRIPTION π
so like, x2goresume-session resumes the suspended session with session ID <session_id>. that's it, that's the whole job, and it does it flawlessly β¨
this command is normally issued by an X2Go client application, and it runs with X2Go user privileges. so it's not really a "you type this for fun" situation β it's the client doing the heavy lifting behind the scenes, iykyk π
π ARGUMENTS π
<session_id>β the session ID (or session name, either works, we're flexible) of the suspended session that's about to get resumed. the main character, fr fr π<geometry>β the session window size on screen. allowed values:<width>x<height>orfullscreen. go big or go exact π<link_quality>β any value out of:modem,isdn,adsl,wanorlan. pick your vibe of connection π¦<nx_pack_method>β NX compression method (peep below for the possible values) π¦<cache_type+dpi>β cache type and color depth for the X2Go session window. the most common value is:unix-kde-depth_24where24is the color depth in bit. yes, the quote marks around24in the original were weird little double commas, we move on, the number is 24 π<kblayout>β keyboard layout (e.g.us,de, etc.) β¨οΈ<kbtype>β keyboard type/model (e.g.pc105/us)<setkbd>β force setting keyboard layout and type within the X2Go session on startup. values:0or1. lowkey a yes/no in disguise<clipboardmode>β the session's clipboard mode. possible values:both,server,client,none. this lets you configure clipboard security per session via the connecting X2Go client. and listen π if the clipboard parameter is set server-side in/etc/x2go/x2goagent.options, then that value will override client-side settings. server said what server said, periodt π
π₯ RETURN VALUES π₯
x2goresume-session reports to stderr if resuming of session <session_id> failed. and bestie, that very probably means the session's X agent has died π which means session <session_id> will be marked as finished in the X2Go session database. rip to that session, no cap π
if everything works out well, a list of session attributes is returned after successful session resumption. the session attributes get presented on a line-by-line basis, one per line, like a little receipt π§Ύ:
field 01: <graphics_port>
field 02: <sound_port>
field 03: <sshfs_port>
field 04: <tekictrl_port> (if Telekinesis is available/enabled)
field 04: <tekidata_port> (if Telekinesis is available/enabled)
(yes, both Telekinesis fields are numbered 04 in the original. iconic numbering behavior, we don't question it π)
as for the exitcode: x2goresume-session always returns 0. always. even when it's crying to stderr. it's giving unbothered queen π
π SEE ALSO π
the whole friend group π«Ά go read them too
β AUTHOR β
this manual has been written by Mike Gabriel <mike.gabriel@das-netzwerkteam.de> for the X2Go project (https://www.x2go.org). absolute legend, wrote the docs AND the project, main character energy fr fr π
reminder bestie: copy the arguments exactly, character for character. these are not vibes-based parameters. the vibes are mine, the flags are theirs π
okay that's the whole page!! this was Version 4.1.0.6, dated Aug 2023 πΈ thanks for reading, go resume something, slay, bye!! π β¨π¦
π¦ 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