Hello,
I'm using the x2goserver (latest version) on a virtual xen machine running an LMDE desktop. The strange behavior is that the x2go sessions are never resumed but whenever I login, a new session is created and all programs have to be started again. The client is a Windows XP PC, and it makes no difference whether I use the windows client or the pyhoca gui to connect. Can anybody tell me what is going wrong here?
Regards,
Ralph
Hi,
On Mi 19 Okt 2011 14:34:21 CEST Ralph Sikau wrote:
I'm using the x2goserver (latest version) on a virtual xen machine
running an LMDE desktop. The strange behavior is that the x2go sessions are never resumed but
whenever I login, a new session is created and all programs have to
be started again. The client is a Windows XP PC, and it makes no difference whether I
use the windows client or the pyhoca gui to connect. Can anybody tell me what is going wrong here?
please do the following...
Become a watcher on the x2goserver (ssh -l<remote_user> <x2gserver>)...
Then start a session on that server as user <remote_user> (where
<remote_user> is to be replaced by the username that you connect to
the server with).
From the ssh session run ,,x2golistsessions'' (and if not
promiscuous: send the output here).
Suspend the X2go session (describe us how you do that!!!)
From the ssh session run ,,x2golistsessions'' again (and if not
promiscuous: send the output here).
Thanks, Mike
--
DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
Thanks for the response. I did what you suggested.
Am 19.10.2011 21:30, schrieb Mike Gabriel:
Hi,
On Mi 19 Okt 2011 14:34:21 CEST Ralph Sikau wrote:
I'm using the x2goserver (latest version) on a virtual xen machine running an LMDE desktop. The strange behavior is that the x2go sessions are never resumed but whenever I login, a new session is created and all programs have to be started again. The client is a Windows XP PC, and it makes no difference whether I use the windows client or the pyhoca gui to connect. Can anybody tell me what is going wrong here?
please do the following...
Become a watcher on the x2goserver (ssh -l<remote_user> <x2gserver>)...
Then start a session on that server as user <remote_user> (where <remote_user> is to be replaced by the username that you connect to the server with). To start the session I use the pyhoca-gui.
From the ssh session run ,,x2golistsessions'' (and if not promiscuous: send the output here).
The output is: 27142|ralph-61-1319105016_stDGNOME_dp20|61|mcd|R|2011-10-20T12:03:37|993c0d3aad844404be96e7e0f1acc581|192.168.1.10|30004|30005|2011-10-20T12:03:40|ralph|589|30006|
- Suspend the X2go session (describe us how you do that!!!)
From the pyhoca-gui I choose "active session --> suspend session. ("Sitzung anhalten" in German.) A message pops up saying "session suspended" followed by a second message "session closed".
- From the ssh session run ,,x2golistsessions'' again (and if not promiscuous: send the output here).
No output which means no session any more.
Hope, that helps.
Ralph
Hi Ralph,
- Suspend the X2go session (describe us how you do that!!!)
From the pyhoca-gui I choose "active session --> suspend session.
("Sitzung anhalten" in German.) A message pops up saying "session suspended" followed by a second
message "session closed".
This looks odd... Could change the session command (LXDE, GNOME,
Single Application -> TERMINAL, Custom Command -> xterm, etc.). Does
the behaviour change when you test with different session commands?
What version of
x2goserver python-x2go pyhoca-gui
are you using (have you already mentioned that before in the
discussion? Please, check that again then)?
Greets, Mike
--
DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
Hi,
I have created a fresh Xen domu after all, based on Ubuntu Oneiric with the x2goserver from the Ubuntu PPA. And big surprise, it works: I can suspend and resume gnome sessions correctly. So I would say, Linux Mint is not a good choice to work with through x2go. But now I have another strange behaviour: I login via x2go / ssh to a gnome session, using my login name and a private sha key. Within this session I can execute root commands with sudo, but I cannot change any system preferences or modify users and groups within gnome. Obviously I'm lacking admin rights, although I am a member of the admin group. Might this have to do with LDAP or is the reason somewhere in x2go? Any hints?
Cheers,
Ralph
Am 19.10.2011 21:30, schrieb Mike Gabriel:
Hi,
On Mi 19 Okt 2011 14:34:21 CEST Ralph Sikau wrote:
I'm using the x2goserver (latest version) on a virtual xen machine running an LMDE desktop. The strange behavior is that the x2go sessions are never resumed but whenever I login, a new session is created and all programs have to be started again. The client is a Windows XP PC, and it makes no difference whether I use the windows client or the pyhoca gui to connect. Can anybody tell me what is going wrong here?
please do the following...
Become a watcher on the x2goserver (ssh -l<remote_user> <x2gserver>)...
Then start a session on that server as user <remote_user> (where <remote_user> is to be replaced by the username that you connect to the server with).
From the ssh session run ,,x2golistsessions'' (and if not promiscuous: send the output here).
Suspend the X2go session (describe us how you do that!!!)
From the ssh session run ,,x2golistsessions'' again (and if not promiscuous: send the output here).
Thanks, Mike
X2go-User mailing list X2go-User@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-user
--
Parabol Pictures Sikau, Kohlwey & Pettelkau GbR Königstraße 76
D-53115 Bonn
Fon +49 228 264858 Fax +49 228 213287
Mail _contact@parabol-pictures.de_ <mailto:contact@parabol-pictures.de>
Ralph,
I believe I might be able to help with the admin rights issue, as I ran into it as well and did some digging.
There is an Ubuntu bug report here: https://bugs.launchpad.net/ubuntu/+source/policykit/+bug/221363
I think I ended up just replacing all instances of allow_active with allow_any in the policykit policy files, probably by running something like the following commands (make a backup first, though):
cd /usr/share/polkit-1/actions/
sudo sed -i 's/allow_active/allow_any//' ./*
On Wed, Nov 2, 2011 at 9:13 AM, Ralph Sikau <r.sikau@parabol-pictures.de>wrote:
Hi,
I have created a fresh Xen domu after all, based on Ubuntu Oneiric with the x2goserver from the Ubuntu PPA. And big surprise, it works: I can suspend and resume gnome sessions correctly. So I would say, Linux Mint is not a good choice to work with through x2go. But now I have another strange behaviour: I login via x2go / ssh to a gnome session, using my login name and a private sha key. Within this session I can execute root commands with sudo, but I cannot change any system preferences or modify users and groups within gnome. Obviously I'm lacking admin rights, although I am a member of the admin group. Might this have to do with LDAP or is the reason somewhere in x2go? Any hints?
Cheers,
Ralph
Am 19.10.2011 21:30, schrieb Mike Gabriel:
Hi,
On Mi 19 Okt 2011 14:34:21 CEST Ralph Sikau wrote:
I'm using the x2goserver (latest version) on a virtual xen machine running an LMDE desktop. The strange behavior is that the x2go sessions are never resumed but whenever I login, a new session is created and all programs have to be started again. The client is a Windows XP PC, and it makes no difference whether I use the windows client or the pyhoca gui to connect. Can anybody tell me what is going wrong here?
please do the following...
Become a watcher on the x2goserver (ssh -l<remote_user> <x2gserver>)...
Then start a session on that server as user <remote_user> (where <remote_user> is to be replaced by the username that you connect to the server with).
From the ssh session run ,,x2golistsessions'' (and if not promiscuous: send the output here).
Suspend the X2go session (describe us how you do that!!!)
From the ssh session run ,,x2golistsessions'' again (and if not promiscuous: send the output here).
Thanks, Mike
X2go-User mailing listX2go-User@lists.berlios.dehttps://lists.berlios.de/mailman/listinfo/x2go-user
--
Parabol Pictures Sikau, Kohlwey & Pettelkau GbR Königstraße 76
D-53115 Bonn
Fon +49 228 264858 Fax +49 228 213287
Mail *contact@parabol-pictures.de* <contact@parabol-pictures.de>
X2go-User mailing list X2go-User@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-user
--
Hi Ben,
sorry, but that doesn't do the trick. The sudo command does not work. I get the error message that 's/' is not understood. Also the bug report is quite old. That should be solved by now.
Thanks anyway,
Ralph
Am 02.11.2011 20:28, schrieb Benjamin Shadwick:
Ralph,
I believe I might be able to help with the admin rights issue, as I ran into it as well and did some digging.
There is an Ubuntu bug report here: https://bugs.launchpad.net/ubuntu/+source/policykit/+bug/221363
I think I ended up just replacing all instances of allow_active with allow_any in the policykit policy files, probably by running something like the following commands (make a backup first, though):
cd /usr/share/polkit-1/actions/ sudo sed -i 's/allow_active/allow_any//' ./*
On Wed, Nov 2, 2011 at 9:13 AM, Ralph Sikau <r.sikau@parabol-pictures.de <mailto:r.sikau@parabol-pictures.de>> wrote:
Hi, I have created a fresh Xen domu after all, based on Ubuntu Oneiric with the x2goserver from the Ubuntu PPA. And big surprise, it works: I can suspend and resume gnome sessions correctly. So I would say, Linux Mint is not a good choice to work with through x2go. But now I have another strange behaviour: I login via x2go / ssh to a gnome session, using my login name and a private sha key. Within this session I can execute root commands with sudo, but I cannot change any system preferences or modify users and groups within gnome. Obviously I'm lacking admin rights, although I am a member of the admin group. Might this have to do with LDAP or is the reason somewhere in x2go? Any hints? Cheers, Ralph Am 19.10.2011 21:30, schrieb Mike Gabriel:
Hi, On Mi 19 Okt 2011 14:34:21 CEST Ralph Sikau wrote:
I'm using the x2goserver (latest version) on a virtual xen machine running an LMDE desktop. The strange behavior is that the x2go sessions are never resumed but whenever I login, a new session is created and all programs have to be started again. The client is a Windows XP PC, and it makes no difference whether I use the windows client or the pyhoca gui to connect. Can anybody tell me what is going wrong here?
please do the following... 1. Become a watcher on the x2goserver (ssh -l<remote_user> <x2gserver>)... 2. Then start a session on that server as user <remote_user> (where <remote_user> is to be replaced by the username that you connect to the server with). 3. From the ssh session run ,,x2golistsessions'' (and if not promiscuous: send the output here). 4. Suspend the X2go session (describe us how you do that!!!) 5. From the ssh session run ,,x2golistsessions'' again (and if not promiscuous: send the output here). Thanks, Mike _______________________________________________ X2go-User mailing list X2go-User@lists.berlios.de <mailto:X2go-User@lists.berlios.de> https://lists.berlios.de/mailman/listinfo/x2go-user
_______________________________________________ X2go-User mailing list X2go-User@lists.berlios.de <mailto:X2go-User@lists.berlios.de> https://lists.berlios.de/mailman/listinfo/x2go-user
--
- Ben S.
X2go-User mailing list X2go-User@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-user
Ralph,
Sorry about that, I screwed up my instructions because I was doing it from memory. Here's the proper command (I put too many slashes in before), and you will also need to run it twice in a row because sed apparently only replaces one instance per line:
sudo sed -i 's/allow_active/allow_any/' /usr/share/polkit-1/actions/*.policy
Again, you will want to make a backup copy of the *.policy files (if you haven't already) before doing this. It should not be necessary to reboot, but you may need to close and re-open any applications you are having trouble with that are running at the time that you do the fix.
Also, the issue has unfortunately not been fixed (at least not in most cases) because it affects many different applications that plug into PolicyKit. I just did a grep and found many instances of "allow_active" instead of "allow_any" in the policy files.
On Sat, Nov 5, 2011 at 11:30 AM, Ralph Sikau <r.sikau@parabol-pictures.de>wrote:
Hi Ben,
sorry, but that doesn't do the trick. The sudo command does not work. I get the error message that 's/' is not understood. Also the bug report is quite old. That should be solved by now.
Thanks anyway,
Ralph
Am 02.11.2011 20:28, schrieb Benjamin Shadwick:
Ralph,
I believe I might be able to help with the admin rights issue, as I ran into it as well and did some digging.
There is an Ubuntu bug report here: https://bugs.launchpad.net/ubuntu/+source/policykit/+bug/221363
I think I ended up just replacing all instances of allow_active with allow_any in the policykit policy files, probably by running something like the following commands (make a backup first, though):
cd /usr/share/polkit-1/actions/ sudo sed -i 's/allow_active/allow_any//' ./*
On Wed, Nov 2, 2011 at 9:13 AM, Ralph Sikau <r.sikau@parabol-pictures.de>wrote:
Hi,
I have created a fresh Xen domu after all, based on Ubuntu Oneiric with the x2goserver from the Ubuntu PPA. And big surprise, it works: I can suspend and resume gnome sessions correctly. So I would say, Linux Mint is not a good choice to work with through x2go. But now I have another strange behaviour: I login via x2go / ssh to a gnome session, using my login name and a private sha key. Within this session I can execute root commands with sudo, but I cannot change any system preferences or modify users and groups within gnome. Obviously I'm lacking admin rights, although I am a member of the admin group. Might this have to do with LDAP or is the reason somewhere in x2go? Any hints?
Cheers,
Ralph
Am 19.10.2011 21:30, schrieb Mike Gabriel:
Hi,
On Mi 19 Okt 2011 14:34:21 CEST Ralph Sikau wrote:
I'm using the x2goserver (latest version) on a virtual xen machine running an LMDE desktop. The strange behavior is that the x2go sessions are never resumed but whenever I login, a new session is created and all programs have to be started again. The client is a Windows XP PC, and it makes no difference whether I use the windows client or the pyhoca gui to connect. Can anybody tell me what is going wrong here?
please do the following...
Become a watcher on the x2goserver (ssh -l<remote_user> <x2gserver>)...
Then start a session on that server as user <remote_user> (where <remote_user> is to be replaced by the username that you connect to the server with).
From the ssh session run ,,x2golistsessions'' (and if not promiscuous: send the output here).
Suspend the X2go session (describe us how you do that!!!)
From the ssh session run ,,x2golistsessions'' again (and if not promiscuous: send the output here).
Thanks, Mike
X2go-User mailing listX2go-User@lists.berlios.dehttps://lists.berlios.de/mailman/listinfo/x2go-user
X2go-User mailing list X2go-User@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-user
--
- Ben S.
X2go-User mailing listX2go-User@lists.berlios.dehttps://lists.berlios.de/mailman/listinfo/x2go-user
X2go-User mailing list X2go-User@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-user
--