x2goresume-session(8)

πŸ“¦
version 4.1.0.6 Β· 3 versions
, in alpine 3.24, debian trixie, fedora 43, fedora 44, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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> or fullscreen. go big or go exact πŸ’…
  • <link_quality> β€” any value out of: modem, isdn, adsl, wan or lan. 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_24 where 24 is the color depth in bit. yes, the quote marks around 24 in 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: 0 or 1. 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!! πŸ’…βœ¨πŸ¦‹