Re: [X2Go-Dev] New major distribution builds available for X2go
Hi Michael, On So 12 Feb 2012 21:55:27 CET Michael Kromer wrote: At this point I would like to thank Jan Engelhardt - Without him this wouldn't had been possible in such a short period of time. Thanks from my side as well!!! There has been a lot of effort to generalize the packages to have just one single SPEC-file for on package on all distros. This resulted in various patches we kindly request to get upstream, as we really think these patches are a great enhancement. We are currently evaluating the patches and will apply those we consider appropriate (that is: probably those that patch against X2Go components) during the coming week. Greets+Thanks Mike -- DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419 GnuPG Key ID 0xB588399B mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb pgpZGLiS3ztSM.pgp Description: Digitale PGP-Unterschrift ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2Go-Dev] - Dependency for kdialog
Hi, is it possible to remove the dependency for kdialog from x2goserver package? # grep '\bkdialog\b' x2goserver_3.0.99.10 ./x2goserver_3.0.99.10/x2goserver/bin/x2goumount-session: system(kdialog --error \@line[1]\); It's not nice that a bunch of kde packages is needed in a non kde environment. regards, Soeren -- = Sören Plönnigs Institut für Theoretische Elektrotechnik Leibniz Universität Hannover Appelstr. 9A _/_/_/_/_/ _/_/_/_/ _/_/_/_/_/ D-30167 Hannover_/ _/_/ Germany_/ _/_/_/_/ Tel.: +49 511 762 17699 _/ _/_/ Fax : +49 511 762 3204 _/ _/_/_/_/ _/ mailto:ploenn...@tet.uni-hannover.de http://www.tet.uni-hannover.de/ploennigs_soeren.html smime.p7s Description: S/MIME Kryptografische Unterschrift ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2Go-Dev] - Dependency for kdialog
Am 13.02.2012 11:02, schrieb Sören Plönnigs: is it possible to remove the dependency for kdialog from x2goserver package? # grep '\bkdialog\b' x2goserver_3.0.99.10 ./x2goserver_3.0.99.10/x2goserver/bin/x2goumount-session: system(kdialog --error \@line[1]\); It's not nice that a bunch of kde packages is needed in a non kde environment. Disclaimer: I am not one of the coders. While I'm currently using KDE (and Trinity), I'm absolutely with you that this shouldn't be hard-coded. And I do remember seeing a rather clever hack in a bash script once, that tried to figure out which dialog frontend to use (I think it tried Gnome, KDE, Xdialog and finally an xterm with regular dialog inside, if it detected an X Session, and regular dialog on the console, or something like that). That was quite a while ago, though, so I don't exactly remember where that was. It could have been in the Terminate or Suspend dialog on a FreeNX system. Or it was one of the system configuration menus in KNOPPIX (like where you could change network settings or install the system to disk). Also, googling turned up http://packages.debian.org/squeeze/ssft Maybe this helps as a starting point for the coders involved? -Stefan ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2Go-Dev] - Dependency for kdialog
Hi List, Another way to find out which environment is present is with wmctrl. This utitlity gives information on the current window manager and could be used as a basis to determine the dialog that is to be shown. Cheers, DKniep -Oorspronkelijk bericht- Aan:x2go-dev@lists.berlios.de; Van:newsgroups.ma...@stefanbaur.de Verzonden:ma 13-02-2012 12:01 Onderwerp:Re: [X2Go-Dev] - Dependency for kdialog Am 13.02.2012 11:02, schrieb Sören Plönnigs: is it possible to remove the dependency for kdialog from x2goserver package? # grep '\bkdialog\b' x2goserver_3.0.99.10 ./x2goserver_3.0.99.10/x2goserver/bin/x2goumount-session: system(kdialog --error \@line[1]\); It's not nice that a bunch of kde packages is needed in a non kde environment. Disclaimer: I am not one of the coders. While I'm currently using KDE (and Trinity), I'm absolutely with you that this shouldn't be hard-coded. And I do remember seeing a rather clever hack in a bash script once, that tried to figure out which dialog frontend to use (I think it tried Gnome, KDE, Xdialog and finally an xterm with regular dialog inside, if it detected an X Session, and regular dialog on the console, or something like that). That was quite a while ago, though, so I don't exactly remember where that was. It could have been in the Terminate or Suspend dialog on a FreeNX system. Or it was one of the system configuration menus in KNOPPIX (like where you could change network settings or install the system to disk). Also, googling turned up http://packages.debian.org/squeeze/ssft Maybe this helps as a starting point for the coders involved? -Stefan ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev !DSPAM:4f38f4ed15824979378548! ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2Go-Dev] - Dependency for kdialog
On 2012-02-13 11:02, Sören Plönnigs wrote: Hi, is it possible to remove the dependency for kdialog from x2goserver package? # grep '\bkdialog\b' x2goserver_3.0.99.10 ./x2goserver_3.0.99.10/x2goserver/bin/x2goumount-session: system(kdialog --error \@line[1]\); What about switching to zenity? It needs GTK, but opposed to KDE, that should be available on almost any system, shouldn't it? Cheers Morty -- Dipl.-Ing. Moritz 'Morty' Struebe (Wissenschaftlicher Mitarbeiter) Lehrstuhl für Informatik 4 (Verteilte Systeme und Betriebssysteme) Friedrich-Alexander-Universität Erlangen-Nürnberg Martensstr. 1 91058 Erlangen Tel : +49 9131 85-25419 Fax : +49 9131 85-28732 eMail : stru...@informatik.uni-erlangen.de WWW : http://www4.informatik.uni-erlangen.de/~morty smime.p7s Description: S/MIME Kryptografische Unterschrift ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2Go-Dev] - Dependency for kdialog
Am 13.02.2012 12:03, schrieb newsgroups.ma...@stefanbaur.de: Am 13.02.2012 11:02, schrieb Sören Plönnigs: is it possible to remove the dependency for kdialog from x2goserver package? And I do remember seeing a rather clever hack in a bash script once, that tried to figure out which dialog frontend to use (I think it tried Gnome, KDE, Xdialog and finally an xterm with regular dialog inside, if it detected an X Session, and regular dialog on the console, or something like that). Apart from Xdialog being unmaintained upstream for several years now, that's a possibility. But why not use the libnotify directly? That way you wouldn't need to find out, what desktop environment was running. Oliver ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2Go-Dev] - Dependency for kdialog
Hi Morty, On Mo 13 Feb 2012 13:18:42 CET Moritz Struebe wrote: On 2012-02-13 11:02, Sören Plönnigs wrote: Hi, is it possible to remove the dependency for kdialog from x2goserver package? # grep '\bkdialog\b' x2goserver_3.0.99.10 ./x2goserver_3.0.99.10/x2goserver/bin/x2goumount-session: system(kdialog --error \@line[1]\); What about switching to zenity? It needs GTK, but opposed to KDE, that should be available on almost any system, shouldn't it? Zenity is already used for all desktop environments which have a: GNOME_DESKTOP_SESSION_ID != What we should do is patch the code in a way that the absence of zenity and kdialog does not throw an error. Patches are welcome! Greets, Mike -- DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419 GnuPG Key ID 0xB588399B mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb pgpcoLmtLy8Oj.pgp Description: Digitale PGP-Unterschrift ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2Go-Dev] - Dependency for kdialog
Hi Sören, On Mo 13 Feb 2012 11:02:41 CET Sören Plönnigs wrote: Hi, is it possible to remove the dependency for kdialog from x2goserver package? # grep '\bkdialog\b' x2goserver_3.0.99.10 ./x2goserver_3.0.99.10/x2goserver/bin/x2goumount-session: system(kdialog --error \@line[1]\); It's not nice that a bunch of kde packages is needed in a non kde environment. In our Debian package I cannot see any dependency on kdialog. Do you really mean package in the strict sense? Or do you mean, that the absence of kdialog throws an error and this should handle differently? Mike quote Package: x2goserver Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, x2goagent, lsof, openssh-client, openssh-server, libconfig-simple-perl, makepasswd, libdbd-pg-perl, libdbd-sqlite3-perl, adduser, xauth, psmisc, net-tools Recommends: sshfs, x11-apps, x11-session-utils, x11-utils, x11-xfs-utils, x11-xkb-utils, x11-xserver-utils, xinit, x2goserver-extensions (= ${source:Version}) Suggests: x2goserver-printing (= ${source:Version}), x2goserver-compat (= ${source:Version}), x2goserver-xsession (= ${source:Version}), x2goserver-pyhoca (= ${source:Version}) Breaks: x2goserver-one, x2goserver-home, Replaces: x2goserver-one, x2goserver-home, Description: X2Go server daemon scripts X2Go is a server based computing environment with - session resuming - low bandwith support - LDAP support - client side mass storage mounting support - audio support - authentication by smartcard and USB stick . This package contains the main daemon and tools for X2Go server-side session administrations. . The x2goserver package provides full functionality for running the X2Go project's legacy X2Go client (x2goclient) on the client-side. . However, if you intend using other client implementations of X2Go make sure that you also have X2Go server extensions package (x2goserver-extensions) installed. /quote -- DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419 GnuPG Key ID 0xB588399B mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb pgpr0ZS3FuvRu.pgp Description: Digitale PGP-Unterschrift ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2Go-Dev] - Dependency for kdialog
Am 13.02.2012 13:47, schrieb Mike Gabriel: Hi Sören, On Mo 13 Feb 2012 11:02:41 CET Sören Plönnigs wrote: Hi, is it possible to remove the dependency for kdialog from x2goserver package? # grep '\bkdialog\b' x2goserver_3.0.99.10 ./x2goserver_3.0.99.10/x2goserver/bin/x2goumount-session: system(kdialog --error \@line[1]\); It's not nice that a bunch of kde packages is needed in a non kde environment. In our Debian package I cannot see any dependency on kdialog. Do you really mean package in the strict sense? Or do you mean, that the absence of kdialog throws an error and this should handle differently? Hi Mike, I'm not using Debian but Centos. As Jan Engelhard set up an repository on Opensuse Build Service, I wanted to try it out. There were some problems with the requirements while trying to install the packages and so I checked out the spec file which was used for packaging. In the spec file there was a dependency for kdialog which makes no sense in my eyes, so I asked Jan and he told me that there is an hardcoded call to kdialog in the x2goumount-session script. In my eyes it should be replaced by some kind of notify call to the xsession (I'm not into xorg programming, sorry if I'm getting something wrong and this doesn't work). Maybe using which dialog can also work, but I think using the notifying system of the window manager is more elegant. By the way, the x2go packages on the build service still have some issues. I'm trying to fix them right now and give back the changes to Jan. As he is an Suse developer he surely needs more testers for the packages for Redhat/Fedora. Sören Mike quote Package: x2goserver Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, x2goagent, lsof, openssh-client, openssh-server, libconfig-simple-perl, makepasswd, libdbd-pg-perl, libdbd-sqlite3-perl, adduser, xauth, psmisc, net-tools Recommends: sshfs, x11-apps, x11-session-utils, x11-utils, x11-xfs-utils, x11-xkb-utils, x11-xserver-utils, xinit, x2goserver-extensions (= ${source:Version}) Suggests: x2goserver-printing (= ${source:Version}), x2goserver-compat (= ${source:Version}), x2goserver-xsession (= ${source:Version}), x2goserver-pyhoca (= ${source:Version}) Breaks: x2goserver-one, x2goserver-home, Replaces: x2goserver-one, x2goserver-home, Description: X2Go server daemon scripts X2Go is a server based computing environment with - session resuming - low bandwith support - LDAP support - client side mass storage mounting support - audio support - authentication by smartcard and USB stick . This package contains the main daemon and tools for X2Go server-side session administrations. . The x2goserver package provides full functionality for running the X2Go project's legacy X2Go client (x2goclient) on the client-side. . However, if you intend using other client implementations of X2Go make sure that you also have X2Go server extensions package (x2goserver-extensions) installed. /quote ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev -- = Sören Plönnigs Institut für Theoretische Elektrotechnik Leibniz Universität Hannover Appelstr. 9A _/_/_/_/_/ _/_/_/_/ _/_/_/_/_/ D-30167 Hannover_/ _/_/ Germany_/ _/_/_/_/ Tel.: +49 511 762 17699 _/ _/_/ Fax : +49 511 762 3204 _/ _/_/_/_/ _/ mailto:ploenn...@tet.uni-hannover.de http://www.tet.uni-hannover.de/ploennigs_soeren.html smime.p7s Description: S/MIME Kryptografische Unterschrift ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2Go-Dev] - Dependency for kdialog
Hi Sören, On Mo 13 Feb 2012 14:06:48 CET Sören Plönnigs wrote: I'm not using Debian but Centos. As Jan Engelhard set up an repository on Opensuse Build Service, I wanted to try it out. There were some problems with the requirements while trying to install the packages and so I checked out the spec file which was used for packaging. In the spec file there was a dependency for kdialog which makes no sense in my eyes, so I asked Jan and he told me that there is an hardcoded call to kdialog in the x2goumount-session script. In my eyes it should be replaced by some kind of notify call to the xsession (I'm not into xorg programming, sorry if I'm getting something wrong and this doesn't work). Maybe using which dialog can also work, but I think using the notifying system of the window manager is more elegant. By the way, the x2go packages on the build service still have some issues. I'm trying to fix them right now and give back the changes to Jan. As he is an Suse developer he surely needs more testers for the packages for Redhat/Fedora. Patch committed... http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=2cffebd0aab22890d25a3f7539068c95087e9a2e @Jan: please only use those dependencies that we use in the Debian package. Please check /debian/control for further info: http://code.x2go.org/gitweb?p=x2goserver.git;a=blob;f=debian/control Greets, Mike -- DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419 GnuPG Key ID 0xB588399B mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb pgpoXBT7hKvkY.pgp Description: Digitale PGP-Unterschrift ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2Go-Dev] - Dependency for kdialog
Hi Oliver, Am 13.02.2012 13:20, schrieb Oliver Burger: But why not use the libnotify directly? That way you wouldn't need to find out, what desktop environment was running. as far as I know, libnotify is gnome based only (http://developer.gnome.org/libnotify/) please tell me if I'm wrong?! Regards, Heinz ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2Go-Dev] [PATCH] Re: x2godesktopsharing SIGSEV - how to compile with debugging info?
V Sun, 12 Feb 2012 22:48:02 +0100 Milan Knížek knizek.co...@gmail.com napsáno: Hello, I get Segmentation fault when I right-click on x2godesktopsharing icon in the system tray and choose Activate Desktop Sharing. (Arch Linux.) The segfault was due to non-existent x2godesktopsharing group in the system. This involves two matters: x Arch Linux does not allow for group names longer then 16 characters. x x2godesktopsharing should check for existence of the group and quit nicely otherwise. Since I am not a coder, I was able to solve only the first issue - patches are attached. (The debian postinst script should probably handle the original group name as well - e.g. move the members to the new group.) It would be nice if it is accepted upstream, since a similar limitation might also exist on other *nix systems. Regards, Milan -- http://www.milan-knizek.net/ About linux and photography (Czech only) O linuxu a fotografování From 7610a68f95cd26c24f58848490f1ba3d7f21f83e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milan=20Kn=C3=AD=C5=BEek?= kni...@volny.cz Date: Mon, 13 Feb 2012 20:48:11 +0100 Subject: [PATCH 1/2] Fix hardcoded GROUP name to x2godesktopshare (limited by 16 chrs) --- sharetray.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sharetray.cpp b/sharetray.cpp index 586a5b5..21ac718 100644 --- a/sharetray.cpp +++ b/sharetray.cpp @@ -322,7 +322,7 @@ void ShareTray::slotStartSharing() if ( serverSocket-listen ( socketFname ) ) { - chown ( socketFname.toAscii(),getuid(),getgrnam ( x2godesktopsharing )-gr_gid ); + chown ( socketFname.toAscii(),getuid(),getgrnam ( x2godesktopshare )-gr_gid ); QFile::setPermissions ( socketFname, QFile::ReadOwner|QFile::WriteOwner|QFile::ReadGroup|QFile::WriteGroup ); connect ( serverSocket,SIGNAL ( newConnection() ), -- 1.7.9 From 2b25d96d2b552eb342ed3fb56fb2d8b372f0f73b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milan=20Kn=C3=AD=C5=BEek?= kni...@volny.cz Date: Mon, 13 Feb 2012 20:50:19 +0100 Subject: [PATCH 2/2] Fix GROUP name in debian postinst script to x2godesktopshare --- debian/x2godesktopsharing.postinst |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/x2godesktopsharing.postinst b/debian/x2godesktopsharing.postinst index 6fd8a1a..4e0b277 100755 --- a/debian/x2godesktopsharing.postinst +++ b/debian/x2godesktopsharing.postinst @@ -22,10 +22,10 @@ set -e case $1 in configure) -X2GOGRP=`getent group | grep x2godesktopsharing || true` +X2GOGRP=`getent group | grep x2godesktopshare || true` if [ x$X2GOGRP=x ] then - addgroup --system x2godesktopsharing + addgroup --system x2godesktopshare fi ;; -- 1.7.9 ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2Go-Dev] Session Crash
Hi All, I know the session crashing issue on debian has been a work in progress for a while now. I was just wondering if any of releases in the non-stable PPA / repo were less likely to crash? I understand this is difficult and I don't have any expectations of it being fixed it a fixed amount of time. I just havne't had time to follow the mailing list every day so I'm not sure what the current state is. Thank you for the great software. Andrew ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2Go-Dev] Session Crash
Hi Andrew, On Di 14 Feb 2012 00:24:03 CET Andrew Mason wrote: Hi All, I know the session crashing issue on debian has been a work in progress for a while now. I was just wondering if any of releases in the non-stable PPA / repo were less likely to crash? I understand this is difficult and I don't have any expectations of it being fixed it a fixed amount of time. I just havne't had time to follow the mailing list every day so I'm not sure what the current state is. The x2goclient version in the nightly repos should have the issues fixed. Tomorrow will be release day (also for the x2goclient, I think). Mike -- DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419 GnuPG Key ID 0xB588399B mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb pgpKV4CYXZj2P.pgp Description: Digitale PGP-Unterschrift ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2Go-Dev] - RPM Repository moved
Hi Sören, On Di 14 Feb 2012 08:27:26 CET Sören Plönnigs wrote: Hi all, the RPM repositories have moved: https://build.opensuse.org/project/show?project=X11%3ARemoteDesktop%3Ax2go regards, Sören Thanks for the info. Myself is being picky about spelling... Could you (or someone else) make sure that X2Go is spelled ,,capital-X-2-capital-G-o''? We are currently trying to draw this straight in the code, as well. Thanks, Mike -- DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419 GnuPG Key ID 0xB588399B mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb pgpvnsSys1tq4.pgp Description: Digitale PGP-Unterschrift ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev