x2goruncommand(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

✨ x2goruncommand β€” the X2Go Server Tool that launches ur command πŸ’–

okay so bestie, welcome to the x2goruncommand(8) manual page, and lemme tell u, this little icon is the one that actually runs the thing inside ur X2Go session. no cap. let's get into it 🌸


🌈 NAME 🌈

x2goruncommand β€” Launch Command inside an X2Go Session


πŸŽ€ SYNOPSIS πŸŽ€

x2goruncommand <display> <agent_pid> <session_id> <command>
<sound_system> <session_type>

πŸ’… DESCRIPTION πŸ’…

so basically, x2goruncommand launches a(n X-based) command inside of a given X2Go session. that's the whole gig. it's giving "middle manager of commands" and honestly? obsessed 🫢

and like, important detail: x2goruncommand is run with X2Go user privileges and is normally executed by an X2Go client application. so it's not out here doing anything spicy on its own β€” it's the client's little helper. periodt ✨


πŸ‘‘ ARGUMENTS πŸ‘‘

six of them, bestie. all of them matter. don't skip any, i'm watching πŸ‘€

  • <display> β€” the X display number/port of the session this command is for. like, which screen are we talking to πŸ–₯️
  • <agent_pid> β€” the process ID (pid) of the x2goagent instance that the given session runs in. that's ur agent's little ID badge πŸͺͺ
  • <session_id> β€” the unique identifier of the X2Go session that this command is intended for. yes, unique. no two sessions share one. main character energy only πŸ’–
  • <command> β€” execute command <command>. and here's the tea: full paths will be ignored, so the command has to be in the server's $PATH. so like, don't try to be cute with /usr/bin/whatever, it's not gonna work bestie 😭

possible generic values for <command> are: WWWBROWSER, OFFICE, MAILCLIENT and TERMINAL. cute little aliases, slay 🌟

  • <sound_system> β€” either of the possible sound systems supported by X2Go: pulse, esd, arts (obsolete) or none.
heads up: arts is obsolete, ok? it's giving ancient. but it's still on the list so we're listing it 🎧
  • <session_type> β€” allowed values for <session_type> are: D (desktop) and R (rootless). just those two. D or R. pick one, bestie πŸ¦‹

🫢 RETURN VALUES 🫢

okay so here's the thing β€” by x2goruncommand, nothing is reported on stdout or stderr. silence. it says nothing. it's mysterious. it's ✨enigmatic✨

and as exitcode, x2goruncommand always returns 0.

always. zero. no matter what. so don't go reading exit codes like tea leaves, there's nothing there πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

go read these next, they're the friend group:


🌸 AUTHOR 🌸

this manual has been written by Mike Gabriel <mike.gabriel@das-netzwerkteam.de> for the X2Go project (https://www.x2go.org). ty king, we love a documentation moment πŸ‘‘


and that's the whole page bestie, u ate that πŸ’…βœ¨

Version 4.1.0.6 Β· Aug 2023 β€” okay byeee, go launch something iconic, ily πŸŽ€πŸ’–πŸ¦‹