Skip to content

Commit

Permalink
[rootssh] export ROOT_WEBDISPLAY=server
Browse files Browse the repository at this point in the history
Exclude usage of local displays like `cef` or `qt6` on remote nodes
By default such displays are used before real http server is started
Therefore set explicitely such variable
  • Loading branch information
linev authored and dpiparo committed Nov 4, 2024
1 parent 03c3927 commit 24c600f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/rootssh
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ else
fi

ssh -t -R $listener_remote:$listener_local -L $localport:$root_socket $ssh_destination $ssh_args \
"chmod 0700 $listener_remote; export ROOT_LISTENER_SOCKET=$listener_remote; export ROOT_WEBGUI_SOCKET=$root_socket; $ssh_command; rm -f $listener_remote $root_socket"
"chmod 0700 $listener_remote; export ROOT_WEBDISPLAY=server; export ROOT_LISTENER_SOCKET=$listener_remote; export ROOT_WEBGUI_SOCKET=$root_socket; $ssh_command; rm -f $listener_remote $root_socket"

# try to stop listener with "stop" message

Expand Down

0 comments on commit 24c600f

Please sign in to comment.