x2goruncommand(8)
β¨ 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 thex2goagentinstance 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) ornone.
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) andR(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:
x2gostartagent(8)x2goresume-session(8)x2gosuspend-session(8)x2goterminate-sessions(8)
πΈ 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 πππ¦
π¦ 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