x2gosuspend-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

πŸ’… 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. 🧚✨