Hello Everybody!
Please, i have a question!
I am migrating an internal server, from fedora 11 + freenxserver, to debian buster + x2go server.
The basic are working, but we have a custom application, it's a very simple application. I need to export xterm or gnome-terminal, and execute bash script, this script calls a simple text menu. The menu contains options, and this option calls some programs.
on the freenx server i can export terminal and other applications in floating and separate windows, but i can't do this on x2go.
When I access the x2go server from the x2go client, I can see all applications on 1 window only, like vnc access.
It's possible to configure x2go server or client to float and separate windows?
Thanks...
Am 06.01.21 um 20:44 schrieb Rodrigo José Petreça:
on the freenx server i can export terminal and other applications in floating and separate windows, but i can't do this on x2go.
Yes, you can. Please select "Published Applications" for a remote start menu users can select applications from (you can select one application to start automatically even with PubApps, by passing the corresponding command line parameter), or "Single Application" for a single application that you want to share.
-Stefan
-- BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
Hello,
I appreciate everyone's response, but none of the options mentioned had any effect.
All applications are within the same window, as a vnc access.
I need applications to open in separate windows
Can you help me please?
Em qua., 6 de jan. de 2021 às 17:59, Stefan Baur <X2Go-ML-1@baur-itcs.de> escreveu:
Am 06.01.21 um 20:44 schrieb Rodrigo José Petreça:
on the freenx server i can export terminal and other applications in floating and separate windows, but i can't do this on x2go.
Yes, you can. Please select "Published Applications" for a remote start menu users can select applications from (you can select one application to start automatically even with PubApps, by passing the corresponding command line parameter), or "Single Application" for a single application that you want to share.
-Stefan
-- BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
-- [image: photo] Rodrigo José Petreça Departamento de TI, Abix Tecnologia (41) 3051-5153 | (41) 99633-9874 | rodrigojp@abix.com.br www.abix.com.br Rua Comendador Araújo, 731, L4, SL 441 - Curitiba/PR <http://facebook.com/abix> <http://linkedin.com/abix> <http://youtube.com/abix>
Create your own email signature <https://www.wisestamp.com/create-own-signature/?utm_source=promotion&utm_medium=signature&utm_campaign=create_your_own&srcid=>
Am 07.01.21 um 14:19 schrieb Rodrigo José Petreça:
I appreciate everyone's response, but none of the options mentioned had any effect.
All applications are within the same window, as a vnc access.
I need applications to open in separate windows
Can you help me please?
Well, they do have the desired effect for me, so it seems something's going wrong on your end.
Maybe you reconnected to a suspended full-screen session (in that case, your initial selection of PubApp/SingleApp will be overridden)?
Please make sure your user does not have a running or suspended X2Go session, then verify you selected "Published Applications" and closed the session configuration using the "OK" button, then verify the new session you are starting is the one you configured for PubApp mode (I would suggest using a descriptive session name to avoid any confusion).
Kind Regards, Stefan Baur
-- BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
Hello,
I'm not logged in. I've redid the configuration in all possible ways, I tried the client on windows and linux. On any desktop x2go creates only 1 floating window, but if I call my script it does not separate the windows.
Below are screenshots of the client settings for evaluation
[image: image.png]
[image: image.png] OR
[image: image.png]
Em qui., 7 de jan. de 2021 às 10:31, Stefan Baur <X2Go-ML-1@baur-itcs.de> escreveu:
Am 07.01.21 um 14:19 schrieb Rodrigo José Petreça:
I appreciate everyone's response, but none of the options mentioned had any effect.
All applications are within the same window, as a vnc access.
I need applications to open in separate windows
Can you help me please?
Well, they do have the desired effect for me, so it seems something's going wrong on your end.
Maybe you reconnected to a suspended full-screen session (in that case, your initial selection of PubApp/SingleApp will be overridden)?
Please make sure your user does not have a running or suspended X2Go session, then verify you selected "Published Applications" and closed the session configuration using the "OK" button, then verify the new session you are starting is the one you configured for PubApp mode (I would suggest using a descriptive session name to avoid any confusion).
Kind Regards, Stefan Baur
-- BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
-- [image: photo] Rodrigo José Petreça Departamento de TI, Abix Tecnologia (41) 3051-5153 | (41) 99633-9874 | rodrigojp@abix.com.br www.abix.com.br Rua Comendador Araújo, 731, L4, SL 441 - Curitiba/PR <http://facebook.com/abix> <http://linkedin.com/abix> <http://youtube.com/abix>
Create your own email signature <https://www.wisestamp.com/create-own-signature/?utm_source=promotion&utm_medium=signature&utm_campaign=create_your_own&srcid=>
Am 07.01.21 um 15:10 schrieb Rodrigo José Petreça:
I'm not logged in. I've redid the configuration in all possible ways, I tried the client on windows and linux. On any desktop x2go creates only 1 floating window, but if I call my script it does not separate the windows.
Below are screenshots of the client settings for evaluation
Well, "Custom Desktop" is not what you should be using. As the name says, that's for Desktops, not for single applications/published applications. So I'm not surprised that gets you one window that all the others are confined to, and thus doesn't work for you.
For "Single Application", I doubt that passing parameters is supported - so please try something like
/usr/local/bin/mytestscript.sh # no "xterm", no "-e" in front of it
instead of
xterm -e /public/shell/radiossh
with /usr/local/bin/mytestscript.sh containing
#!/bin/bash xterm
and chmod 755 that file.
If that works, try expanding it with, say,
#!/bin/bash xterm & xterm & xterm
which should open three xterms with one single connection, or with #!/bin/bash xterm -e /public/shell/radiossh
I know that some applications have a tendency to close their windows too fast again (thus triggering X2Go's session termination detection prematurely), which is why single application mode may not be what you want. So if you're still seeing issues, please try single application mode with a command line window (plain xterm), and running your command from there. If that works, but directly starting it does not (not even with a shell script as listed above), then we'll need to go down the Published Applications & Autostart route.
-Stefan
-- BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243