Skip to content
This repository has been archived by the owner on Jul 22, 2023. It is now read-only.

Some apps don't run successfully with child with pid has terminated message #48

Closed
axelson opened this issue Mar 12, 2023 · 2 comments
Closed

Comments

@axelson
Copy link

axelson commented Mar 12, 2023

I have run_scaled mostly working and programs like xev, xmessage, and gnome-calculator successfully run. However some programs such as gnome-terminal and ynab4 immediately exit and then the server shuts down. When this happens I see the following in the in my xpra logs:

2023-03-11 20:13:44,074 child 'gnome-terminal ' with pid 32164 has terminated
2023-03-11 20:13:44,074 all children have exited and --exit-with-children was specified, exiting
2023-03-11 20:13:44,074 Disconnecting client /run/user/1000/xpra/linux-mint-desktop-70894022:
2023-03-11 20:13:44,074 server shutdown

However, if I change

xpra start "$DISPLAYNUM" --xvfb="Xvfb +extension Composite -screen 0 ${UNSCALED_RESOLUTION}x24+32 -nolisten tcp -noreset -auth $XAUTHORITY" --env=GDK_SCALE=1 --env=GDK_DPI_SCALE=1 --start-child="$ESCAPED_PARAMS" --exit-with-children

to:

xpra start "$DISPLAYNUM" --xvfb="Xvfb +extension Composite -screen 0 ${UNSCALED_RESOLUTION}x24+32 -nolisten tcp -noreset -auth $XAUTHORITY" --env=GDK_SCALE=1 --env=GDK_DPI_SCALE=1 --start-child="$ESCAPED_PARAMS"

Then the programs successfully run! But of course after they close xpra/run_scaled is still running to I need to manually close it.

Just sharing in case it is helpful for someone.

Note: I'm running on the current latest version of Linux Mint

@kaueraal
Copy link
Owner

Xpra directly includes an equivalent tool since version 4.1. It is also called run_scaled and is part of the default Xpra installation.

Hence, this script here is deprecated and no longer maintained. I'm sorry that it took me quite long to officially announce it here. Thank you for your support and please continue your HiDPI journey with Xpra's tool!

@axelson
Copy link
Author

axelson commented Jul 22, 2023

That's great news! Thanks for the info.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants