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

πŸ’… x2goumount-session β€” the X2Go Server Tool that says "bye bestie" to your shared folders

okay so picture this: it's section 8 of the manual, it's a server tool, and its whole job is un-sharing mounted folders from an X2Go session. that's the vibe. πŸ¦‹


✨ NAME ✨

x2goumount-session β€” Unshare mounted Folders from X2Go Session

like, it literally unshares folders that got mounted into your session. the unmount era. periodt.


🌸 SYNOPSIS 🌸

x2goumount-session <session_id> [<local_path_on_client>]

πŸ’– DESCRIPTION πŸ’–

so x2goumount-session is the girl whose entire personality is unsharing client folders from an X2Go session with the session ID <session_id>. those shared folders were, at some earlier point, mounted into the X2Go session by the x2gomountdirs command β€” so this is the closure part of that whole relationship. πŸ’€

she runs with X2Go user privileges, and normally it's an X2Go client application that issues her. not you manually, bestie, the client does the summoning. πŸŽ€


πŸ‘‘ ARGUMENTS πŸ‘‘

  • <session_id> β€” unmount the shared folder(s) as registered for this X2Go session ID in the X2Go session database. this is the identifier, don't skip it. 🌟
  • <local_path_on_client> β€” optional, and honestly kind of a flex: you can name a local path name here (the path name as it's found on the client-side). if you give it, then only that one named folder gets unshared from the X2Go session <session_id>. just the one. not the whole group chat. ✨
🌈 if this optional argument is omitted, then ALL session folders will be unshared β€” and yes, that includes the spool folders for printing and MIME box. everything. all of it. no crumbs left. 😭

πŸ”₯ RETURN VALUES πŸ”₯

by x2goumount-session, nothing is reported on stdout or stderr. she's silent. mysterious. main character energy. 🀫

as exitcode, x2goumount-session returns 0 on a successful umount action. if there's a failure during unmounting a shared folder, a non-zero exit code is returned. so 0 = slay, non-zero = something went sideways. πŸ’…


🫢 SEE ALSO 🫢


πŸ’œ AUTHOR πŸ’œ

this manual has been written by Mike Gabriel <mike.gabriel@das-netzwerkteam.de> for the X2Go project (https://www.x2go.org). iconic of him honestly. πŸ‘‘


okay that's the whole page, bestie β€” we're running Version 4.1.0.6, dated Aug 2023, and that's a wrap on x2goumount-session(8). unmount responsibly, hydrate, and don't forget the <session_id>. πŸŽ€πŸ¦‹βœ¨