Hi all,
I'm trying to use x2go-server on a headless machine for virt-manager with x2go-client on Win10. I did not install any desktop environment.
x2go terminates the connection immediately, no window is shown. If I use VcXsrv with putty, virt-manager is working fine.
Here are some logs from the server:
==> auth.log <== Feb 28 10:27:14 ignite sshd[27502]: Accepted password for username from 10.8.20.10 port 62833 ssh2 Feb 28 10:27:14 ignite sshd[27502]: pam_unix(sshd:session): session opened for user username by (uid=0) Feb 28 10:27:14 ignite systemd-logind[709]: New session 24 of user username.
==> syslog <== Feb 28 10:27:14 ignite systemd[1]: Started Session 24 of user username. Feb 28 10:27:19 ignite /usr/sbin/x2gocleansessions[858]: username-50-1551346038_stRvirt-manager_dp32: state file for this session does not exist: /tmp/.x2go-username/C-username-50-1551346038_stRvirt-manager_dp32/state (this can be ignored during session startups) Feb 28 10:27:19 ignite /usr/bin/x2gostartagent: successfully started X2Go Agent session with ID username-50-1551346038_stRvirt-manager_dp32 Feb 28 10:27:24 ignite /usr/bin/x2gosetkeyboard: Setting X keyboard according to /home/username/.x2go/C-username-50-1551346038_stRvirt-manager_dp32/keyboard
==> auth.log <== Feb 28 10:27:26 ignite sshd[27588]: Received disconnect from 10.8.20.10 port 62833:11: Bye Bye Feb 28 10:27:26 ignite sshd[27588]: Disconnected from user username 10.8.20.10 port 62833 Feb 28 10:27:26 ignite sshd[27502]: pam_unix(sshd:session): session closed for user username Feb 28 10:27:36 ignite systemd-logind[709]: Removed session 24.
And here from Windows:
NXPROXY - Version 3.5.0
Copyright (C) 2001, 2010 NoMachine. See http://www.nomachine.com/ for more information.
Info: Proxy running in client mode with pid '364'. Session: Starting session at 'Thu Feb 28 10:35:02 2019'. Info: Connecting to remote host 'localhost:58426'. Info: Connection to remote proxy 'localhost:58426' established. Info: Connection with remote proxy completed. Warning: Unrecognized session type 'unix-kde-depth_32'. Assuming agent session. Warning: Failed to read data from the X auth command. Warning: Generated a fake cookie for X authentication. Info: Using ADSL link parameters 512/24/1/0. Info: Using cache parameters 4/4096KB/8192KB/8192KB. Info: Using pack method '16m-jpeg-9' with session 'unix-kde-depth_32'. Info: Using ZLIB data compression 1/1/32. Info: Using ZLIB stream compression 4/4. Info: No suitable cache file found. Info: Forwarding X11 connections to display 'localhost:0'. Session: Session started at 'Thu Feb 28 10:35:02 2019'. Info: Established X server connection. Info: Using shared memory parameters 0/0K.
Do I need to install a window manager on Ubuntu to run just a single apllication with x2go?
Thanks!
Am 28.02.19 um 10:42 schrieb Heiko Friedel:
Do I need to install a window manager on Ubuntu to run just a single apllication with x2go?
No. Please post the output of
cat /etc/x2go/x2goagent.options
and
dpkg -l | egrep 'x2go|nx'
I remember having issues with virt-manager via X2Go in the past, but I thought these were fixed ...
-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
Am 28.02.19 um 11:45 schrieb Stefan Baur:
I remember having issues with virt-manager via X2Go in the past, but I thought these were fixed ...
Now I remember how I solved this for me: I actually switched from Single Application mode to Published Application mode.
First, select "Options" from X2GoClient's top menu bar, then "Settings". On the "General" tab, check "Display Icon in system tray", and after checking that box, check all four boxes below it. Click OK.
Then, click the "Hamburger Icon" in the X2GoClient session tile's lower right, select "Session Preferences", then on the "Session" tab, set the "Session Type" to "Published Applications". Click OK.
to run virt-manager, start the session by clicking on the tile. When the X2Go icon appears in the taskbar's Notification Area (AKA "Systray"), right-click it, then select <Your Session name>/System/Virtual Machine Manager.
Ta da, virt-manager is running.
-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
Am 28.02.19 um 10:42 schrieb Heiko Friedel:
Hi all,
I'm trying to use x2go-server on a headless machine for virt-manager with x2go-client on Win10. I did not install any desktop environment.
x2go terminates the connection immediately, no window is shown. If I use VcXsrv with putty, virt-manager is working fine.
CCing Mike#1, as he has some python knowledge and virt-manager is a python program (called by a bash wrapper, no idea why) ...
What seems to happen is that X2Go doesn't detect virt-manager as an X application.
If I write a wrapper script like so:
#!/bin/bash timeout 10 xterm & # background xterm, don't call virt-manager from it /usr/bin/virt-manager
Then virt-manager will start - but will die after 10 seconds, when "timeout" kills the backgrounded, empty, idle xterm session. I would understand this behavior if virt-manager was called from *within* xterm, but as you can see, it is called separately.
@Mike: Any idea as to what's going wrong here and how to fix it?
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
You need a desktop environment. If you are using the default gnome,
then you also need gnome-flashback-session. Else install mate which works perfectly with x2go.
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting. Knowledgeable human assistance, not telephone trees or script readers. See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
On Thu, 28 Feb 2019, Stefan Baur wrote:
Date: Thu, 28 Feb 2019 12:15:33 +0100 From: Stefan Baur <X2Go-ML-1@baur-itcs.de> To: x2go-user@lists.x2go.org Cc: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Subject: Re: [X2Go-User] x2go and Ubuntu 18.04 server
Am 28.02.19 um 10:42 schrieb Heiko Friedel:
Hi all,
I'm trying to use x2go-server on a headless machine for virt-manager with x2go-client on Win10. I did not install any desktop environment.
x2go terminates the connection immediately, no window is shown. If I use VcXsrv with putty, virt-manager is working fine.
CCing Mike#1, as he has some python knowledge and virt-manager is a python program (called by a bash wrapper, no idea why) ...
What seems to happen is that X2Go doesn't detect virt-manager as an X application.
If I write a wrapper script like so:
#!/bin/bash timeout 10 xterm & # background xterm, don't call virt-manager from it /usr/bin/virt-manager
Then virt-manager will start - but will die after 10 seconds, when "timeout" kills the backgrounded, empty, idle xterm session. I would understand this behavior if virt-manager was called from *within* xterm, but as you can see, it is called separately.
@Mike: Any idea as to what's going wrong here and how to fix it?
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
x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Am 28.02.19 um 23:33 schrieb Robert Dinse:
You need a desktop environment. If you are using the default gnome, then you also need gnome-flashback-session. Else install mate which works perfectly with x2go.
No, you don't.
The fact that you can start a script, have the script start xterm in the background, and then virt-manager clearly proves your statement wrong.
-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
Ok if you're expecting a display as if you had a head on a local machine
you need a desktop environment. Granted you can do other things without but then you can do that with ssh -X so why bother?
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting. Knowledgeable human assistance, not telephone trees or script readers. See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
On Thu, 28 Feb 2019, Stefan Baur wrote:
Date: Thu, 28 Feb 2019 23:41:40 +0100 From: Stefan Baur <X2Go-ML-1@baur-itcs.de> To: Robert Dinse <nanook@eskimo.com> Cc: x2go-user@lists.x2go.org, Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Subject: Re: [X2Go-User] x2go and Ubuntu 18.04 server
Am 28.02.19 um 23:33 schrieb Robert Dinse:
You need a desktop environment. If you are using the default gnome, then you also need gnome-flashback-session. Else install mate which works perfectly with x2go.
No, you don't.
The fact that you can start a script, have the script start xterm in the background, and then virt-manager clearly proves your statement wrong.
-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
I've installed x2goserver & x2goserver-xsession on ubuntu servers in the past and then access that server via an x2go client and it worked fine without installing a full Desktop Environment although its a bit sparse :-)
On Thu, Feb 28, 2019 at 6:18 PM Robert Dinse <nanook@eskimo.com> wrote:
Ok if you're expecting a display as if you had a head on a local
machine you need a desktop environment. Granted you can do other things without but then you can do that with ssh -X so why bother?
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting. Knowledgeable human assistance, not telephone trees or script readers. See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
On Thu, 28 Feb 2019, Stefan Baur wrote:
Date: Thu, 28 Feb 2019 23:41:40 +0100 From: Stefan Baur <X2Go-ML-1@baur-itcs.de> To: Robert Dinse <nanook@eskimo.com> Cc: x2go-user@lists.x2go.org, Mike Gabriel < mike.gabriel@das-netzwerkteam.de> Subject: Re: [X2Go-User] x2go and Ubuntu 18.04 server
Am 28.02.19 um 23:33 schrieb Robert Dinse:
You need a desktop environment. If you are using the default
gnome,
then you also need gnome-flashback-session. Else install mate which works perfectly with x2go.
No, you don't.
The fact that you can start a script, have the script start xterm in the background, and then virt-manager clearly proves your statement wrong.
-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
Am 01.03.19 um 00:25 schrieb brian mullan:
I've installed x2goserver & x2goserver-xsession on ubuntu servers in the past and then access that server via an x2go client and it worked fine without installing a full Desktop Environment although its a bit sparse :-)
Gee, first Robert, now you ... I guess we really need to advertise Published Application mode more ... ;-)
-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
Yep might be a good thing to do. It would be better if it still had
the efficiency it had in the early days. Early implementations of x2go, I could fire up firefox on the server and watch a video and for the most part it was smooth. These days I only get about 10 frames per second, something has slowed.
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting. Knowledgeable human assistance, not telephone trees or script readers. See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
On Fri, 1 Mar 2019, Stefan Baur wrote:
Date: Fri, 1 Mar 2019 00:27:06 +0100 From: Stefan Baur <X2Go-ML-1@baur-itcs.de> To: "x2go-user@lists.x2go.org" <x2go-user@lists.x2go.org> Subject: Re: [X2Go-User] x2go and Ubuntu 18.04 server
Am 01.03.19 um 00:25 schrieb brian mullan:
I've installed x2goserver & x2goserver-xsession on ubuntu servers in the past and then access that server via an x2go client and it worked fine without installing a full Desktop Environment although its a bit sparse :-)
Gee, first Robert, now you ... I guess we really need to advertise Published Application mode more ... ;-)
-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
Am 01.03.19 um 00:50 schrieb Robert Dinse:
Yep might be a good thing to do. It would be better if it still had the efficiency it had in the early days. Early implementations of x2go, I could fire up firefox on the server and watch a video and for the most part it was smooth. These days I only get about 10 frames per second, something has slowed.
Uh, yes, we've been discussing this on the list quite a while ago. It's not an X2Go issue, but a Firefox issue - they changed their rendering engine to something that is super fast on a local machine, but is slow as molasses on remote connections. The only option used to be Pale Moon
See the thread "Firefox Browser Performance via X2Go - and a call for help on behalf of X2Go and Pale Moon" dated "28.10.17, 13:26" in the list archives: <http://lists.x2go.org/pipermail/x2go-user/2017-October/004601.html> (Initial crosspost to X2Go-User and X2Go-Dev) <http://lists.x2go.org/pipermail/x2go-dev/2017-October/012168.html> (Thread on X2Go-Dev, with a sole reply by Ulrich Sibiller).
Since there were no other replies back then, we were on our own, so work is proceeding veeeery sloooowly.
-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
Ok, thanks for the list. There is not an aweful lot to like about the
current firefox.
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting. Knowledgeable human assistance, not telephone trees or script readers. See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
On Fri, 1 Mar 2019, Stefan Baur wrote:
Date: Fri, 1 Mar 2019 01:02:31 +0100 From: Stefan Baur <X2Go-ML-1@baur-itcs.de> To: "x2go-user@lists.x2go.org" <x2go-user@lists.x2go.org> Subject: Re: [X2Go-User] x2go and Ubuntu 18.04 server
Am 01.03.19 um 00:50 schrieb Robert Dinse:
Yep might be a good thing to do. It would be better if it still had the efficiency it had in the early days. Early implementations of x2go, I could fire up firefox on the server and watch a video and for the most part it was smooth. These days I only get about 10 frames per second, something has slowed.
Uh, yes, we've been discussing this on the list quite a while ago. It's not an X2Go issue, but a Firefox issue - they changed their rendering engine to something that is super fast on a local machine, but is slow as molasses on remote connections. The only option used to be Pale Moon
- a Firefox fork - that kept the old engine, but only up to version 27. 28 is broken as well, and we could currently use some more funding and/or additional manpower for the ongoing research/development project to get PM 28 up to speed again.
See the thread "Firefox Browser Performance via X2Go - and a call for help on behalf of X2Go and Pale Moon" dated "28.10.17, 13:26" in the list archives: <http://lists.x2go.org/pipermail/x2go-user/2017-October/004601.html> (Initial crosspost to X2Go-User and X2Go-Dev) <http://lists.x2go.org/pipermail/x2go-dev/2017-October/012168.html> (Thread on X2Go-Dev, with a sole reply by Ulrich Sibiller).
Since there were no other replies back then, we were on our own, so work is proceeding veeeery sloooowly.
-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
Am 01.03.19 um 00:27 schrieb Stefan Baur:
Am 01.03.19 um 00:25 schrieb brian mullan:
I've installed x2goserver & x2goserver-xsession on ubuntu servers in the past and then access that server via an x2go client and it worked fine without installing a full Desktop Environment although its a bit sparse :-)
Gee, first Robert, now you ... I guess we really need to advertise Published Application mode more ... ;-)
Okay, so this video is roughly 6 years old (which is why it's marked "unlisted") and with a German UI, but it shows pretty well how Published Application mode works:
<https://youtu.be/PMQH7sJC47Y?t=73>
Watch the context menu popping up from the X2GoClient icon in the Taskbar's notification area (AKA "Systray").
-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
Am 01.03.19 um 00:15 schrieb Robert Dinse:
Granted you can do other things without but then you can do that with ssh -X so why bother?
Judging from your reply, I guess you never tried out "Published Applications", available in X2Go since March 2012?
-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