Re: [X2Go-Dev] Gnome Email client - Evolution not working with x2go
Mirek Ławniczek píše v Čt 08. 05. 2014 v 10:04 +0200: Hi Hi, There is link to description of bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710828 This used to be a problem on Arch Linux, too. It works okay for a few months now - I do not recall when it started to work and I do not think I did anything special. (Until then, I used cone mail client with the Evolution mail dirs to workaround the bug.) I use Evolution in KDE. evolution 3.12.2-1 x2goserver 4.0.1.15-1 mesa 10.1.4-1 $ cat /etc/x2go/x2goagent.options X2GO_NXAGENT_DEFAULT_OPTIONS= X2GO_NXAGENT_DEFAULT_OPTIONS+= -extension XFIXES #X2GO_NXAGENT_DEFAULT_OPTIONS+= -extension GLX X2GO_NXAGENT_DEFAULT_OPTIONS+= -nolisten tcp regards, Milan ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2Go-Dev] x2godesktopsharing: Full Access not available for other users?
V Tue, 21 Feb 2012 10:47:25 +0100 Mike Gabriel mike.gabr...@das-netzwerkteam.de napsáno: Hello Mike, Hi Milan, My suggestion for the red alert sign in x2godesktopsharing is: o there is a list of users that are allowed w/o confirmation to share someone's desktop. - only use this list for view-only access o for full access desktop sharing always let the confirmation dialog pop-up o for full access add some extra artwork/information to the confirmation dialog o have another icon for full access mode then for view-only mode (there is this X2Go eye in blueish colours. This could be red!?) With this arrangement we can reuse much of the stuff already there and still make the applet more secure (as it makes the user more aware of what she/he is doing). Any further ideas? Feedback? Criticism? If not, do you want to start on any of the above aspects? I will open up a branch in Git and I will commit anything you come up with. Currently, I feel more like a reviewer and proof-reader but that might change was you send your first drafts. Is that ok with you? I will try to start with the first two points - let's agree to open a separate branch on the server once I come with some patches, okay? Regards, Milan -- http://www.milan-knizek.net/ About linux and photography (Czech only) O linuxu a fotografování signature.asc Description: PGP signature ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2Go-Dev] Font colour in x2goclient in case of dark system theme
V Fri, 17 Feb 2012 16:33:21 +0100 Milan Knížek knizek.co...@gmail.com napsáno: Hello, the x2goclient has hardcoded light appearance for the various widgets (main window, session list, login window, progress of logging in), which does not work well with dark system theme: the white font is not distinquishable from the background. To those interested, a quick workaround w/o need for recompiling is to run: $ x2goclient -bg white -fg black which will set background and foreground colours for the whole app, fitting with the hardcoded lookfeel. (Both parameters exist for any Qt app. Probably works only in X Window system.) The app then looks different than the rest of the DE, of course. Regards, Milan -- http://www.milan-knizek.net/ About linux and photography (Czech only) O linuxu a fotografování ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2Go-Dev] [PATCH] xauth file location mismatch in x2gostartagent
V Sat, 18 Feb 2012 00:47:38 +0100 Mike Gabriel mike.gabr...@das-netzwerkteam.de napsáno: Hello Mike, Hi Milan, On Mi 15 Feb 2012 21:23:56 CET Milan Knížek wrote: The attached patch removes the -f $HOME/.Xauthority parameter from the x2goagent command line to resolve the problem. It also removes a redundant '-S' parameter (there is already $SESSION_TYPE there). This part has been committed as is: http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=c4a1ea405879b07d351b6c10da02bb891c02c45b Thanks. the /usr/bin/x2gostartagent script does not sufficiently specify the location of $XAUTHORITY file for the xauth command, while the command line for starting x2goagent refers to a specific location $HOME/.Xauthority. I have modified your patch slightly, could you test my patch if that works for you??? http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=51771f645ffa60d561e156847dbc79cce6b41d4d Should we want -xauth parameter for x2goagent (xserver), wouldn't it be consistent to add the same for xauth commands? (Patch attached.) P.S. It works for me with the extra patch and also w/o it. Regards, Milan -- http://www.milan-knizek.net/ About linux and photography (Czech only) O linuxu a fotografování From 36dbaf446ea0457aaf0f4a7e5a02dc5026b0adc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milan=20Kn=C3=AD=C5=BEek?= kni...@volny.cz Date: Sun, 19 Feb 2012 16:07:55 +0100 Subject: [PATCH] Add -f $XAUTHORITY to xauth commands in x2gostartagent --- x2goserver/bin/x2gostartagent |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/x2goserver/bin/x2gostartagent b/x2goserver/bin/x2gostartagent index 2dbaf0a..fe1ccee 100755 --- a/x2goserver/bin/x2gostartagent +++ b/x2goserver/bin/x2gostartagent @@ -78,8 +78,8 @@ if [ $X2GO_STYPE == S ]; then X2GO_COOKIE=`echo $OUTPUT | awk '{print $2}'` X2GO_PORT=`echo $OUTPUT | awk '{print $1}'` $X2GO_LIB_PATH/x2gosyslog $0 debug received shadow session information: cookie: $X2GO_COOKIE, port: $X2GO_PORT - xauth add ${HOSTNAME}/unix:${X2GO_PORT} MIT-MAGIC-COOKIE-1 ${X2GO_COOKIE} - xauth add ${HOSTNAME}:${X2GO_PORT} MIT-MAGIC-COOKIE-1 ${X2GO_COOKIE} + xauth -f $XAUTHORITY add ${HOSTNAME}/unix:${X2GO_PORT} MIT-MAGIC-COOKIE-1 ${X2GO_COOKIE} + xauth -f $XAUTHORITY add ${HOSTNAME}:${X2GO_PORT} MIT-MAGIC-COOKIE-1 ${X2GO_COOKIE} echo $X2GO_PORT echo $X2GO_COOKIE @@ -204,8 +204,8 @@ PATH=${PATH}:${X2GO_BIN}/ export PATH -xauth add ${HOSTNAME}/unix:${X2GO_PORT} MIT-MAGIC-COOKIE-1 ${X2GO_COOKIE} -xauth add ${HOSTNAME}:${X2GO_PORT} MIT-MAGIC-COOKIE-1 ${X2GO_COOKIE} +xauth -f $XAUTHORITY add ${HOSTNAME}/unix:${X2GO_PORT} MIT-MAGIC-COOKIE-1 ${X2GO_COOKIE} +xauth -f $XAUTHORITY add ${HOSTNAME}:${X2GO_PORT} MIT-MAGIC-COOKIE-1 ${X2GO_COOKIE} if [ $X2GO_SET_KBD == 0 ] -- 1.7.9.1 signature.asc Description: PGP signature ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2Go-Dev] x2godesktopsharing: Full Access not available for other users?
Hello list! I am a bit confused re. the discrepancy between wiki and actual behaviour of x2godesktop sharing: x the wiki [1] reads that With the desktopsharing function of X2go you can have full-access the desktop from somebody else... x when I (USER_B) connect from a remote machine with x2goclient to local desktop (USER_A logged in on tty7 of x2goserver), the USER_A's session is shown in the lists of sessions available for sharing, however the button Full Access is greyed-out and cannot be clicked. So USER_B is only allowed to view the USER_A's deskto. x having looked at x2godesktopsharing.git/sharetray.cpp, I can see that this is due to bShadow-SetEnabled ( user==getCurrentUname() ); and have verified that the following patch removes the limitation: === --- onmainwindow_part2.cpp2011-11-25 13:08:10.0 +0100 +++ onmainwindow_part2.cpp_mod2012-02-19 19:50:36.200838546 +0100 @@ -1132,7 +1132,7 @@ index.row(), D_USER ).data().toString(); bShadowView-setEnabled ( true ); -bShadow-setEnabled ( user==getCurrentUname() ); +bShadow-setEnabled ( true ); } } === Is this intentional behaviour due to the potential security issues mentioned here [2] (anyway, the remote user _can_ recompile the x2goagent to get rid of the limitation)? [1] http://www.x2go.org/wiki:components:desktop-sharing#usage [2] http://comments.gmane.org/gmane.linux.terminal-server.x2go.devel/2437 Regards, Milan -- http://www.milan-knizek.net/ About linux and photography (Czech only) O linuxu a fotografování ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2Go-Dev] x2godesktopsharing: Full Access not available for other users?
Oops, made few mistakes in package names, corrected below. Sorry, Milan V Sun, 19 Feb 2012 21:14:30 +0100 Milan Knížek knizek.co...@gmail.com napsáno: Hello list! I am a bit confused re. the discrepancy between wiki and actual behaviour of x2godesktop sharing: x the wiki [1] reads that With the desktopsharing function of X2go you can have full-access the desktop from somebody else... x when I (USER_B) connect from a remote machine with x2goclient to local desktop (USER_A logged in on tty7 of x2goserver), the USER_A's session is shown in the lists of sessions available for sharing, however the button Full Access is greyed-out and cannot be clicked. So USER_B is only allowed to view the USER_A's deskto. x having looked at x2godesktopsharing.git/sharetray.cpp, I can see x2goclient.git/onmainwindow_part2.cpp that this is due to bShadow-SetEnabled ( user==getCurrentUname() ); and have verified that the following patch removes the limitation: === --- onmainwindow_part2.cpp2011-11-25 13:08:10.0 +0100 +++ onmainwindow_part2.cpp_mod2012-02-19 19:50:36.200838546 +0100 @@ -1132,7 +1132,7 @@ index.row(), D_USER ).data().toString(); bShadowView-setEnabled ( true ); -bShadow-setEnabled ( user==getCurrentUname() ); +bShadow-setEnabled ( true ); } } === Is this intentional behaviour due to the potential security issues mentioned here [2] (anyway, the remote user _can_ recompile the x2goagent to get rid of the limitation)? ^ x2goclient [1] http://www.x2go.org/wiki:components:desktop-sharing#usage [2] http://comments.gmane.org/gmane.linux.terminal-server.x2go.devel/2437 Regards, Milan -- http://www.milan-knizek.net/ About linux and photography (Czech only) O linuxu a fotografování ___ 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 Sat, 18 Feb 2012 09:00:30 +0100 (CET) Jan Engelhardt jeng...@medozas.de napsáno: I do not see any group name length limit either, however, (a) there is a limit as to what a user can/want to take. While tabcompletion probably gets you out most of the time, nobody really wants e.g. /home/Karl\ Theodor\ Maria\ Nikolaus\ Johann\ Jacob\ Philipp\ Franz\ Joseph\ Sylvester\ Freiherr\ von\ und\ zu\ Guttenberg (21st century, though past-time, German politician serving for this example). (b) not defined by POSIX, but there is an actual sanity limit. A username length about PATH_MAX chars long becomes problematic to be used in a path, e.g. when attempting to use for /home :) The 16 character limit in Arch is just like the 80 character limit in coding. But actually, it is not a limit, but a wellness target: it may be exceeded if there is a justification. In contrast, historic UNIX usernames of 8 chars - /that/ was a limit. This seems to be a compilation-time configure option GROUP_NAME_MAX_LENGTH... On Debian (I looked at Knoppix actually), the limit is relaxed a bit: 32 chars. It can be handled as a distro specific patch, although it complicates portability. Regards, Milan -- http://www.milan-knizek.net/ About linux and photography (Czech only) O linuxu a fotografování ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2Go-Dev] Font colour in x2goclient in case of dark system theme
Hello, the x2goclient has hardcoded light appearance for the various widgets (main window, session list, login window, progress of logging in), which does not work well with dark system theme: the white font is not distinquishable from the background. I have checked the Qt documentation and there seems to be more ways on how to accomplish that. So far, I have used three various methods: labelname-setStyleSheet(QLabel { color : black; }); or cpal.setColor ( QPalette::Text, Qt::black); or QString fonttemplate=(font color='black'%1/font); nameLabel-setTextFormat ( Qt::RichText ); nameLabel-setText ( fonttemplate.arg( text ) ); which kind of works, though it requires to be written repeatedly throughout the code (sessionbutton.cpp, onmainwindow.cpp, onmainwindow_part4.cpp) for individual widgets and so far I am not able to use a single approach for all widget types (QLabel, QMenu, QPushButton, etc.). The first method seems to be the most general and simplest, however. Is there a way to set application-wide font colour for anything that appears in the widgets, but not in app menu and other windows (Settings, Session Settings, etc.), because these are styled with the system-wide dark theme? Where in the code? P.S. Sorry for possibly stupid question, but since I am not a coder, it is rather a trial error approach and a lot of googling... Regards, Milan -- http://www.milan-knizek.net/ About linux and photography (Czech only) O linuxu a fotografování ___ 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
Re: [X2Go-Dev] Packaging nx-libs (aka x2goagent) for your distro
Hello John, V Sat, 11 Feb 2012 16:20:28 -0800 John Williams jwilliams4...@gmail.com napsáno: On Sat, Feb 11, 2012 at 11:56 AM, Milan Knížek knizek.co...@gmail.com wrote: So at the moment, the semi-automatic build process has to download and compile major part of nx-libs repeatedly for each of the dependency (nxcomp: requires nx-x11; nxagent: requires nx-x11, nxcomp, nxcompext, ..., nx-x11; etc...). It works, nonetheless it is slow and inefficient. Yes, the makefile currently distributed with nx-libs (redistributed) is broken as you say. It sounds like someone is working on it (see post from Michael Kromer). Yup, I noticed that after having sent my message. That's good. As for the recompilation difficulty, I made an Archlinux package that installs everything from the nx-libs tarball at once, rather than splitting it into a lot of separate packages. This approach is good for local install, though for AUR I should be more carefull not to break dependencies of other packages not maintained by me: x2goclient, winswitch (optional dependency: nxproxy), and who knows how many other packages depending on some of the nx*thing are there. Regards, Milan -- http://www.milan-knizek.net/ About linux and photography (Czech only) O linuxu a fotografování ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2Go-Dev] Packaging nx-libs (aka x2goagent) for your distro
V Fri, 10 Feb 2012 23:23:16 +0100 Mike Gabriel mike.gabr...@das-netzwerkteam.de napsáno: Hi Oliver, Milan, Please build x2goagent from nx-libs.git. Tarballs are available here: http://code.x2go.org/releases/source/nx-libs Hello Mike, what is the status with make install for the packages included in nx-libs (i.e. nxcomp, nxcompext, nxcompshad, nxproxy, nxagent, 2goagent)? Unless I am doing something wrong, fakeroot make DESTDIR=/some/path install leads to installation of the libsbinaries to usr/X11R6 and not all components required for x2goagent (incl. x2goagent wrapper itself) are installed anyway. To work around that, I am using install command for all the libs and binaries with the use of the precompiled DEB packages as a template. A second point: in Arch linux, the X2Go packages (incl. nx-libs) are in AUR (user-contributed repository), which does not support so called split packages (i.e. I cannot compile the nx-libs tar ball and create several packages in one go like you do in Debian) [1]. So at the moment, the semi-automatic build process has to download and compile major part of nx-libs repeatedly for each of the dependency (nxcomp: requires nx-x11; nxagent: requires nx-x11, nxcomp, nxcompext, ..., nx-x11; etc...). It works, nonetheless it is slow and inefficient. How difficult would it be to have the Makefiles modified to search for the dependency in the system (/usr/lib/nx/X11...) instead in the source tree? [1] It actually is possible to create split packages with a little hack, but then it is not possible to automatically install the split packages as dependencies of others - AUR (and tools supporting automated compilation installation from AUR like yaourt) cannot search in the list of split packages. Regards, Milan -- http://www.milan-knizek.net/ About linux and photography (Czech only) O linuxu a fotografování signature.asc Description: PGP signature ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2Go-Dev] [PATCH] x2goserver.git/bin/x2goumount-session
Hello, find attached the following patches for bin/x2goumount-session script: 0001: the DESKTOP file for shares of /cygwin/C:/some/path got not removed due to redundant /cygwin/ string. 0002: the $HOME/media or $HOME/media/${USER}_media symlink got not removed after session end. 0003: the /tmp/${USER}_media mount points tree got not removed after session end. I am not sure about the latter two patches - could they create some problems in case the user has two paralel sessions active? (Can it even happen?) Will you please review and possibly commit to git? Regards, Milan -- http://www.milan-knizek.net/ About linux and photography (Czech only) O linuxu a fotografování From 802aec3b649105af0856cfd4cd91103dab41701d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milan=20Kn=C3=AD=C5=BEek?= kni...@volny.cz Date: Fri, 10 Feb 2012 11:04:08 +0100 Subject: [PATCH 1/3] Fix removal of DESKTOP file for MS Windows shared directories. --- x2goserver/bin/x2goumount-session |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/x2goserver/bin/x2goumount-session b/x2goserver/bin/x2goumount-session index 46befc8..d07f88e 100755 --- a/x2goserver/bin/x2goumount-session +++ b/x2goserver/bin/x2goumount-session @@ -123,6 +123,7 @@ break: } if (! $found) { + $remote=~s/\/cygdrive\///g; $remote=~s/\//_/g; $remote=(split(:,$remote))[1]; $remote=$ENV{'HOME'}/Desktop/$remote; -- 1.7.9 From a1c71810f20437fe74eb31cc7ae35f054f2a6943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milan=20Kn=C3=AD=C5=BEek?= kni...@volny.cz Date: Fri, 10 Feb 2012 11:13:37 +0100 Subject: [PATCH 2/3] Fix removal of symlink in $HOME directory. --- x2goserver/bin/x2goumount-session | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/x2goserver/bin/x2goumount-session b/x2goserver/bin/x2goumount-session index d07f88e..8f5258a 100755 --- a/x2goserver/bin/x2goumount-session +++ b/x2goserver/bin/x2goumount-session @@ -38,6 +38,7 @@ my $session=shift; my $only_path=shift; my $uname=$ENV{'USER'}; my $serv=hostname; +my $ldir=$ENV{'HOME'}/media; if ($only_path) { @@ -159,6 +160,16 @@ break: } cont: } +if ( -l $ldir) +{ + syslog('info', removing symlink ,,$ldir''); + unlink($ldir); +} +elsif ( -l $ldir/$uname\_media) +{ + syslog('info', removing symlink ,,$ldir/$uname\_media''); + unlink($ldir/$uname\_media); +} # closing syslog closelog; -- 1.7.9 From facfa66f4826ad7b2d2bf7882d1a46fceb5320aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milan=20Kn=C3=AD=C5=BEek?= kni...@volny.cz Date: Fri, 10 Feb 2012 11:15:41 +0100 Subject: [PATCH 3/3] fix removal of /tmp/${USER}_media mount points. --- x2goserver/bin/x2goumount-session |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/x2goserver/bin/x2goumount-session b/x2goserver/bin/x2goumount-session index 8f5258a..54a6d72 100755 --- a/x2goserver/bin/x2goumount-session +++ b/x2goserver/bin/x2goumount-session @@ -171,6 +171,15 @@ elsif ( -l $ldir/$uname\_media) unlink($ldir/$uname\_media); } +foreach $i (/tmp/$uname\_media/cd, /tmp/$uname\_media/disk, /tmp/$uname\_media/rm, /tmp/$uname\_media) +{ + if ( -d $i) + { + syslog('info', removing mount point ,,$i''); + rmdir ($i); + } +} + # closing syslog closelog; -- 1.7.9 ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2Go-Dev] X2Go Server + NXLibs
V Fri, 10 Feb 2012 11:22:35 +0100 Bogdan-Andrei Taru bogdan.t...@gmail.com napsáno: Hi Oliver, thanks for your reply! No, I had no idea I need a x2goagent wrapper. I found one in the nx-libs-source/bin/ directory, but it doesn't make any sense, because it calls another x2goagent: NX_LIBS=/usr/lib/nx exec $NX_LIBS/../x2go/x2goagent $@ How did you solve the problem? Create a link to nxagent: ln -s /usr/lib/nx/nxagent /usr/lib/x2go/x2goagent I assume it is because of backward compatibility. The nxagent from nx-libs (NX redistributed) is patched so that it knows when it is run as x2goagent and when as nxagent. You can also have a look at the debian package to see what is installed and where: http://packages.x2go.org/debian/pool/main/n/nx-libs/x2goagent_3.5.0.10-0+wheezy~main~250~build1_all.deb Do not use x2goagent version older then 3.5.0.10, since these were a separate binary, not just a wrapper to NX redistributed nxagent. Regards, Milan -- http://www.milan-knizek.net/ About linux and photography (Czech only) O linuxu a fotografování ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2Go-Dev] X2Go bindings for Xfce and others
Hello, I have modified the existing LXDE bindings for X2Go so that it works with Xfce. I did some further modifications: x command to open folder is xdg-open x added generic-icon name to MIME type (folder-remote) As far as I understand the X2Go scripts, they check for GNOME/KDE/LXDE and add the corresponding letters to sshfs-disk-$DE MIME type. If none of the listed DEs is detected, the MIME type remains simply sshfs-disk. Since xdg-open and generic-icon name is general enough, it should work with other DE than Xfce, nonetheless, it has not been tested yet. I also updated the debian/ files but since I am on Arch Linux, I could not test the packaging process. P.S. I am aware about the plans for a unified approach for all DEs, which should make the gnome/kde/lxdebindings obsolete. So this is just a temporary solution. If you find it useful, will you add the x2gofmbinding to git? regards, Milan -- http://www.milan-knizek.net/ About linux and photography (Czech only) O linuxu a fotografování x2gofmbindings_1.0.1.1.tar.gz Description: GNU Zip compressed data ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2Go-Dev] X2Go Server + NXLibs
Hello, you can increase the logging verbosity level in /etc/x2go cong file and theb check syslog. Milan Bogdan-Andrei Taru bogdan.t...@gmail.com napsal(a): Hello, I'm trying to compile and RPM-package the X2GO Client, Server and the NX-Libs and I'm having a problem with the X2Go Server. I tried the following: - install the NX-Libs from the source - install the X2Go Server from the source - tried to create a X2GO database with 'x2godbadmin --createdb' (how can I really check if the database was successfully created?) - started the X2Go server with the init-script (I see a process /usr/bin/perl /usr/sbin/x2gocleansessions running) - I try to connect with the X2Go client to the server and I get the following output on the client's console: Fontconfig warning: no cachedir elements found. Check configuration. Fontconfig warning: adding cachedir/var/cache/fontconfig/cachedir Fontconfig warning: adding cachedir~/.fontconfig/cachedir ONMainWindow constructor ONMainWindows constructor finished, home Directory is: /home/bgd read 2 sessions from config file start new ssh connection to server: localhost : 22 krb: false ssh connection ok continue normal x2go session x2gostartagent 800x600 adsl 16m-jpeg-9 unix-kde-depth_24 de pc105/de 1 D KDE Agent output: 50 c6f8f50cdbe957633f362ac62f1811ee 25672 bgd-50-1328297898_stDKDE_dp24 30003 30004 30005 starting nxproxy with: nxproxy -S nx/nx,options=/home/bgd/.x2go/S-bgd-50-1328297898_stDKDE_dp24/options:50 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 '25732'. Session: Starting session at 'Fri Feb 3 20:38:19 2012'. Info: Connecting to remote host 'localhost:31003'. Info: Connection to remote proxy 'localhost:31003' established. search proxy win: X2GO-bgd-50-1328297898_stDKDE_dp24 channel_open_forward failed : Channel opening failure: channel 47 error (2) Connection refused channel_write failed - Remote channel is closed Error: The remote NX proxy closed the connection. Error: Failure negotiating the session in stage '7'. Error: Wrong version or invalid session authentication cookie. Session: Terminating session at 'Fri Feb 3 20:38:20 2012'. Session: Session terminated at 'Fri Feb 3 20:38:20 2012'. deleting proxy nxproxy not running proxy deleted check command message search proxy win: X2GO-bgd-50-1328297898_stDKDE_dp24 search proxy win: X2GO-bgd-50-1328297898_stDKDE_dp24 search proxy win: X2GO-bgd-50-1328297898_stDKDE_dp24 search proxy win: X2GO-bgd-50-1328297898_stDKDE_dp24 search proxy win: X2GO-bgd-50-1328297898_stDKDE_dp24 Any ideas where the problem could be? Where does the X2GO Server log it's messages? Thanks, Bogdan ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev -- Odesláno z mého telefonu s Androidem pomocí pošty K-9 Mail. Omluvte prosím mou stručnost. ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2Go-Dev] Shared dir not removed after session termination
Hello, is there a reason why /usr/bin/x2goumount-session deletes only the $HOME/Desktop/share (sshfs-disk) file and not also $HOME/media and /tmp/$USER_media? Regards, Milan -- http://www.milan-knizek.net/ About linux and photography (Czech only) O linuxu a fotografování ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2Go-Dev] [X2go-Dev] x2goclient/win32, nxproxy window resolution (outer vs. inner border)
V Sun, 22 Jan 2012 00:27:15 +0100 Mike Gabriel mike.gabr...@das-netzwerkteam.de napsáno: Hi Alex, John Sullivan wrote on x2go-user ML: quote Anyway, I use XFCE, and I choose Custom in the client, and give it the command /usr/bin/startxfce4 and it gives me almost the same startup messages as you posted, but it does connect and allow me to use the desktop normally (except all the clients have a bug where it sets the Windows window size too small when you choose a custom resolution, say 800x600, the windows client sets the outer dimensions of the window to 800x600 but of course the windows title bar takes up 25-30 pixels, so the window ends up being too small to display an 800x600 desktop). /quote ping@Alex: are you aware of the above??? Can this be confirmed by anyone else using the X2Go windows client? Same here - X2Go 3.99.0.4, Windows XP. The workaround (resizing the client window back and forth) solves the problem. (Server is arch linux, xfce4) regards, Milan -- http://www.milan-knizek.net/ About linux and photography (Czech only) O linuxu a fotografování ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2Go-Dev] [X2go-User] Using x2go with on Ubuntu Server with Encrypted Home Folders
Hello, senrab...@aol.com napsal(a): Hi All: We are trying to use x2go connected to a Ubuntu server desktop user account where we have encrypted the Home folder for that user. We can connect just fine, though we go through a couple of error screens we get to one where we can enter a password. We enter the user password and get in just fine. When you login through SSH, is the home directory mounted (decrypted) correctly? If not, google for ssh, pam, ecryptfs. Q: is there a way to get directly to that log in screen and/or store the password locally so we can use the icon on the desktop feature? What log in screen do you refer to? Regards, Milan -- Odesláno z mého telefonu s Androidem pomocí pošty K-9 Mail. Omluvte prosím mou stručnost. ___ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-Dev] OT: exclude /usr/lib/x2go/libX11.so.6 from being linked by other apps
V Sat, 15 Oct 2011 20:32:38 +0300 Ivan Kabaivanov chep...@yahoo.com napsáno: Hi Milan, Hello Ivan, check if /usr/lib/x2go is listed in /etc/ld.so.conf (or whatever file/directory your distribution is using). If it is listed, remove it and re-run /sbin/ldconfig. Then create a wrapper to start x2goagent with the correct LD_LIBRARY_PATH. The man page of ldconfig reads that /usr/lib is a trusted directory and as such is not specified extra in /etc/ld.so.conf.d nor /etc/ld.so.conf. /usr/lib/x2go is neither listed in the ld.so conf files. So far, the only problem seems to be with darktable, whose cmake script looks in any subdir of /usr/lib - the configuration log file shows it found x2go/libx11.so.6. I am not sure if it is an error of darktable cmake configuration or if this is an expected behaviour. Just for the curiosity, I have checked all binaries in /usr/bin and none is dynamically linked to /usr/lib/x2go/... Devs, perhaps it would be a good idea to change the x2goagent code and rename the above libs to ${lib}-x2go.so.* or some such? Then they can safely be installed in /usr/lib without fear of interfering with other programs. This could be a solution for me. As a workaround, I have simply moved /usr/lib/x2go temporarily away and compiled darktable. Thanks for the hints. Regards, Milan -- http://www.milan-knizek.net/ About linux and photography (Czech only) O linuxu a fotografování ___ X2go-Dev mailing list X2go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-Dev] x2golxdebindings (was Re: [X2go-User] Local share appears as a text file in $HOME/Desktop - cluttering the desktop)
Hello Mike, V Tue, 16 Aug 2011 14:14:34 +0200 Mike Gabriel mike.gabr...@das-netzwerkteam.de napsáno: Thanks for your input on this!!! Fixed in latest Debian package and in X2go Git (Ubuntu packages will follow some time during the next 24h automatically). I have further looked on git on the x2go*bindings and it seems that the default file manager for handling the shared (sshfs) mounted directory is hardcoded - i.e. nautilus for GNOME, pcmanfm for LXDE. How about using xdg-open for that? While it might make sense to expect that GNOME users have nautilus installed, users of less-fat environments usually prefer various file managers (thunar, pcmanfm) and not neccessarily the default one. I tried to edit /usr/bin/x2gopcmanfm and replace the command: system( pcmanfm $dir ); with system( xdg-open $dir ); and it seems to work just fine. What do you think? (If it is fine, then the command could actually be named more neutrally, like x2gofilemanager and also the corresponding x2gofilemanager.desktop file and also the definition of mime type sshfs-x2go.xml - which would lead to unification of the code across desktop environments.) regards, Milan -- http://www.milan-knizek.net/ About linux and photography (Czech only) O linuxu a fotografování ___ X2go-Dev mailing list X2go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-Dev] [X2go-dev] suidperl depreciated upstream?
V Wed, 27 Jul 2011 10:30:39 +0200 Mike Gabriel mike.gabr...@das-netzwerkteam.de napsáno: I'll have a phone chat with Heinz in a minute, anyway. I will propose marking the current x2goserver as so-to-say stable, increment the version (Git tag) and push the package to the ,,main'' (that is X2go-upstream-stable) area of our Debian repos and to the stable-ppa on Launchpad (for Ubuntu). I gave a try to x2goserver in GIT master few days ago (arch linux) and had troubles with some scripts not being in $PATH as described in the roadmap (http://wiki.x2go.org/roadmap). (I finally gave up due to problems with x2goagent being frozen on connection initiation.) This should be resolved before marking the code stable. (Might not be an issue for debian way of installation, but anybody using make install will have troubles.) regards, Milan -- http://www.milan-knizek.net/ About linux and photography (Czech only) O linuxu a fotografování ___ X2go-Dev mailing list X2go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] suidperl depreciated upstream?
V Mon, 23 May 2011 08:25:26 +0200 Moritz Strübe moritz.stru...@informatik.uni-erlangen.de napsáno: Hi, Hello Moritz and others, I'm not familiar with the details, but you can try using the Debian or Ubuntu sources. They seem to be actively maintained. I appologise for not being clear enough: it is upstream, who decided to remove suidperl. I assume that the reason is a security concern. http://www.cpan.org/src/README.html It still existed as an optional component in perl 5.10.1, but does not exist anymore in versions 5.12.3 and 5.14.0. In other words, x2goserver will not run on debian in future either. (Unless debian devs fork perl.) regards, Milan -- http://www.milan-knizek.net/ About linux and photography (Czech only) O linuxu a fotografování (pouze česky) ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] [PATCH] x2goclient 3.0.1.18 fails due to missing files + workaround
V Sat, 21 May 2011 20:24:17 +0200 Mike Gabriel mike.gabr...@das-netzwerkteam.de napsáno: Hi Milan, Hi Mike, this is already fixed in the x2goclient Git project on code.x2go.org. However, no new version has yet been tagged as a release. You may draw the latest code from Git anyway. Currently, the HEAD of the master branch should be fine. From today's Git: x install failed due to missing x2goclient.desktop (which is in desktop subdir). Patch to the Makefile is attached. x compilation fails due to missing qmake-qt4, which on Archlinux is called simply qmake. I assume that this is distro specific. Having been corrected for the above matters, it compiled cleanly. regards, Milan -- http://www.milan-knizek.net/ About linux and photography (Czech only) O linuxu a fotografování (pouze česky) From 34db0c1008490cd8c2ef457fb0d679e966c37f58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milan=20Kn=C3=AD=C5=BEek?= kni...@volny.cz Date: Sun, 22 May 2011 16:46:53 +0200 Subject: [PATCH] Correct path for x2goclient.desktop installation --- Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index 04c0676..3348a4b 100755 --- a/Makefile +++ b/Makefile @@ -53,7 +53,7 @@ install_client: $(INSTALL_DIR) $(DESTDIR)$(SHAREDIR)/icons/hicolor/64x64/apps $(INSTALL_DIR) $(DESTDIR)$(SHAREDIR)/icons/hicolor/32x32/apps $(INSTALL_PROGRAM) $(CLIENT_DIR)/x2goclient $(DESTDIR)$(BINDIR)/x2goclient - $(INSTALL_FILE) x2goclient.desktop$(DESTDIR)$(SHAREDIR)/applications/x2goclient.desktop + $(INSTALL_FILE) desktop/x2goclient.desktop$(DESTDIR)$(SHAREDIR)/applications/x2goclient.desktop $(INSTALL_FILE) icons/x2goclient.xpm $(DESTDIR)$(SHAREDIR)/x2goclient/icons/x2goclient.xpm $(INSTALL_FILE) icons/128x128/x2goclient.png $(DESTDIR)$(SHAREDIR)/x2goclient/icons/x2goclient.png $(INSTALL_FILE) icons/128x128/x2gosession.png $(DESTDIR)$(SHAREDIR)/x2goclient/icons/x2gosession.png -- 1.7.5.1 ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2go-dev] suidperl depreciated upstream?
Hello List! perl-suid is the run-time dependency of x2goserver from the current Git. I have spent some time searching for a package (or PKGBUILD script) for Arch Linux and have not succeeded. Having also checked the current source code of Perl, I found the reason for it - the INSTALL file reads: - suidperl suidperl was an optional component of earlier releases of perl. It is no longer available. Instead, use a tool specifically designed to handle changes in privileges, such as sudo. - (I am aware about the sudo vs suidperl discussion held in February this year on the mailing list.) Is there any solution for those running the most recent perl (and for future in general)? Regards, Milan -- http://www.milan-knizek.net/ About linux and photography (Czech only) O linuxu a fotografování (pouze česky) ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2go-dev] x2goclient 3.0.1.18 fails due to missing files + workaround
Hello list! the compilation of the x2goclient 3.0.1.18 fails due to missing files xsettingsui.ui, xsettingswidget.cpp, xsettingswidget.h. Those files are actually residing in ./x2goclient/* but Makefile expects them in the current directly. Instead of adjusting the Makefile, I simply moved the files to the parent directory. Then, the x2goclient compiled cleanly on Arch Linux. regards, Milan -- http://www.milan-knizek.net/ About linux and photography (Czech only) O linuxu a fotografování (pouze česky) ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] NX bug: AltGr gets stuck when pressed once
On Thu, 19 May 2011 17:31:18 +0200 Mike Gabriel mike.gabr...@das-netzwerkteam.de wrote: hi all, today i have encoutered this bug with X2go: http://www.nomachine.com/tr/view.php?id=TR02H02327 What can be done about this The workaround mentioned in the bug report also works (the one recommending to loose focus on NX session window). I am on Arch - both the client and the x2go server. Regards, Milan -- http://www.milan-knizek.net/ About linux and photography (Czech only) O linuxu a fotografování (pouze česky) ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] x2go with Gnome 3 ?
V Wed, 4 May 2011 09:26:52 +0200 Jo-Erlend Schinstad joerlend.schins...@gmail.com napsáno: 2011/5/4 John Williams jwilliams4...@gmail.com: 2011/5/3 Milan Knížek knizek.co...@volny.cz: This is by the way the reason, why I am in a search for a GNOME replacement... Since you said you're looking for a replacement for Gnome, I want to add something: Xfce4-panel is able to run Gnome-panel applets, which may be very useful. I do think Xfce4 is a natural replacement if you want to stick with the Gnome2 experience while at the same time using software that's actively developed, more lightweight and more suitable for terminal servers. But LXDE is great too; I really love both of them. :) A change is always a trouble: I got used to dockbarx GNOME applet (it takes care about minimise/maximise/run_only_once, takes very little space on the panel and works also without 3D effects), which should run under xfce panel thanks to xfapplet. The trouble is, the latter applet crashes in Arch linux). I will investigate more when the time allows and let the list know. regards, Milan ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2go-dev] x2go plugin and proxy?
Hello, are there any plans to introduce connection through http proxy within x2go plugin and/or client? ATM, I create a SSH tunnel (with putty in MS Windows) and set x2go client to connect to locahost at forwarded ports. Regards, Milan -- http://www.milan-knizek.net/ ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] x2go plugin and proxy?
On Wed, 2010-12-15 at 14:17 +, Robin Green wrote: I don't understand. x2goclient *already* uses ssh, and can be configured to forward all sound etc. over ssh as well. You need to forward ssh traffic through an ssh proxy? Why? That is inefficient - can't you just make the remote server visible on some port? I am connecting from LAN hidden by an http proxy. I.e. it is not possible to simply ssh -p 443 x2goserver.com, but the connection must be passed through a proxy at some.local.proxy.address at port 8080 (the proxy is without authentication). Putty allows for proxy setup. I also checked the man page of ssh, it has an option ProxyCommand, which would probably be connect some.local.proxy.address 8080\n. So the question probably is how to incorporate that ssh option into x2go plugin. Regards, Milan -- http://www.milan-knizek.net ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev