x2gosuspend-session(8)
π x2gosuspend-session(8) β X2Go Server Tool
okay bestie, gather round, because this little cutie lives in the X2Go Server Tool family and she has ONE job. Let's get into it. π«Ά
β¨ NAME β¨
x2gosuspend-session β suspend an X2Go session. that's it. that's the whole vibe. π€
πΈ SYNOPSIS πΈ
x2gosuspend-session <session_id>
one argument, no drama, no options to memorise. she's low maintenance. periodt.
π DESCRIPTION π
So what does she actually do? x2gosuspend-session suspends the running session whose session ID is <session_id>. like, pause, hold that thought, we'll come back to it. ββ¨
Normally you're not the one typing this, btw. This command is usually issued by an X2Go client application, and it needs X2Go user privileges to do its thing. so if you're just sitting there at a terminal typing this by hand... okay main character, do your thing, but just know the client is the usual culprit. π
π₯ RETURN VALUES π₯
Here's the part where you pay attention, bestie. π
x2gosuspend-session reports to stderr if resuming of session <session_id> failed. And yeah β that very probably means the session's X agent has died, which means session <session_id> gets marked as finished in the X2Go session database. RIP to that session, honestly. π
not me having to tell you: that's a real "this session is over" situation, not a lil glitch.
But here's the plot twist β as an exit code, x2gosuspend-session always returns 0. always. every time. so don't go trusting the exit code to tell you if something went sideways, because it simply will not. the stderr is where the truth lives. π
π¦ SEE ALSO π¦
the rest of the squad, go say hi:
π 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. π
Version 4.1.0.6 Β· Aug 2023 Β· x2gosuspend-session(8)
and that's the whole page, bestie π go suspend something responsibly. mwah. π§β¨
π¦ 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