On Mon, Feb 3, 2025 at 4:32 PM Sooth Sayuh <[email protected]> wrote:

> - using guacamole to connect to a linux backend running xrdp.
> - using the "initial program" option to kick off a short shell script.
> - the shell script runs a java app that uses gnome (gdm) to display an
> interactive window.
>
> problem 1:
> this window does not have any window borders (cannot drag, resize, etc.) -
> normally it would on a full gnome desktop.
>
>
If you're using the "initial program" option to run a shell script that
starts the application, you have to make sure that this shell script also
kicks off a window manager (gnome, xfce, fluxbox, blackbox, etc.). It's
quite likely that you're running an application in xrdp but no window
manager, which is what handles all of the handles, sizing, etc. Your shell
script can launch the window manager in the background (& at the end of
that line) and then the application you're wanting to run, and that should
do the trick. If you're wanting to just launch a particular application, I
highly suggest that you find a really light-weight window manager -
something like fluxbox or blackbox, even twm - that doesn't add a bunch of
extra stuff (side panels, settings, menus, etc.) that you are trying to
avoid people seeing, anyway.


> certain functions in this app will open a second window (e.g. an xterm
> window)
> problem 2:
> the new window(s) can never be focused on or typed in.  the new window(s)
> display over the original app window but the focus always remains in the
> original app window (behind the new windows)
>
> are these 2 problems expected behavior or are there settings/options to
> address them?
>
>
I suspect that both of these issues have the same root cause of the window
manager not running.

-Nick

Reply via email to