[X2go-dev] Fullscreen mode in Windows not working
Hello, all. I've been testing X2Goclient 3.0.1-4 for Windows on two separate computers running WindowsXP. I'm seeing the same problem on both. I set the session mode to full screen and yet the session opens to some less than full screen geometry with Window decorations. I have ensured the old sessions were not running so it was not inheriting old geometry. Is this a bug or am I doing something wrong? Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2go-dev] Windows client hangs after screen saver starts
I'm running X2GoClient 3.0.1-4 on WindowsXP home. If I walk away from my X2Go desktop for an extended period of time, when I stop the Windows screen saver, the X2Go screen is completely white and refuses to close; it must be forcibly closed. I've tried moving the mouse and typing the screensaver password on the remote system but that did not work. If I let Windows go to screen saver and then immediately end the screen saver, I do not have this problem. Killing the process seems to be stopping xming. Is this a known issue? Where should I be looking for data to troubleshoot? Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2go-dev] Share database for multiple X2Go servers
Hello, all. My rusty brain is gradually remembering the work we did a year ago when we first started adapting X2Go to our environment where we run a virtual vserver for each user so there is a one-to-one correspondence between virtual machines and virtual desktops. One of the important changes for our environment was to be able to run a single database server for all the (hopefully) thousands of individual X2Go servers. I know tha X2GoServer-One is designed for this and uses SQLite. However, I would rather run a single PostgreSQL server for 2000 X2GoServer instances than running 2000 instances of SQLite on the virtual desktop host. We had submitted patches roughly a year ago for supporting a shared database. A quick look at the wrapper scripts seems to indicate they weren't incorporated. Is there a better way? Is this natively supported now? Or will we need to reapply our patches to use PostgreSQL schema for each user? Thanks and thrilled to be back on board with X2Go - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] FUSE reFUSEs to install
Oops! My apologies - sent to the wrong list :-( On Fri, 2010-01-08 at 19:59 -0500, John A. Sullivan III wrote: Hello, all. We are trying to install a Debian Lenny vserver on a CentOS 5.4 host running a custom kernel - 2.6.28.7-vs2.3.0.36.7. We are trying to install fuse-utils and sshfs for use wit X2Go (a great project for those unfamiliar with it - www.x2go.org). We keep getting: Setting up fuse-utils (2.7.4-1.1) ... creating fuse group... udev active, skipping device node creation. udev requires a mounted sysfs, not started. failed! failed! invoke-rc.d: initscript udev, action reload failed. dpkg: error processing fuse-utils (--configure): subprocess post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of sshfs: sshfs depends on fuse-utils (= 2.7); however: Package fuse-utils is not configured yet. dpkg: error processing sshfs (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: fuse-utils sshfs In the past, we simply created the fuse device manually and added SECURE_MOUNT SECURE_REMOUNT BINARY_MOUNT to ccapabilities Short of giving SYS_ADMIN and running udev, how do we get this to work? Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Speed
On Sat, 2010-01-16 at 16:35 +, --[ UxBoD ]-- wrote: - John A. Sullivan III jsulli...@opensourcedevel.com wrote: On Sat, 2010-01-16 at 07:25 +, cougarmaster wrote: Hi, This seems better. Ok to ask a proper question is that for login and working in the remote desktop, nxclient seems to be much quicker and responsive than x2go client in windows. Is there a reason or still need to wait for newer versions? Interesting. Our initial testing is showing X2Go much faster than NoMachine on Linux. Older versions of X2Go on Windows proved to be unusably slow for us. I think this had more to do with Xming than X2Go. That is why we moved away from X2Go until the release of 3.0.1-4. That appears to be performing satisfactorily although we are just starting our Windows testing. I assume the basic problem is the performance of the X server on Windows. Does anyone have experience on accelerating the X Server under Windows or faster alternatives to XMing? Thanks - John Some potential tweaks are available on here :- http://www.straightrunning.com/XmingNotes/trouble.php I wonder how well Cygwin XServer performs ? My ignorant understanding is that Cygwin is slower - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] x2go en homedirs on samba share
On Wed, 2010-01-27 at 09:29 +0100, jasper van der marel wrote: Hello Heinz, I think I have found a part of the problem. I have read (http://osdir.com/ml/fedora-directory-users/2009-06/msg00026.html) x2go logs in 3 times when setting of the connection between server and client. In the current setup we are mounting the samba/cifs home share during login. When looking at the mountpoints after making the connection (which fails) I can see the samba/cifs home dir mounted three times. Is there a way to force x2go to login just one time ? Or can you explain the loginprocess to me so I can solve the problem ? With kind regards, Jasper van der Marel snip We encountered the three login problem when we had set our accounts to lockout after three failed attempts and found our X2Go users locked at only one failed login attempt. We recorded Alex's explanation in our internal documentation, Here it is: This is more than three because of X2Go. It appears to make three logins during the session setup process. Thus, a single mistyped password locks an account limited to only three failed attempts. Here is the email explanation from Alex: Let me explain how x2goclient works. It using ssh authentication to login on remote server. The password typed from user before session start will be used for whole session. During one session x2goclient make several ssh connections to x2goserver: 1. Connect to server and ask for list of running or suspended session 2. Create ssh tunnel for graphical (and audio) data 3. Resume suspended session or start a new one. 4. In case of a new session, run session command on server (for example startkde) ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] bash settings missing
On Wed, 2010-02-03 at 13:05 +0100, Paul van der Vlis wrote: John A. Sullivan III schreef: Hello, all. Amidst our very successful testing of X2Go, we came across a permissions issue. Our environment sets a default umask of 007 rather than the standard 022. This was honored in our NoMachine environment. However, we recently started having access control issues where users could not edit each others' documents. Sure enough, the default rights were rw_r__r__ rather than rw_rw. We checked our /etc/profile file in case something had changed and it is still a umask of 007. We did a direct ssh and touched a file and it gave correct rw_rw rights so it appears to be something specific to X2Go. From where does X2Go configure its bash environment? We are using Hardy on the X2Go server (in process of transitioning to Lenny) and Lenny on the X2Go Client. Thanks - John What you can do is not starting Gnome or KDE, but start a script. In that script you can set the environment like the umask and you start Gnome or KDE. Something like this: umask 0002 export TESTVAR=test21 . ~/.gnomerc /usr/bin/gnome-session snip Thanks, Paul. That's a very creative idea but it means either editing thousands (hopefully) of clients spread all over the world or replacing the startkde file with a script and remembering that after every upgrade for every virtual machine (we map one virtual machine per virtual desktop). That's why we'd rather control it using standard bash configuration in the base image from which we build the virtual machines. What files does X2Go use to configure its bash environment if not /etc/profile? Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] X2go server and hostname
On Fri, 2010-02-05 at 11:37 +0100, jasper van der marel wrote: Hi, When resuming or killing a session with the x2go client the client does this based on hostname of the server (eq x2goserver). When connecting through a vpn tunnel the hostname cannot be resolved. Can this be changed to a ip-based setup ? snip Hmm . . . we do not seem to have that problem. We do rewrite the DNS settings when we establish the VPN so that we can resolve internal names but I just reconfigured my X2Go VPN session to use the IP address instead of the host name. It established the session fine. I then suspended and reconnected and it worked. I then suspended and changed back to using the name and, once again, it connected fine. Perhaps I misunderstand the problem - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] x2goprint and user rights
Ah, interesting. That could be the problem for the file shares. Exposing the physical desktop file system is working brilliantly well for us (thanks, Heinz and Oleksandr) but we are accessing the home directories via iSCSI. Can one mount into a SAMBA share? If so, it might be non-default behavior. If one can't and neither iSCSI presented or local home directories are not an option, I wonder if you can create a local storage area outside of the home directories (a pain for both admins and users) and use it strictly for sharing physical desktop files. I'd imagine you would need to hack the X2Go scripts to change the default mount point. I don't know if that has been exposed in the user interface or in x2go.conf. I think there is such a file which we have used in the past to configure a remote database server. I don't know what other options it takes - John On Fri, 2010-02-05 at 16:18 +0100, jasper van der marel wrote: Hi, Just to mention the homedirs are on a samba server (cifs) and when I try to mount a local drive the mounts.log file fills up with connection reset by peer messages. When using a local homedir (same user in ldap) I get the same errors. With kind regards, Jasper van der Marel Stone-IT 2010/2/5 jasper van der marel jaspervanderma...@gmail.com: Hi, I have just configured our first x2go server with thanks to the developers of x2go for solving some problems. I have just one issue with x2goprint. When printing as al local user everything works out of the box. When printing als a ldap-user the job prints but is not send to the client. The server is an Ubuntu server (9.0.4) and the user is member of x2gousers and fuse, just as mentioned in the docs. Can someone look into this (last) problem ? Many thanks in advance, Jasper van der Marel Stone-IT ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Fullscreen mode in Windows not working
On Tue, 2010-01-05 at 19:53 -0500, John A. Sullivan III wrote: Hello, all. I've been testing X2Goclient 3.0.1-4 for Windows on two separate computers running WindowsXP. I'm seeing the same problem on both. I set the session mode to full screen and yet the session opens to some less than full screen geometry with Window decorations. I have ensured the old sessions were not running so it was not inheriting old geometry. Is this a bug or am I doing something wrong? Thanks - John snip Hello, all. Any further word on this issue? Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2go-dev] Shared print server for multiple X2Go Servers
Hello, all. We were hoping to run a central print server for potentially hundreds of X2Go Servers. However, we found that the print server cups-x2go driver did not send the print job to the X2Go Server unless we changed the x2goserver setting in cups-x2go.conf from local to the specific x2go server. From a brief look at the cups-x2go backend, this seems to be the expected behavior. How would one share a print server among multiple x2go servers? Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2go-dev] x2gocleansessions order change?
Hello, all. I'm working on adapting the x2gocleansessions script to handle session cleanup from a VServer host for all of its guests. In working my way through the script, something seemed a bit strange. It looks like we attempt to delete sessions with a status of F before we delete the mounts for that sections which leads to a foreign key constraint violation. Shouldn't the rmsessionsroot call in x2golistsessions_sql be broken out separately and executed after x2goumount_session? I'd imagine there's something I'm missing but thought I'd at least ask. I'll submit the patches and documentation once I've got it working. Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2go-dev] Working on x2goclient code
Hello, all. I'm both trying to deeply understand the workings of X2Go and trying to troubleshoot a problem we are having with SSH keys after replacing an X2Go Server. From where does one checkout the repository? I'm not that used to Berlios and it didn't jump out at me. I did download the 3.01-4 tarball and tried to run it on my default Lenny installation of KDevelop. It complains that QtDesigner is too old. It's also complaining about paths when I try to run the debugger. Any tips for getting set up to work on the Qt code? Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2go-dev] SSH Key issues
Hello, all. We recently recreated an X2Go Server and found we had serious ssh key issues when we tried to connect from the previously existing X2Go clients. We're still working these through so I'll list them in the order we find them. The GUI key popping up Accept Key dialogs with Yes and No options but no text. It was only when we canceled that we saw the error message about there being an old, conflicting key. By the way, we use both hashed known_host files and non-default ssh ports. This created a problem when we went to remove the offending keys in that the syntax ssh-keygen -R server name did not work. We needed to use ssh-keygen -R [server name]:port number (note the brackets). We then hit a problem where the X2Go Client for some reason started trying to open an SSH sessions as root. Since we use active host intrusion detection (OSSEC), the failed login attempts lock out the user and the screen stops at the X2Go logo. Oops! This was our misunderstanding of the auth.log. The problem was that our users are only defined in LDAP. We configured pam to look at pam_unix first. This tripped our HIDS and blocked our users. From our internal documentation: Now we need to fix some pam files. It is critical that the ldap modules are processed first even though that is non-standard. In the X2Go environment, many ssh sessions are fired off in quick succession. Since the pam_unix authentications fail for the LDAP users (as they are not defined locally), all the failed authentications trip the OSSEC auto-response and block the user from access to VD01. Thus, LDAP credentials MUST be processed first. This just leaves the empty dialog box. Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Fullscreen mode in Windows not working
On Thu, 2010-02-11 at 07:37 -0500, John A. Sullivan III wrote: On Tue, 2010-01-05 at 19:53 -0500, John A. Sullivan III wrote: Hello, all. I've been testing X2Goclient 3.0.1-4 for Windows on two separate computers running WindowsXP. I'm seeing the same problem on both. I set the session mode to full screen and yet the session opens to some less than full screen geometry with Window decorations. I have ensured the old sessions were not running so it was not inheriting old geometry. Is this a bug or am I doing something wrong? Thanks - John snip Hello, all. Any further word on this issue? Thanks - John snip When testing the Mac client, I noticed I had to set the Mac X server to run a root window in order to get true full screen. Is there some similar setting for Xming? I thought I recalled seeing something in previous X2Go clients but I have not yet found where the call to Xming is configured in 3.0.1-4. I wonder if this is related to the clipboard problem, i.e., perhaps Xming is not being invoked with the clipboard and fullscreen options. Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Desktop sharing
On Wed, 2010-03-24 at 18:40 +0100, Paul van der Vlis wrote: John A. Sullivan III schreef: Our solution was to use x11vnc. It is about the ugliest GUI I have ever seen and is a bear to configure but it is blazingly fast and allows access to display :0. We then chose xvnc4viewer as the viewer rather than Krdc. Krdc evidenced some instability when used with X11vnc. I've just tested Vino with Vinagre, this is the Gnome server/client for VNC. You can connect to :0, looks nice, but it's slow. Yes - similar to Krfb/Krdc If it would be helpful, I can post our procedure and set up to the list. Yes, I am interested. Do you maybe use the experimental ncache speedup feature? I have never seen a fast VNC connection, even to localhost it's real slow. We did not use it. All of our desktops are running on a limited number of very large VServer hosts - so we use virtual machine per virtual desktop. Since it is a shared memory environment, we were concerned about inflating memory use. We were not as concerned about performance because most of the traffic is literally inside the VServer host and does not even hit the Gb ethernet connections. Why don't you use xtightvncviewer or ssvnc? (x11vnc likes the tightvnc protocol). We did not use ssvnc because we did not see it in the Lenny repository or in lenny-backports. It also has a very ugly interface even though very powerful. On the other hand, the xtightvncviewer interface was too minimal. xvnc4viewer was a nice balance for our environment - it looked good and gave ready access to options. We also did not have to specify :0 on the target - intuitive for techs but not for end users. Simply entering the target name without the display means fewer help desk calls. snip The biggest challenge for us was getting the right combination of the truly overwhelming x11vnc options. The combination we eventually settled on is: x11vnc -display :50 -shared -accept popup -gone popup -noxdamage -gui start,simple,tray=setpass There are some caveats here. Because the traffic is in an isolated data center with no users on the local network and because the traffic does not even tough the network in most cases, we did not implement ssl and we did not tunnel it through ssh to avoid the overhead. We also found xvnc4viewer did not support ssl (although we did not try very hard since we did not need it). We did want the users to set a password every time they started it. The noxdamage apparently compensates for a bug and provides much better performance when disabled. The one thing I would like to change is that the user must click on enable remote connections in the password dialog. I would like to default it to that. We tried the unlock and nodeny options but seem to confuse the command line parser. So far, we have been very pleased with the results but we just implemented it a couple of days ago. Hope this helps - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2go-dev] Custom paper size for cups-x2go.ppd
Hello, all. We have a client who needs to use the x2go printing system to print to plotters for construction drawings. They need to be able to specify custom paper sizes. For example, I am on site right now and they need to print 30 x 36 drawings. What would be involved in editing the cups-x2go.ppd file so that they can specify a custom paper size? We had hoped to offload that job to the local print driver but, when we tried to do this with the cups-x2go printer, it sent an A4 sized image and printed it on 30 x 36 paper. Thus it seems essential for the cups-x2go driver to send the custom sized document in the first place. Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Suspend and resume physical session
On Mon, 2010-05-10 at 15:04 +, David Roth wrote: Hi, is it possible to suspend a physical session and to resume it with x2go (Or to somehow transfer a physical session to an x2go-session and backwards)? Consider the following scenario: 1) Developer starts his machine and prepares an application/presentation he wants to present in the meeting room 2) Developer suspends his local session and wants to reopen this session from the meeting room and he wants exactly the session state he has left on the desktop. 3) After the meeting the developer wants to go back to his workstation and resume the suspended session. I already know that it's possible to suspend a x2go-Session but what i want is something like Windows Remote Desktop. snip Perhaps it is because I am not a Windows Remote Desktop user but I don't understand how that is different from the current implementation of X2Go Suspend Session. Could you explain a bit more? Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2go-dev] Password handling and CAPS lock issues
Hello, all. We have a problem with CAPS lock getting out of sync between the physical and virtual desktops. I assume this is the downside of the very powerful feature of being able to change physical computers connected to the same virtual session. However, it is more than annoying. Because X2Go attempts so many logins at once (separate SSH sessions for video, print, sound, file sharing), a wrong login quickly exhausts grace logins and can even trip our OSSEC active response as a perceived brute force intrusion attempt and lock out all computers from the same site. Perhaps password handling could be improved in two ways in X2Go. If the first password attempt fails, the user should be alerted and continued login attempts for other ssh sessions should cease. Secondly, the first failed attempt could be retried in reverse case. If it succeeds, a message should be displayed to the user. The problem could be either that their physical CAPS lock is on (in which case we do nothing but warn) or that the CAPS lock is out of sync, in which case we can offer to toggle the CAPS lock state on the virtual desktop. Is this possible? Is it reasonable? Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Windows X2Go printing
On Tue, 2010-05-18 at 13:08 -0400, John A. Sullivan III wrote: Hello, all. We are trying to finish off the punch list for our first major X2Go deployment so I expect to be sending lots of smaller issues to the list. One not so small issue is a problem with using the X2Go client printing on Windows stations. The portability of this solution is magnificent but we are noticing that the windows client cannot directly print to the local printers. Whenever we send a print job from the X2Go server to the Windows X2Go client (3.0.1-4), the print dialog properly displays. However, no matter which local printer we choose, whichever application Windows has associated with PDF files opens instead and displays the PDF rather than printing it. Has anyone else seen this behavior? It is 100% reproducible for us. Why is this happening? Is there a workaround? We're about to dive into the code to see what we can find but really don't know what we are looking at or for so any guidance would be greatly appreciated - John snip Hmm . . . I'm noticing huge ifndef Q_OS_WIN sections eliminating almost all of the cupsprintersettingsdialog.cpp and cupsprint.cpp files. Am I beating my head against the wall trying to get the Windows client to use the listed printers? As far as I can tell, one can't even access the printer settings no less print to them. Does it print only to the PDF application by design? If so, why do we bother to display all the other printers? It is very misleading to the users. I would think there should only be a view as PDF option. Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Windows X2Go printing
On Wed, 2010-05-19 at 08:34 +0200, Oleksandr Shneyder wrote: John A. Sullivan III schrieb: On Tue, 2010-05-18 at 13:08 -0400, John A. Sullivan III wrote: Hello, all. We are trying to finish off the punch list for our first major X2Go deployment so I expect to be sending lots of smaller issues to the list. One not so small issue is a problem with using the X2Go client printing on Windows stations. The portability of this solution is magnificent but we are noticing that the windows client cannot directly print to the local printers. Whenever we send a print job from the X2Go server to the Windows X2Go client (3.0.1-4), the print dialog properly displays. However, no matter which local printer we choose, whichever application Windows has associated with PDF files opens instead and displays the PDF rather than printing it. Has anyone else seen this behavior? It is 100% reproducible for us. Why is this happening? Is there a workaround? We're about to dive into the code to see what we can find but really don't know what we are looking at or for so any guidance would be greatly appreciated - John snip Hmm . . . I'm noticing huge ifndef Q_OS_WIN sections eliminating almost all of the cupsprintersettingsdialog.cpp and cupsprint.cpp files. Am I beating my head against the wall trying to get the Windows client to use the listed printers? As far as I can tell, one can't even access the printer settings no less print to them. Does it print only to the PDF application by design? If so, why do we bother to display all the other printers? It is very misleading to the users. I would think there should only be a view as PDF option. Thanks snip Hello John, Windows Client have not support for CUPS, it using Win API function ShellExecute with parameters print, printer name and PDF file. In this case Windows should send this file to application that associated with the file type PDF. It is a task of specified application to print this file. On my windows testing machine Adobe Acrobat 5.0 doing this job well. However, after the document will be printed on specified printer Adobe Acrobat open this document in view mode. snip Oops! I might have misunderstood what you said. Are you saying that, when you send the print job to the X2Go printer and choose a specific printer in the X2Go client print dialog, that Acrobat opens but the job prints automatically and the only problem is that Acrobat remains open or are you saying Acrobat opens and then you must use the Acrobat print function manually to send the print job? The latter is what we are seeing. Does wapi support the ShellExecuteEx call as opposed to ShellExecute? I'm pretty ignorant on this topic but, from what I read this morning, it looks like ShellExecuteEx does exit the called application when the requested action is completed. Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2go-dev] Windows client crash ASSERT failure
Hello, all. We installed the Trolltech Qt SDK for Windows and downloaded the x2goclient-3.0.1-4 tarball from x2go.obviously-nice.de/deb Before attempting any changes, we simply built and ran the project. It crashed with: ASSERT failure in QWidget: Widgets must be created in the GUI thread., file kernel/qwidget.cpp,line 1133 Invalid parameter passed to C runtime function We tracked this down to initStatusDlg(). In line 7559, it calls slotShowAdvancedStat(). On line 3966, it calls st.sync(). When it calls QWinSettingsPrivate::sync() RegFlushKey(writeHandle()), it blows up. What have we done wrong? Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] x2go browser plugin
On Fri, 2010-05-21 at 16:01 +0200, Paul van der Vlis wrote: Hello, I haven't looked at the xs2go-firefox-plugin but I think that what you do with the plugin, you could do with x2go-client too. You could use a mime-type or filename-extention what opens x2goclient and what gives the information what's needed for a connection. Like what you can do with OpenOffice when opening a .odt file in a browser. And then you could use it with any browser, not only with Firefox. And you could have it for more platforms. And you have less duplicated code. This is a nice idea and one we have toyed with. However, there are several advantages to the web plugin. I believe the plugin will update automatically so it is less maintenance. The plugin is a little easier to install than a complete application. There is the user perception that X2Go can be run from anywhere without having to install a client even though it really does. Just a few thoughts - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Windows client crash ASSERT failure
On Wed, 2010-05-19 at 18:33 -0400, John A. Sullivan III wrote: Hello, all. We installed the Trolltech Qt SDK for Windows and downloaded the x2goclient-3.0.1-4 tarball from x2go.obviously-nice.de/deb Before attempting any changes, we simply built and ran the project. It crashed with: ASSERT failure in QWidget: Widgets must be created in the GUI thread., file kernel/qwidget.cpp,line 1133 Invalid parameter passed to C runtime function We tracked this down to initStatusDlg(). In line 7559, it calls slotShowAdvancedStat(). On line 3966, it calls st.sync(). When it calls QWinSettingsPrivate::sync() RegFlushKey(writeHandle()), it blows up. What have we done wrong? Thanks - John We thought this was a problem in the way we had set up the project but I wonder if it does affect production. I'm just hesitant to go diving into the code too heavily. However, we saw this error message this week: QObject::startTimer(): QTimer can only be used with threads started with QThread. Any idea what is going on here? Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Windows X2Go printing
On Wed, 2010-05-19 at 10:37 -0400, John A. Sullivan III wrote: On Wed, 2010-05-19 at 08:34 +0200, Oleksandr Shneyder wrote: John A. Sullivan III schrieb: On Tue, 2010-05-18 at 13:08 -0400, John A. Sullivan III wrote: Hello, all. We are trying to finish off the punch list for our first major X2Go deployment so I expect to be sending lots of smaller issues to the list. One not so small issue is a problem with using the X2Go client printing on Windows stations. The portability of this solution is magnificent but we are noticing that the windows client cannot directly print to the local printers. Whenever we send a print job from the X2Go server to the Windows X2Go client (3.0.1-4), the print dialog properly displays. However, no matter which local printer we choose, whichever application Windows has associated with PDF files opens instead and displays the PDF rather than printing it. Has anyone else seen this behavior? It is 100% reproducible for us. Why is this happening? Is there a workaround? We're about to dive into the code to see what we can find but really don't know what we are looking at or for so any guidance would be greatly appreciated - John snip Hmm . . . I'm noticing huge ifndef Q_OS_WIN sections eliminating almost all of the cupsprintersettingsdialog.cpp and cupsprint.cpp files. Am I beating my head against the wall trying to get the Windows client to use the listed printers? As far as I can tell, one can't even access the printer settings no less print to them. Does it print only to the PDF application by design? If so, why do we bother to display all the other printers? It is very misleading to the users. I would think there should only be a view as PDF option. Thanks snip Hello John, Windows Client have not support for CUPS, it using Win API function ShellExecute with parameters print, printer name and PDF file. In this case Windows should send this file to application that associated with the file type PDF. It is a task of specified application to print this file. On my windows testing machine Adobe Acrobat 5.0 doing this job well. However, after the document will be printed on specified printer Adobe Acrobat open this document in view mode. snip Oops! I might have misunderstood what you said. Are you saying that, when you send the print job to the X2Go printer and choose a specific printer in the X2Go client print dialog, that Acrobat opens but the job prints automatically and the only problem is that Acrobat remains open or are you saying Acrobat opens and then you must use the Acrobat print function manually to send the print job? The latter is what we are seeing. Does wapi support the ShellExecuteEx call as opposed to ShellExecute? I'm pretty ignorant on this topic but, from what I read this morning, it looks like ShellExecuteEx does exit the called application when the requested action is completed. Thanks - John snip Can anyone clarify from experience: When printing using the X2Go client printing to print to local printers in Windows, does it open the pdf application AND automatically print the print job or does it simply open the pdf application? We are seeing the latter and want to confirm this is the expected behavior rather than something we mangled in the setup. Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Problems on Debian Squeeze
On Mon, 2010-05-31 at 18:01 +0200, Mihai Moldovan wrote: Hi, please try disabling fstunnel and re-test (I see weird side-effects from this, failed authentication and the like.) Best regards, Mihai * On 5/31/10 5:19 PM, John A. Sullivan III wrote: On Mon, 2010-05-31 at 13:27 +0200, rupi wrote: pack=16m-png-jpeg quality=9 fstunnel=true export=/home/jsullivan/:0; snip I disabled it as per recommendation but, alas, it does not fix the problem. The client just sits there in a Connecting state. What next? Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2go-dev] Compensating for heavy packet loss environments
We have some clients who are experiencing heavy packet loss on their Internet connection. As a result, their X2Go sessions regularly hang and then take forever to time-out. Their other Internet traffic is much more resilient. This sounds like an SSH problem which does have a problem with lossy environments. We've started testing with changing the sshd_config to have: ClientAliveCountMax 12 ClientAliveInterval 5 Any other suggestions or experiences in using X2Go in high packet loss environments? Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Serious Issue - x2goagent runaway CPU
On Wed, 2010-05-19 at 11:46 -0400, John A. Sullivan III wrote: Hello, all. We are seeing this with enough regularity that it is alarming. Our first client uses Konqueror heavily in their work process. They usually open files from it rather than from within the applications, they email directly from it, etc. The environment is Lenny + Backports with a few updates from Squeeze. We are using KDE 3.5. X2Go is 3.0.1-4 on the client (all windows stations) and 3.0.1-5 for server. We have not been able to track down the trigger but the user's Konqueror will freeze partly painted. x2goagent consumes all the CPU and Konqueror's memory usage grows to frightening amounts (e.g., 18GB). How can we track down and kill this serious bug? Thanks - John Hello, all. We continue to see this serious situation. Today, it manifested itself very strangely. We could see Konqueror consuming almost 3G of RAM and x2goagent consuming 100% of the CPU. Oddly, when I went to connect to the X2GoServer as that user, it let me in and Konqueror did not appear to be running. I terminated the session and ran top from a console on the same system and it still showed a fully running KDE session for that user yet I was not prompted to resume a running session when connecting. I took backtraces of Konqueror and X2GoAgent but, since this was a production, client system with no debugging installed, there is not much to show. I will attach the files anyway. I did attach an strace to x2goagent which I will also attach. It indeed shows rather repetitive behavior! Any idea what is going on? This is quite serious. Thanks - John (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 0x7f51d8ee3700 (LWP 8839)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) 0x7f51d816a708 in poll () from /lib/libc.so.6 Thread 1 (Thread 0x7f51d8ee3700 (LWP 8839)): #0 0x7f51d816a708 in poll () from /lib/libc.so.6 #1 0x7f51d230e8ca in ?? () from /usr/lib/libxcb.so.1 #2 0x7f51d230eec9 in ?? () from /usr/lib/libxcb.so.1 #3 0x7f51d230f175 in xcb_writev () from /usr/lib/libxcb.so.1 #4 0x7f51d6883616 in _XSend () from /usr/lib/libX11.so.6 #5 0x7f51d6883bd5 in _XFlush () from /usr/lib/libX11.so.6 #6 0x7f51d6854df8 in XCheckIfEvent () from /usr/lib/libX11.so.6 #7 0x7f51d6e28b48 in QETWidget::translatePaintEvent () from /usr/lib/libqt-mt.so.3 #8 0x7f51d6e32d10 in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3 #9 0x7f51d6e41a59 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3 #10 0x7f51d6ea0001 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3 #11 0x7f51d6e9feb2 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3 #12 0x7f51cd229772 in kdemain () from /usr/lib/libkdeinit_konqueror.so #13 0x004084a8
Re: [X2go-dev] Ubuntu 10.04
On Mon, 2010-06-07 at 18:26 +0200, Heinz-M. Graesing wrote: Hello Cougarmaster, Am 06.06.2010 18:51, schrieb cougarmaster: Hi all, Anyway my main question would be will video playback be looked into? Since with ubuntu 10.04 out and most of the things I have tried seems to have enhanced the speed of ssh and stability. Though most people don't need it now it is a great feature to have since video calls are getting popular it would really enhance x2go usage further. We do have a request for intelligent media transportation development. We do have an exact plan to integrate this, but what I don't know is, if the customer will pay for it. A further question is, wether the result can be released as part of x2go, because the code will go to the owner. Maybe there will be a possibility to develop this part as a sponsored feature too. But first we'll have to finish our work on the new release. As Linuxtag is approaching fast, we needed to spend time on our booth and the things we'll show. We'll be able to show every feature of the new release (even the plasmoid), but we'll not be able to do the packaging in the last day before Linuxtag - sorry. But after Linuxtag has ended this will be the next task after making the new release accessible via git. The next feature after the new release is published will be as described before the USB portable Windows Client. After that we'll discuss the intelligent media transportation. Our Plan is to have XV Channel which will transport the Output to the Client where it should be rendered. This can be used by every media player which can use the XV extension. I've almost finished the work on the wiki so with the new release we'll make some changes to the website. I've choosen dokuwiki as it is just doing what it should do. see you on Linuxtag, snip We don't have a lot to contribute financially but we can probably contribute something to this effort if it will help make it generally available. I don't know if others are in a position to add the the kitty - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2go-dev] Local share rights
Hello, all. We're getting some complaints from Windows users who are using the X2Go client local share facility. When they view the local file system from their X2Go desktop, they frequently see highly restrictive permissions - frequently 000. Has anyone else noticed this problem? I'm a Windows ignoramus. Is there a way to change the local file system so it saves files with more X2Go friendly permissions? Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2go-dev] Single CUPS server for multiple X2Go Servers
Here are patches and documentation for using a single CUPS server for multiple X2Go Server - very handy in highly virtualized environments. It requires the shared database patch just sent to the list and the database modifications contained in the VServer patches just posted. The explanation is in the documentation. Thanks - John --- cups-x2go.conf.orig 2010-03-09 11:20:50.873606048 + +++ cups-x2go.conf.new 2010-03-09 12:14:36.800611904 + @@ -3,10 +3,42 @@ ## ## Server with x2go system -x2goserver = local +#x2goserver = local ## dsa key for user x2goprint #printdsa = /root/.x2go/ssh/.x2goprint/id_dsa ## command to generate pdf files #ps2pdf = /usr/bin/gs -q -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=%s.pdf -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f %s + +# Multi-X2Go Server options +#== +# Used when this print server must service multiple X2Go Servers +# This requires a single database for all X2Go Server session data +#multiserver = 0 +# Set multiserver to 0 (zero) to disable and 1 (one) to enable +# defaults to 0 + +#dbhost = localhost +# Set dbhost to the name of the database host +# defaults to localhost + +#dbuser = postgres +# Set dbuser to the user ID for logging into the database +# defaults to postgres + +#dbname = x2go_sessions +# Set dbname to the database name +# defaults to x2go_sessions + +#dbschema = +# Set dbschema to the master schema in a multi-schema X2Go database +# This is the schema used to coordinate information from the individual +# X2Go Server schemas in a secure environment (where one server cannot +# view another server's session data +# defaults to an empty string + +#dbtable = sessions +# Set dbtables to the database table used to hold the session data +# defaults to sessions +#== --- cups-x2go.orig 2010-03-09 09:16:28.0 + +++ cups-x2go 2010-04-06 11:36:58.566761342 + @@ -26,6 +26,12 @@ my $x2goserver = local; my $printdsa = /root/.x2go/ssh/.x2goprint/id_dsa; my $ps2pdf = /usr/bin/gs -q -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=\%s.pdf\ -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f \%s\; +my $multiserver=0; +my $dbhost = localhost; +my $dbuser = postgres; +my $dbname = x2go_sessions; +my $dbschema = ; +my $dbtable = sessions; my $cfgfile=/etc/cups/cups-x2go.conf; my $userName; my @sessions; @@ -60,8 +66,43 @@ { $ps2pdf=$value; } + if($option eq multiserver) + { + $multiserver = $value; + } + if($option eq dbhost) + { + $dbhost=$value; + } + if($option eq dbuser) + { + $dbuser=$value; + } + if($option eq dbname) + { + $dbname=$value; + } + if($option eq dbschema) + { + $dbschema=$value; + if($dbschema ne ) + { + $dbschema=$dbschema.; + } + } + if($option eq dbtable) + { + $dbtable=$value; + } } close(CFG); + if ($multiserver) + { + $x2goserver=`echo select server from $dbschema$dbtable where uname='$userName' limit 1 | psql -U $dbuser -h $dbhost -t $dbname`; + chomp($x2goserver); + chomp($x2goserver); + $x2goserver=~s/ //g; + } } } @@ -119,7 +160,6 @@ print STDERR ERROR: Usage: cups-x2go job-id user title copies options [file]\n; exit 1; } - my $jobID; my $jobTitle; my $copies; @@ -128,7 +168,6 @@ ($jobID, $userName, $jobTitle, $copies, $printOptions, $printFile) = @ARGV; - my $tempFile; if (!$printFile) { X2GoSharedCUPSServer.odt Description: application/vnd.oasis.opendocument.text ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2go-dev] How X2Go works
Since we are not developers, we struggled to gain an understanding of just how X2Go works under the covers - what is it doing from a system administrators perspective when a client connects, suspends, or terminates. Thus, I've attached my notes on what I have found. I have no idea if they are helpful or even accurate but here they are for what they are worth. Any corrections are most appreciated. Thanks - John X2GoNotes.odt Description: application/vnd.oasis.opendocument.text ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Single CUPS server for multiple X2Go Servers
On Fri, 2010-06-11 at 02:32 -0400, John A. Sullivan III wrote: Here are patches and documentation for using a single CUPS server for multiple X2Go Server - very handy in highly virtualized environments. It requires the shared database patch just sent to the list and the database modifications contained in the VServer patches just posted. The explanation is in the documentation. Thanks - John It looks like the above mentioned patches for shared database and VServer are stuck awaiting moderator approval because of size. That's why they did not appear first. Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Extra functions requested in x2go
On Fri, 2010-06-18 at 10:19 +0200, Dick Kniep wrote: Hi List, First of all,I am very impressed by the work you have done and would like to thank all involved. We are a company that provides a kind of CRM system over the net to our customers. (See www.lindix.nl, text is Dutch) Currently we use GoGlobal but we want to switch to x2go. However, there is a missing piece. In GoGlobal it is possible to start an application on the client by the use of the extension of the file. So I can write an Excel sheet in my application and subsequently start the file, the result is that a local session opens on the client with the Excel sheet. I realize that there are security issues here, but for our application this would be a real bonus. Is there any chance this could be implemented? If the number of hours involved is reasonable, we even would pay for that. snip I'm not entirely sure but you may be able to do this yourself. I can think of two possible ways but I have tried neither. It is possible to start a specific application rather than a destkop. If one started something like Konqueror or Nautilus, I wonder what would happen when one clicked on a file to open it. It may very well open in the associated application but I'm not sure. If you wanted more granularity, i.e., to pass a specific file rather than searching through a file manager, you may be able to adapt the scripts yourself. It is the beauty of open source. X2Go is largely a collection of bash and perl scripts that tie together various technologies (the NX libraries, ssh, pulseaudio, sshfs, etc.). Perhaps you could add some kind of case statement or other branch logic to parse the passed file for the extension and then launch an application based thereon, e.g., EXT=${1%.*} if [ ${EXT} = .xls ];then COMMAND=/usr/bin/oocalc ${1} elif [ ${EXT} = .odt ];then COMMAND=/usr/bin/oowriter ${1} . . . fi I'm just guessing at the syntax and do not know if it is possible but we have been able to highly customize our X2Go scripts for our very specific environment. I recently posted a scratch sheet to this list on what we found as we investigated the process X2Go undergoes to start and stop sessions. It describes what scripts run when. Good luck - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Firefox plugin
On Mon, 2010-06-21 at 02:06 +0200, Guillaume LUDWIG wrote: Le lundi 21 juin 2010 01:17:42, cougarmaster a écrit : Hi all, Where is the firefox plugin? I can't seem to find it. Can someone post the site to download the latest version, it seems I am missing a lot of fun. :( It doesn't seem to be released. I found it here : http://plugin.x2go.org You have to copy the html page and the files (css, js and server.x2go). It works fine, with sound etc. snip It has worked very well for us, too. We've tried it on a couple of dozen systems. The major problem we have had is that on roughly one third of them, the plugin installs but then displays --x2goplugin //-- (the contents of the object tag) instead of the plugin. Javascript is enabled on these systems. Any idea what would cause that? Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] How do users suspend their sessions?
On Mon, 2010-06-21 at 10:05 +0200, Jo-Erlend Schinstad wrote: I guess the subject sais it all. I'd like to be able to disconnect from the sessions without logging out of the system. How is this accomplished using x2go? snip There are several ways. It can be done from the client side by clicking on suspend. The rest of the ways are executed from with the X2Go session: If one downloads and installs the KDE or Gnome bindings, it redeploys the lock button to suspend (we elected not to do that as we want to give our users the ability to lock their desktops). We created a separate icon which simply calls /usr/bin/x2gosuspend-session-gnome. Finally, one can invoke the above command from the command line. Hopefully, that is what you were asking and I did not misunderstand :-) ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] authentification cookie error
On Mon, 2010-06-21 at 13:35 +0200, Guillaume LUDWIG wrote: Le dimanche 20 juin 2010 21:38:54, Guillaume LUDWIG (UNTRUSTED, sender x2go- dev-boun...@lists.berlios.de is not authenticated) a écrit : g...@black-cerisier:~$ cat /home/gml/.x2go/S- test-50-1277062230_stDGNOME_dp24/sessions Loop: PANIC! The remote NX proxy closed the connection. Loop: PANIC! Failure negotiating the session in stage '7'. Loop: PANIC! Wrong version or invalid session authentication cookie. g...@black-cerisier:~$ But when I try to connect from another computer, it works like a charm. After waiting for 3 hours without touching my computer, x2go worked again, just one time. And this morning, after a reboot, doesn't work. It's really frustrating... I'm not sure what is happening but it may be an underlying SSH problem. What happens if you try connecting via ssh directly from the console? Does it give any more informative error messages? - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Extra functions requested in x2go
On Mon, 2010-06-21 at 18:45 +0200, Dick Kniep wrote: snip To explain a little further: We have a Linux application written in wxPython with Postgresql and (mostly) Windows clients. Goglobal gives us the possibility to export a file to the client and subsequently start the file. The mime type of the file determines which program is started on the client. In the client a trigger should start the application with the file that is passed. snip And how would you see X2Go integrating into the process? Obviously there is a reason but, for example, why would you call X2Go rather than Excel or OOCalc to open a spreadsheet? Is it because the client is very limited and so, in effect, you want to do application publishing? Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] trouble getting printing to work
On Mon, 2010-06-21 at 20:41 -0500, Gerry Reno wrote: I have a lucid client and a lucid server. I followed the guides for Linux and I can access the server from the client using x2go and the session works fine. I cannot seem to get folder sharing or printing to work however. I have cups-x2go and x2goprint installed on the server. I've selected the proper options in the x2go client interface (I shared one directory automounted) and for printing I checked to print to xpdf. I verified that 'xpdf' is installed on the client. I have gone to Administration, Printing and set up the printer Generic-CUPS-X2GO-printer. I'm using ssh port 22 for connections. When I print something from the remote desktop it acts likes everything worked. When I check the /var/log/cups/access_log I can see everything seemed to work. But, no output ever appears anywhere. Also, with the shared folder, no folder is ever mounted anywhere. Can someone shed some light on what is needed to get these functions working? snip The fact that both are broken helps narrow it down. Both use fuse and an sshfs mount to pass data. Do you have fuse and sshfs installed? Is sshd running on BOTH client and server? Are the users members of the fuse group to have access to the fuse device? Those are the areas I'd suggest checking. Good luck - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Extra functions requested in x2go
On Tue, 2010-06-22 at 12:37 +0200, Dick Kniep wrote: Hi LIst, A little more explanation. We publish our application from Linux, but NO desktop. So the user double-clicks an icon on his desktop and the application starts in its own window powered by x2go (currently GoGlobal). So for the user it is simply an application on his own windows/mac/linux desktop. In our application there is a menu option to export a list to Excel. So I would like to be able to do several things from our application: 1. Copy the file to the shared directory of the client 2. Start that file (based on the mime type) on the client I hope this clears things up. snip Yes, I think I'm getting it. So your application runs on a a Linux X2Go Server. The user clicks the icon on their desktop and launches an X2Go Client which presents your application as a window on their physical desktop. You then want your application to be able to copy an excel spreadsheet to the physical computer where it will automatically open using whatever application on the physical computer is associated with the mime-type. Is that correct? If so, I'd imagine there is a way but it might be a little tricky. The full client (as opposed to the Firefox plugin I've been testing) allows one to automount local shares. I suppose one could do this to a consistent place (that might present some cross platform difficulties). I'm not sure how one would automate the process of copying to that local share mounted in /tmp/uid_media which is soft links to ~/media. I'm also not sure if there will be permissions issues trying to copy to the physical computer unless the copy is done as the user. I'm also not sure how one would get it to auto-open upon copy. I suppose one could write some sort of script to poll the directory where the files are stored. Certainly getting out of my depth now! Hope this helps at least a little bit - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Pre configuration
On Tue, 2010-06-22 at 17:16 +0200, Dick Kniep wrote: Hi List, Some more questions about how certain things work in x2go. We want to pre-configure the x2go client in such a way that during installation it tries to make a connection to the user directory to share that directory automagically. Furthermore, clientside printing should be turned on automatically. How can we make that happen? snip In the user's home directory, there is a hidden directory named .x2goclient. I do not know the syntax for the files but you can probably play with the client settings and see what changes it makes to the files. Good luck - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] trouble getting printing to work
I'm not sure if it is still a requirement that the users be members of the fuse group on the client. We are set up that way by force of habit. We also added the users to the various pulse groups - John On Tue, 2010-06-22 at 12:47 -0500, Gerry Reno wrote: Hi John, Thanks for the reply. I checked on sshfs, sshd and fuse. Here's what I found: Server: # apt-show-versions sshfs sshfs/lucid uptodate 2.2-1build1 # service ssh status ssh start/running, process 409 # modprobe -l | grep fuse kernel/fs/fuse/fuse.ko # cat /etc/group | grep -E 'fuse|x2go' fuse:x:104:ubuntu x2gousers:x:123:ubuntu x2goprint:x:999:ubuntu Client: # apt-show-versions sshfs sshfs/lucid uptodate 2.2-1build1 # service ssh status ssh start/running, process 2191 # modprobe -l | grep fuse kernel/fs/fuse/cuse.ko # cat /etc/group | grep -E 'fuse|x2go' fuse:x:104: x2gousers:x:131:greno I don't see anything out of order there. Anything else you think I can check? -Gerry Jun 22, 2010 07:53:06 AM, x2go-dev@lists.berlios.de wrote: On Mon, 2010-06-21 at 20:41 -0500, Gerry Reno wrote: I have a lucid client and a lucid server. I followed the guides for Linux and I can access the server from the client using x2go and the session works fine. I cannot seem to get folder sharing or printing to work however. I have cups-x2go and x2goprint installed on the server. I've selected the proper options in the x2go client interface (I shared one directory automounted) and for printing I checked to print to xpdf. I verified that 'xpdf' is installed on the client. I have gone to Administration, Printing and set up the printer Generic-CUPS-X2GO-printer. I'm using ssh port 22 for connections. When I print something from the remote desktop it acts likes everything worked. When I check the /var/log/cups/access_log I can see everything seemed to work. But, no output ever appears anywhere. Also, with the shared folder, no folder is ever mounted anywhere. Can someone shed some light on what is needed to get these functions working? The fact that both are broken helps narrow it down. Both use fuse and an sshfs mount to pass data. Do you have fuse and sshfs installed? Is sshd running on BOTH client and server? Are the users members of the fuse group to have access to the fuse device? Those are the areas I'd suggest checking. Good luck - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Pre configuration
On Tue, 2010-06-22 at 21:46 +0200, Paul van der Vlis wrote: Dick Kniep schreef: Hi List, Some more questions about how certain things work in x2go. We want to pre-configure the x2go client in such a way that during installation it tries to make a connection to the user directory to share that directory automagically. Furthermore, clientside printing should be turned on automatically. How can we make that happen? A changed x2goclient would be an option. Another option would be a file with an extention, what would use X2goclient to open a connection. This is not in X2goclient now, but could be build-in I suppose. Another option is to use the Firefox plugin. In a website you can embed a configuration. But you need Firefox. In my opinion the second idea is the best. snip I'm not an expert but my experience with the plugin has been that it provides limited preconfiguration on the web site - things like username, host, port, etc. For items like printing and auto-mounts, I think it still writes to ~/.x2goclient - either that or somewhere in ~/.mozilla/firefox/profile/plugins (I'm guessing) - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] trouble getting printing to work
Yes. If you issue a mount command on the X2Go Server, do you see the mounts for the sshfs shares, e.g., j...@jas:~$ mount /dev/hdv1 on / type ufs (defaults) none on /proc type proc (defaults) none on /tmp type tmpfs (size=128m,mode=1777,noexec,nosuid,nodev) none on /dev/pts type devpts (gid=5,mode=620) js...@127.0.0.1:/home/jsull/.x2go/S-jas-54-1277203660_stDKDE_dp24/spool on /tmp/spool_jas/jas-54-1277203660_stDKDE_dp24 type fuse.sshfs (rw,nosuid,nodev,max_read=65536,user=jas) js...@127.0.0.1:/home/jsull/ on /tmp/jas_media/_home_jsull_ type fuse.sshfs (rw,nosuid,nodev,max_read=65536,user=jas) If not, you might be able to add debugging information to the /usr/bin/x2gomount_sessions script. If the mounts are there and it is still not working, you may be able to add debugging information to the cups-x2go backend as it is simply a perl script. I'm not sure where that is - perhaps /usr/lib/cups/backends. Hope that helps - John On Tue, 2010-06-22 at 16:13 -0500, Gerry Reno wrote: Ok, tried adding my local user account to the fuse group so it looks like this now: fuse:x:104:greno But, still no printing and no errors that I can find. Is there some type of manual tests that can be run to check things out? -Gerry Jun 22, 2010 04:16:26 PM, x2go-dev@lists.berlios.de wrote: I'm not sure if it is still a requirement that the users be members of the fuse group on the client. We are set up that way by force of habit. We also added the users to the various pulse groups - John On Tue, 2010-06-22 at 12:47 -0500, Gerry Reno wrote: Hi John, Thanks for the reply. I checked on sshfs, sshd and fuse. Here's what I found: Server: # apt-show-versions sshfs sshfs/lucid uptodate 2.2-1build1 # service ssh status ssh start/running, process 409 # modprobe -l | grep fuse kernel/fs/fuse/fuse.ko # cat /etc/group | grep -E 'fuse|x2go' fuse:x:104:ubuntu x2gousers:x:123:ubuntu x2goprint:x:999:ubuntu Client: # apt-show-versions sshfs sshfs/lucid uptodate 2.2-1build1 # service ssh status ssh start/running, process 2191 # modprobe -l | grep fuse kernel/fs/fuse/cuse.ko # cat /etc/group | grep -E 'fuse|x2go' fuse:x:104: x2gousers:x:131:greno I don't see anything out of order there. Anything else you think I can check? -Gerry Jun 22, 2010 07:53:06 AM, x2go-dev@lists.berlios.de wrote: On Mon, 2010-06-21 at 20:41 -0500, Gerry Reno wrote: I have a lucid client and a lucid server. I followed the guides for Linux and I can access the server from the client using x2go and the session works fine. I cannot seem to get folder sharing or printing to work however. I have cups-x2go and x2goprint installed on the server. I've selected the proper options in the x2go client interface (I shared one directory automounted) and for printing I checked to print to xpdf. I verified that 'xpdf' is installed on the client. I have gone to Administration, Printing and set up the printer Generic-CUPS-X2GO-printer. I'm using ssh port 22 for connections. When I print something from the remote desktop it acts likes everything worked. When I check the /var/log/cups/access_log I can see everything seemed to work. But, no output ever appears anywhere. Also, with the shared folder, no folder is ever mounted anywhere. Can someone shed some light on what is needed to get these functions working? The fact that both are broken helps narrow it down. Both use fuse and an sshfs mount to pass data. Do you have fuse and sshfs installed? Is sshd running on BOTH client and server? Are the users members of the fuse group to have access to the fuse device? Those are the areas I'd suggest checking. Good luck - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev ___ X2go-dev mailing list
Re: [X2go-dev] trouble getting printing to work
Oops! My apologies. I was confusing it with x2goumount_session. I believe the mount logic is in x2gomountdirs - John On Tue, 2010-06-22 at 19:37 -0500, Gerry Reno wrote: Ok, here is 'mount' on the server: # mount /dev/sda1 on / type ext3 (rw) proc on /proc type proc (rw,noexec,nosuid,nodev) none on /sys type sysfs (rw,noexec,nosuid,nodev) none on /sys/kernel/debug type debugfs (rw) none on /sys/kernel/security type securityfs (rw) devtmpfs on /dev type devtmpfs (rw,mode=0755) none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) none on /dev/shm type tmpfs (rw,nosuid,nodev) none on /var/run type tmpfs (rw,nosuid,mode=0755) none on /var/lock type tmpfs (rw,noexec,nosuid,nodev) none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) /dev/sdb on /mnt type ext3 (rw) I don't see any sshfs shares. # ls -l /usr/bin/x2gomount_sessions ls: cannot access /usr/bin/x2gomount_sessions: No such file or directory # ls /usr/bin/x2go* /usr/bin/x2goagent /usr/bin/x2gopgwrapper /usr/bin/x2gostartagent /usr/bin/x2goclient_gtk /usr/bin/x2gopgwrapper_local /usr/bin/x2gosuspend-agent /usr/bin/x2gocmdexitmessage /usr/bin/x2gopgwrapper_net /usr/bin/x2gosuspend-session /usr/bin/x2gogetservers /usr/bin/x2gopgwrapper_sqlite /usr/bin/x2gosuspend-session-gnome /usr/bin/x2golistsessions /usr/bin/x2goprint /usr/bin/x2goterminate /usr/bin/x2golistsessions_root /usr/bin/x2goresume-session /usr/bin/x2goterminate-session /usr/bin/x2golistsessions_sql /usr/bin/x2goruncommand /usr/bin/x2goumount /usr/bin/x2gomountdirs /usr/bin/x2gosessionlimit /usr/bin/x2goumount_session /usr/bin/x2gonautilus /usr/bin/x2goshowblocks No /usr/bin/x2gomount_sessions script. Would it be somewhere else? -Gerry Jun 22, 2010 08:27:54 PM, x2go-dev@lists.berlios.de wrote: Yes. If you issue a mount command on the X2Go Server, do you see the mounts for the sshfs shares, e.g., j...@jas:~$ mount /dev/hdv1 on / type ufs (defaults) none on /proc type proc (defaults) none on /tmp type tmpfs (size=128m,mode=1777,noexec,nosuid,nodev) none on /dev/pts type devpts (gid=5,mode=620) js...@127.0.0.1:/home/jsull/.x2go/S-jas-54-1277203660_stDKDE_dp24/spool on /tmp/spool_jas/jas-54-1277203660_stDKDE_dp24 type fuse.sshfs (rw,nosuid,nodev,max_read=65536,user=jas) js...@127.0.0.1:/home/jsull/ on /tmp/jas_media/_home_jsull_ type fuse.sshfs (rw,nosuid,nodev,max_read=65536,user=jas) If not, you might be able to add debugging information to the /usr/bin/x2gomount_sessions script. If the mounts are there and it is still not working, you may be able to add debugging information to the cups-x2go backend as it is simply a perl script. I'm not sure where that is - perhaps /usr/lib/cups/backends. Hope that helps - John On Tue, 2010-06-22 at 16:13 -0500, Gerry Reno wrote: Ok, tried adding my local user account to the fuse group so it looks like this now: fuse:x:104:greno But, still no printing and no errors that I can find. Is there some type of manual tests that can be run to check things out? -Gerry Jun 22, 2010 04:16:26 PM, x2go-dev@lists.berlios.de wrote: I'm not sure if it is still a requirement that the users be members of the fuse group on the client. We are set up that way by force of habit. We also added the users to the various pulse groups - John On Tue, 2010-06-22 at 12:47 -0500, Gerry Reno wrote: Hi John, Thanks for the reply. I checked on sshfs, sshd and fuse. Here's what I found: Server: # apt-show-versions sshfs sshfs/lucid uptodate 2.2-1build1 # service ssh status ssh start/running, process 409 # modprobe -l | grep fuse kernel/fs/fuse/fuse.ko # cat /etc/group | grep -E 'fuse|x2go' fuse:x:104:ubuntu x2gousers:x:123:ubuntu x2goprint:x:999:ubuntu Client: # apt-show-versions sshfs sshfs/lucid uptodate 2.2-1build1 # service ssh status ssh start/running, process 2191 # modprobe -l | grep fuse kernel/fs/fuse/cuse.ko # cat /etc/group | grep -E 'fuse|x2go' fuse:x:104: x2gousers:x:131:greno I don't see anything out of order there. Anything else you think I can check? -Gerry
Re: [X2go-dev] trouble getting printing to work
On Tue, 2010-06-22 at 23:10 -0500, Gerry Reno wrote: Don't know if these are errors are just info. From /var/log/cups/error_log: E [22/Jun/2010:16:38:04 +] Unable to remove temporary file /var/spool/cups/tmp/.hplip - Is a directory E [22/Jun/2010:16:38:04 +] Unable to open listen socket for address :::631 - Address family not supported by protocol. E [22/Jun/2010:16:38:04 +] Unable to open listen socket for address ::1:631 - Address family not supported by protocol. E [22/Jun/2010:16:38:04 +] Unable to bind socket for address 127.0.0.1:631 - Address already in use. I think the last line is there because I put 'Listen localhost:631' in conf file. But that was after getting no printing so I just wanted to make sure that was in there. The other lines are related to ipv6 which is disabled. -Gerry Jun 22, 2010 11:52:55 PM, x2go-dev@lists.berlios.de wrote: Been sitting here waiting for a followup post of mine to hit the list. But it's been almost two hours and nothing. Seems like it takes almost an hour for my posts to hit this list. Very strange. Anyway, I've been looking through every log I can find and the only small things that I found on the client are this: /var/log/kern.log:800:Jun 21 12:28:57 grp-01-23-02 kernel: [ 12.471640] amd64_edac: probe of :00:18.2 failed with error -22 /var/log/kern.log:887:Jun 21 14:10:23 grp-01-23-02 kernel: [ 6072.764688] x2goclient_gtk[2808]: segfault at 7e ip 7fc828b5cb20 sp 7fff60ad3f70 error 4 in libglib-2.0.so.0.2400.0[7fc828b28000+db000] /var/log/messages:630:Jun 21 12:28:57 grp-01-23-02 kernel: [ 12.471640] amd64_edac: probe of :00:18.2 failed with error -22 /var/log/messages:716:Jun 21 14:10:23 grp-01-23-02 kernel: [ 6072.764688] x2goclient_gtk[2808]: segfault at 7e ip 7fc828b5cb20 sp 7fff60ad3f70 error 4 in libglib-2.0.so.0.2400.0[7fc828b28000+db000] /var/log/dmesg:799:[ 12.471640] amd64_edac: probe of :00:18.2 failed with error -22 That's all. And I doubt these segfaults are relevant because I've tried printing dozens of times. snip I doubt your problem is specifically the printing although it is possible. It seems more related to fuse/sshfs since you also cannot establish local shares. That's why I would suggest either adding some debugging to the x2gomountdirs script or try to reproduce its activities manually to see where it is failing. Out of curiosity, what happens if you use the regular, Qt client rather than the gtk client? I'm not sure at what point development of the gtk client stopped. Good luck - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Extra functions requested in x2go
On Tue, 2010-06-22 at 17:10 +0200, Dick Kniep wrote: Hi List, Well, actually it is not that difficult to export from the server to the client. In fact, as the user directory is mounted and the user is logged on to the server and is executing our system, it is quite easy. From our system we write the file to the mounted directory and voila it is on the client. No problems with authorization either, because the user himself is writing to the mounted directory. The next part is trickier. If we want to start the application on the client we should have a command in x2go so that it signals the x2goclient to start the specific file. So no polling, but simply an extra command that is called on the server and sends a message to the client. Now this means a change in the client, and a protocol for the message that is used. Furthermore a command on the server should be there to signal the start of the program on the client. This could be something like x2gorunclient path-to-the-file snip Hmm . . . if you do have ssh in both directions, perhaps you could have the script reside on the client and have the server call it. So the client script would be: #!/bin/bash x2goscript ${1} and the server would be #!/bin/bash cp spreadsheet.xls ~/media/someshare/ ssh clientaddress x2goscript someshare/spreadsheet.xls If it can't be driven by the server, then I suppose one could create a daemon to poll the share directory for the appearance of new files. Just a couple of thoughts - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Extra functions requested in x2go
On Tue, 2010-06-22 at 17:10 +0200, Dick Kniep wrote: Hi List, Well, actually it is not that difficult to export from the server to the client. In fact, as the user directory is mounted and the user is logged on to the server and is executing our system, it is quite easy. From our system we write the file to the mounted directory and voila it is on the client. No problems with authorization either, because the user himself is writing to the mounted directory. The next part is trickier. If we want to start the application on the client we should have a command in x2go so that it signals the x2goclient to start the specific file. So no polling, but simply an extra command that is called on the server and sends a message to the client. Now this means a change in the client, and a protocol for the message that is used. Furthermore a command on the server should be there to signal the start of the program on the client. This could be something like x2gorunclient path-to-the-file snip By the way, I'm not sure how well X2Go handles multiple client instances on the same client. I believe that is supported in the next release; I'm not sure if they step on each other in the current version - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] trouble getting printing to work
On Wed, 2010-06-23 at 13:21 -0500, Gerry Reno wrote: Jun 23, 2010 06:19:18 AM, x2go-dev@lists.berlios.de wrote: snip Hi John, Well I setup a whole new server from scratch (lucid again) and tried printing from it back to the same client and got the same results - no printing or shares. So I went looking for the Qt client but I don't see it: # apt-show-versions -a -R x2go | grep client x2goclient 3.01-5 lenny x2go.obviously-nice.de x2goclient not installed x2goclient-cli 3.0.1-1.2 lenny x2go.obviously-nice.de x2goclient-cli not installed x2goclient-gtk 3.01-8 install ok installed x2goclient-gtk 3.01-8 lenny x2go.obviously-nice.de x2goclient-gtk/lenny uptodate 3.01-8 x2gothinclient 1.0.1-1 lenny x2go.obviously-nice.de x2gothinclient not installed x2gothinclientsystem 1.0.1-2 lenny x2go.obviously-nice.de x2gothinclientsystem not installed Is it the plain 'x2goclient'? The version doesn't look as recent as the gtk client. snip Yes, sorry, that's a bit confusing. x2goclient 3.0.1-5 is the Qt version - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] trouble getting printing to work
By the way, is the X2Go Server running on bare-metal so to speak or is it a virtual machine? If the latter, what type? Thanks - John On Wed, 2010-06-23 at 15:05 -0500, Gerry Reno wrote: While I'm working on getting the Qt client, here's something interesting I just tried: # sshfs -o IdentityFile=keypair1.pem ubu...@testmachine1:/home/ubuntu /tmp/sshfs_mount # mount | grep ssh ubu...@testmachine1:/home/ubuntu on /tmp/sshfs_mount type fuse.sshfs (rw,nosuid,nodev,max_read=65536) So I can mount a server directory back on the client manually. -Gerry Jun 23, 2010 03:38:38 PM, x2go-dev@lists.berlios.de wrote: On Wed, 2010-06-23 at 13:21 -0500, Gerry Reno wrote: Jun 23, 2010 06:19:18 AM, x2go-dev@lists.berlios.de wrote: Hi John, Well I setup a whole new server from scratch (lucid again) and tried printing from it back to the same client and got the same results - no printing or shares. So I went looking for the Qt client but I don't see it: # apt-show-versions -a -R x2go | grep client x2goclient 3.01-5 lenny x2go.obviously-nice.de x2goclient not installed x2goclient-cli 3.0.1-1.2 lenny x2go.obviously-nice.de x2goclient-cli not installed x2goclient-gtk 3.01-8 install ok installed x2goclient-gtk 3.01-8 lenny x2go.obviously-nice.de x2goclient-gtk/lenny uptodate 3.01-8 x2gothinclient 1.0.1-1 lenny x2go.obviously-nice.de x2gothinclient not installed x2gothinclientsystem 1.0.1-2 lenny x2go.obviously-nice.de x2gothinclientsystem not installed Is it the plain 'x2goclient'? The version doesn't look as recent as the gtk client. Yes, sorry, that's a bit confusing. x2goclient 3.0.1-5 is the Qt version - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] INSTALLATION IN CLEAN UBUNTU 10.04/DEBIAN WORKS BUT CLIENTS CAN'T CONNECT
On Thu, 2010-06-24 at 12:03 +0200, Ricardo Díaz Martín wrote: Hi, I'm getting crazy with x2go home server when I read all users installation works at the first. I have done step by step installation in ubuntu and looks like all works fine (no errors at installation time). After when I'm try to connect from client side I get always the same error: Connection failed. cat: /home/user_that_is_trying_connect/.x2go/C-user_that_is_trying_connect-some_numbers_stDGNOME_DPsome_numers/ cmdoutput: No such file or directory All users are in groups x2gousers and fuse. ssh is enabled and I connect with no problems. I'm using a ubuntu 10.04 clean box. Somebody knows what's wrong? snip Those client directories under .x2go are created dynamically. Is there anything unusual about the permissions that would prevent that creation? - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] ENHANCEMENT-REQUEST: x2goclient -- option for reverse SSH port
On Fri, 2010-06-25 at 22:11 +0200, Mike Gabriel wrote: Hi there, in the current x2goclient package (3.01-5, Debian, Qt version) there is need for an option to configure the reverse SSH port number (i.e. the SSH daemon's port on the client side). This option should be a client wide config option (not a per-session option). Printing and file sharing (sshfs/fuse) build up a reverse port forwarding tunnel from the x2goserver back to the client. This feature is used for x2goprint and x2gomountdirs (if I understand the perl code correctly) and could also be used for any other feature that could be evoked by a reverse SSH connection... The linux x2goclient, however, pre-requisites a running ssh daemon on the client system. Its standard port is 22. The x2goclient will only work if the client's SSH daemon runs on the default port 22. It will fail if the port has been set to a custom (high) port. Consider a client, whose system administrator has set the SSH port to a high --- to potential intruders unknown --- port number (e.g. 20222). With such an SSH setup, sshfs/fuse will fail... Reproduce: o modify /etc/ssh/sshd_config o set ,,Port 20222'' (or something else) o /etc/init.d/ssh restart o start x2goclient as some user and login to a remote x2goserver o start a shell within the x2go session on the server o type ,,mount | grep sshfs'' Suggestions: (a) add a global SSH port number option to the x2goclient (linux-only). (b) Another way for the x2goclient could be some autodetect code: lsof -ni | egrep ^sshd.*root.*IPv4 | awk '{ print $8 }' (c) Another way, similar to the windows client, could be to run a separate ssh instance that binds to a random port on the localhost lo-device only. That's where the reverse SSH tunnel (server - client) has its endpoint. sshd -o ListenAddress 127.0.0.1:someport -o someOtherOption Hope to be of help, Mike Hi, Mike, and welcome to a great project. As you suggest, it is a client and not a session setting hence it does not appear in the session definitions. If you go to Options / Settings in the client menu, you will see an option to set the client side port. We do always set this to a non-standard port for security reasons as you also suggest. Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] High Performance SSH/SCP - HPN-SSH
On Mon, 2010-06-28 at 09:30 +0200, Erik Auerswald wrote: Hi, On Mon, Jun 28, 2010 at 06:55:56AM +, cougarmaster wrote: Was reading about how to increase SSH performance and I came across this. Would this help in speeding up X2GO in anyway are just a waste of time? I don't think SSH is the bottleneck for normal X2Go use. Usually the network link between server and client has little bandwidth (think DSL or cable modem) and can be easily saturated by standard openssh without any tuning. Thus the client side would not profit significantly from the changes in HPN-SSH. On the server side you start several SSH processes, thus getting the multi thread functionality without a patch. There is no need to adjust the internal SSH buffers either, because of the low bandwidth links to the clients. What might help on a heavy loaded server or on slow clients (e.g. VIA or ARM based thin clients without hardware AES encryption) would be the use of the blowfish cipher. [Disclaimer: I did not check which cipher is selected by X2Go.] Also in there is a link to tuning network performance too just wanted to see if it would be of any help. This is the standard network performance tuning found everywhere. This is interesting for a saturated server, but will not solve any fundamental speed issues. Br, Erik I have been wondering if it will help with resilience. We are having problems where, if the Internet connection starts dropping packets, recovery of the X2Go client is much slower than recovery of other applications such as web browsing. We have tried playing with ClientAliveInterval and ClientAliveCountMax but that has not helped. Has anyone else been able to make X2Go session more robust across poor quality connections? Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] about the mailing list...
On Mon, 2010-06-28 at 21:37 +0200, Heinz-M. Graesing wrote: Hello all new to the list, I just wan't to comment on a number of complaints about the needed membership to write to the mailing list x2go-dev. At the moment you can only write to the list, after you've registered your email address. This is done, because if everybody can write to the list we would receive a lot of spam. I have to delete really a lot of non accepted/hold messages per day which are normally spam only. I can understand, that not everybody wants to register to such a service - but the very popular alternative forum needs registration too. I need to write about this issue, because there are complaints about the level which must be taken to send informations to our project/community. I'll describe how to handle the list in our new wiki, and I'll definitly promote the service of gmane (making a list look like a forum). snip No complaints here; I really appreciate the SPAM free list - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] LDAP integration call for help
On Wed, 2010-06-30 at 13:11 +0200, Mike Gabriel wrote: Hi there, after havine played with x2goserver-one/sqlite for a while I am testing x2goserver with LDAP/Postgres setup. The Postgres setup was easy, thanks to the wiki (there are some essential typos in the wiki page, I have registered with the wiki to fix them). But LDAP... My very first impression is - and maybe I am wrong - that the LDAP-Server setup is far to rigid (I will speak openly). I use x2go over the internet, thus every connection I make has to be encrypted and needs authentication. 1. LDAPS support the x2goclient does not support LDAPS... Does it support StartTLS somewhere hidden in its guts? Otherwise, LDAPS is definitely an item for the x2go wishlist 2. LDAP Auth the x2goclient does not support LDAP auth. At least simple_bind_s should be possible... - wishlist. When exactly does the x2goclient access the LDAP db? I suppose before authentication to one of the x2goservers. I wonder, if LDAP access was possible to also tunnel LDAP access through ssh... (i.e. after session login). 3. Documentation of Internas The LDAP scripts in the x2goldaptools package help to setup an LDAP server from scratch. This is not what people might want if they migrate a site. For site migration to x2go without help of your setup scripts the internas of the LDAP communication/data storage methods must be documented better (e.g. difference between server and host in LDAP - serial = 1, scratchscratch...). 4. Admin DN... The migration/setup scripts pre-requisite cn=ldapadmin,$BASE as admin DN. This is too rigid! There is a config file for LDAP settings (/etc/x2go/x2goldaptools.conf). This one should be used for putting information on the LDAP database. 5. Admin DN secret... The migration tools take the LDAP admin password from /etc/libnss_ldap.secret. Also the ldap secret should be retrieved from /etc/x2go/x2goldaptools.conf, or even better from a /etc/x2go/x2goldaptools.secret file (0600:root:root). It might well be that people setup a special x2goadmin account in LDAP for the purpose of administrating x2go relevant LDAP-objects. 6. LDAP storage structures Really big organizations group there LDAP data into ous. One ou for one department at work (e.g. ou=sales,$BASE; ou=management,$BASE; etc.). Within these ous they store sub-ous like group, people, hosts etc. Sometimes they even have ou based Administrators. cn=admin,ou=sales,$BASE ou=people,ou=sales,$BASE ou=group,ou=sales,$BASE ou=hosts,ou=sales,$BASE cn=admin,ou=support,$BASE ou=people,ou=support,$BASE ou=group,ou=support,$BASE ou=hosts,ou=support,$BASE ... This is an approach the system and user management software GOsa² goes, also AD structures often look like this. I wonder if x2go is flexible enough to handle structures like these... 7. Active Directory This might be overkill now, but has anyone tried to store x2go users, hosts and groups in AD??? With support of winbind, maybe? 8. Why LDAP? Could anyone explain me, what x2go explicitly needs LDAP for? What information is stored in LDAP that could not be replaced by any other libnss services. (Has anyone ever thought to use netgroups and pam_access for machine access control, BTW?). 9. Load-Balancing Could also anyone hint to me, how load-balancing in multi-server setup works with x2go? I guess this question is related to LDAP... Loads of questions, sorry, but I couldn't get LDAP functionality running out of the box with my already existing LDAP setup. snip Thanks for articulating this. We would also like to see some growth in LDAP. We use RedHat's DS and have shied away from X2Go/LDAP for both lack of time to unravel it and because it appeared a little too rigid at first glance. I'll be quite interested in what you find - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] home dirs with x2go
On Wed, 2010-06-30 at 14:07 +0200, Mike Gabriel wrote: hi list-folks, what kind of home dir setup does x2go expect/support. 1. Scenario I tried... My default scenario: homes rest on an NFS server, homes are mounted as NFS homes with kerberos security (sec=krb5i or sec=krb5p). Everything seems to work fine apart from x2go printing (I mentioned this issue in another posting). 2. Scenario I tried... I have two x2goservers, tied together with postgres, but without explicit x2go LDAP tweaks. Each server has its own homes, only real data (no configs) is shared via Autofs-NFS in /home/user/MyDocuments. This means: /home/user on host1 is different from /home/user on host2. x2go printing now works (no file copying onto NFS share as root anymore), but x2golistsessions throws a bug: m...@vidar:~$ x2golistsessions --all-servers vv tail: ,,/home/client-user/.x2go/C-server-user-53-1277893552_stDLXDE_dp24/session.log\'' kann nicht zum Lesen geöffnet werden: No such file or directory ^^ 21577|server-user-53-1277893552_stDLXDE_dp24|53|host1.das-netzwerkteam.de|R|30.06.10 12:25:52|fa4f8eb2071a396e215efbd048f3a5b7|client-ip|30007|30008|30.06.10 12:25:54|server-user|3417|30009 26895|server-user-51-1277893678_stDGNOME_dp24|51|host2.das-netzwerkteam.de|R|30.06.10 12:27:58|b8b9058a32fd73ce3ae02cbae8aab605|client-ip|30004|30005|30.06.10 12:27:59|server-user|3292|30006 Question: which scenarios have you already implied, which may be missing or are untested? What home dir setup is most preferred from the developers' point of view? snip We have taken a somewhat different approach. To promote portability and other factors, home directories are on a SAN and presented to a VServer host via iSCSI. These are then mounted into VServer guests using mount --rbind commands. This creates great scalability, performance, and isolation but the lack of important POSIX capabilities in the VServer guests makes for some challenges - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] session timeout management / idle management / lost processes
It seems like Mike is willing to take on a lot of this work himself and is just looking for information to help him do that work. If that's the case, I have no problem being barraged and sharing whatever knowledge I have of the project. :-) I know I have a pile of improvements and patches I'd like to submit but haven't because I haven't had the time to research the details of the code. With a bit of guidance along the way, I'm sure I could make much faster progress as will Mike. Thanks - John On Wed, 2010-06-30 at 16:54 -0500, Gerry Reno wrote: Mike, Your enthusiasm is terrific. But you're tending to overwhelm everyone with so many questions on so many topics all at once. As far as sessions go I think you should look at /usr/sbin/x2gocleansessions and read through the various scripts. Maybe you've done that. You point out good issues but let's take them one or two at a time and drill them out rather than get a whole slew of scattered threads started. Gerry Jun 30, 2010 05:31:15 PM, x2go-dev@lists.berlios.de wrote: Hi there, On Mi 30 Jun 2010 22:47:02 CEST Mike Gabriel wrote: [...] what I actually wanted to put under this subject... I played with timeoutd and autolog (both debian squeeze and ubuntu lucid). Both packages are (as I understand) unmaintained in Debian, and what I read of unmaintained in upstream. There is no such replacement for either of the tools, is it? Do you have any concepts in your setups for handling of o idle session/process management o session timeout management o cleaning up of lost processes o are any of these features included in x2go already? Greets, Mike -- DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419 eMail-LeseSchreibStunde: wochentags 8h-10h mail: m.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel% 40das-netzwerkteam.de.xfb ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2go-dev] Shared database patch documentation
Here is the documentation for the shared database patches to follow shortly. I'm emailing them separately lest the size exceed the mail list limit. The documentation explains the need for this patch including the security holes it plugs. Thanks - John MultiDBSupportNotes.odt Description: application/vnd.oasis.opendocument.text ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2go-dev] Shared database patches
(500) references sessions on delete restrict, path varchar(512) not null, client inet not null, primary key(path,client) - )\ | psql x2go_sessions + ); + + su - postgres -c psql -c \${DBCMD}\ ${DBNAME} + if [ $? -ne 0 ];then + ERR=3 + fi +fi + +rm -f ${PGHOME}.pgpass +if [ $SAVEPASS -eq 1 ] +# We use SAVEPASS rather than checking for .pgpass.x2go just in case +# there was not an existing .pgpass but there was an old .pgpass.spm +then +su - postgres -c mv ~/.pgpass.x2go ~/.pgpass +fi + +if [ ${ERR} != 0 -a ${REMOTE} == 0 ];then + echo I was not able to create the database. +fi +# The history file contains user passwords so we delete it +rm -f ${PGHOME}psql_history +exit ${ERR} + # x2godb.conf # Copyright 2009-2010 John A. Sullivan III - Pacifera, LP # Version 0: March 24, 2009 - John Sullivan # Version 1: March 6, 2010 - John Sullivan: replace . with ___ # This file is used to set the X2Go database parameters. # DBNAME defaults to x2go_sessions (optional) DBNAME= # SCHEMA defaults to (required if using a shared database) #SCHEMA=$(hostname) | sed 's/\./___/g' # . is the PostgreSQL schema delimiter SCHEMA= # DBUSER defaults to postgres (optional) #DBUSER=$(hostname) | sed 's/\./___/g' DBUSER= # If the database server is remote and uses a non-standard SSH port, # set the port number here SSHPORT=22 --- x2gopgwrapper_local 2009-03-25 02:28:00.0 -0400 +++ x2gopgwrapper_local.new 2009-03-25 13:51:46.0 -0400 @@ -2,36 +2,41 @@ cd ~ #use only with sudo !! +. /etc/x2go/x2godb.conf UNAME=$SUDO_USER +DBNAME=${DBNAME:-x2go_sessions} +if [ -n ${SCHEMA} ];then # SCHEMA is being used +SCHEMA=${SCHEMA}. +fi case $1 in getdisplays) - echo select '|'||display||'|' from sessions;|psql -t x2go_sessions + echo select '|'||display||'|' from \${SCHEMA}\sessions;|psql -t ${DBNAME} ;; getports) - echo select '|'||port||'|' from used_ports;|psql -t x2go_sessions + echo select '|'||port||'|' from \${SCHEMA}\used_ports;|psql -t ${DBNAME} ;; getservers) - echo select server,count(*) from sessions where status != 'F' group by server;|psql -t x2go_sessions + echo select server,count(*) from \${SCHEMA}\sessions where status != 'F' group by server;|psql -t ${DBNAME} ;; listsessions) echo select agent_pid, session_id, display, server, status,\ to_char(init_time,'DD.MM.YY*HH24:MI:SS'),cookie,client,gr_port,\ sound_port,to_char(last_time,'DD.MM.YY*HH24:MI:SS'),uname,\ - to_char(now()-init_time,''),fs_port from sessions \ - where status !='F' and server='$2' and uname='$UNAME' order by status desc;|psql -t x2go_sessions + to_char(now()-init_time,''),fs_port from \${SCHEMA}\sessions \ + where status !='F' and server='$2' and uname='$UNAME' order by status desc;|psql -t ${DBNAME} ;; listsessions_all) echo select agent_pid, session_id, display, server, status,\ to_char(init_time,'DD.MM.YY*HH24:MI:SS'),cookie,client,gr_port,\ sound_port,to_char(last_time,'DD.MM.YY*HH24:MI:SS'),uname,\ - to_char(now()-init_time,''),fs_port from sessions \ - where status !='F' and uname='$UNAME' order by status desc;|psql -t x2go_sessions + to_char(now()-init_time,''),fs_port from \${SCHEMA}\sessions \ + where status !='F' and uname='$UNAME' order by status desc;|psql -t ${DBNAME} ;; listsessionsroot) @@ -43,8 +48,8 @@ echo select agent_pid, session_id, display, server, status,\ to_char(init_time,'DD.MM.YY*HH24:MI:SS'),cookie,client,gr_port,\ sound_port,to_char(last_time,'DD.MM.YY*HH24:MI:SS'),uname,\ - to_char(now()-init_time,''),fs_port from sessions \ - where server='$2' order by status desc;|psql -t x2go_sessions + to_char(now()-init_time,''),fs_port from \${SCHEMA}\sessions \ + where server='$2' order by status desc;|psql -t ${DBNAME} ;; listsessionsroot_all) @@ -56,8 +61,8 @@ echo select agent_pid, session_id, display, server, status,\ to_char(init_time,'DD.MM.YY*HH24:MI:SS'),cookie,client,gr_port,\ sound_port,to_char(last_time,'DD.MM.YY*HH24:MI:SS'),uname,\ - to_char(now()-init_time,''),fs_port from sessions \ - order by status desc;|psql -t x2go_sessions + to_char(now()-init_time,''),fs_port from \${SCHEMA}\sessions \ + order by status desc;|psql -t ${DBNAME} ;; listsusp) @@ -67,7 +72,7 @@ exit fi echo select session_id, display, uname, server,extract( day from now()-last_time)*24*60+extract(hour from now()-last_time)*60+extract(minute from now()-last_time)\ - from sessions where server='$2' and status='S';|psql -t x2go_sessions + from \${SCHEMA}\sessions where server='$2' and status='S';|psql -t ${DBNAME} ;; listallrunning) @@ -79,8 +84,8 @@ echo select agent_pid, session_id, display, server, status,\ to_char(init_time,'DD.MM.YY*HH24:MI:SS'),cookie,client,gr_port,\ sound_port,to_char(last_time,'DD.MM.YY*HH24:MI:SS'),uname,\ - to_char(now()-init_time,''),fs_port from
[X2go-dev] Multiserver CUPS patch documentation
Here is the documentation for the patches to enable cups-x2go to service multiple X2Go servers. An explanation of the issues is included - John X2GoSharedCUPSServer.odt Description: application/vnd.oasis.opendocument.text ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2go-dev] Multiserver CUPS patches
Here are the patches to enable a single cups-x2go CUPS server to service multiple X2Go Servers. The documentation was posted previously. Thanks - John --- cups-x2go.conf.orig 2010-03-09 11:20:50.873606048 + +++ cups-x2go.conf.new 2010-03-09 12:14:36.800611904 + @@ -3,10 +3,42 @@ ## ## Server with x2go system -x2goserver = local +#x2goserver = local ## dsa key for user x2goprint #printdsa = /root/.x2go/ssh/.x2goprint/id_dsa ## command to generate pdf files #ps2pdf = /usr/bin/gs -q -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=%s.pdf -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f %s + +# Multi-X2Go Server options +#== +# Used when this print server must service multiple X2Go Servers +# This requires a single database for all X2Go Server session data +#multiserver = 0 +# Set multiserver to 0 (zero) to disable and 1 (one) to enable +# defaults to 0 + +#dbhost = localhost +# Set dbhost to the name of the database host +# defaults to localhost + +#dbuser = postgres +# Set dbuser to the user ID for logging into the database +# defaults to postgres + +#dbname = x2go_sessions +# Set dbname to the database name +# defaults to x2go_sessions + +#dbschema = +# Set dbschema to the master schema in a multi-schema X2Go database +# This is the schema used to coordinate information from the individual +# X2Go Server schemas in a secure environment (where one server cannot +# view another server's session data +# defaults to an empty string + +#dbtable = sessions +# Set dbtables to the database table used to hold the session data +# defaults to sessions +#== --- cups-x2go.orig 2010-03-09 09:16:28.0 + +++ cups-x2go 2010-04-06 11:36:58.566761342 + @@ -26,6 +26,12 @@ my $x2goserver = local; my $printdsa = /root/.x2go/ssh/.x2goprint/id_dsa; my $ps2pdf = /usr/bin/gs -q -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=\%s.pdf\ -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f \%s\; +my $multiserver=0; +my $dbhost = localhost; +my $dbuser = postgres; +my $dbname = x2go_sessions; +my $dbschema = ; +my $dbtable = sessions; my $cfgfile=/etc/cups/cups-x2go.conf; my $userName; my @sessions; @@ -60,8 +66,43 @@ { $ps2pdf=$value; } + if($option eq multiserver) + { + $multiserver = $value; + } + if($option eq dbhost) + { + $dbhost=$value; + } + if($option eq dbuser) + { + $dbuser=$value; + } + if($option eq dbname) + { + $dbname=$value; + } + if($option eq dbschema) + { + $dbschema=$value; + if($dbschema ne ) + { + $dbschema=$dbschema.; + } + } + if($option eq dbtable) + { + $dbtable=$value; + } } close(CFG); + if ($multiserver) + { + $x2goserver=`echo select server from $dbschema$dbtable where uname='$userName' limit 1 | psql -U $dbuser -h $dbhost -t $dbname`; + chomp($x2goserver); + chomp($x2goserver); + $x2goserver=~s/ //g; + } } } @@ -119,7 +160,6 @@ print STDERR ERROR: Usage: cups-x2go job-id user title copies options [file]\n; exit 1; } - my $jobID; my $jobTitle; my $copies; @@ -128,7 +168,6 @@ ($jobID, $userName, $jobTitle, $copies, $printOptions, $printFile) = @ARGV; - my $tempFile; if (!$printFile) { ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] use thin client CPU resources
On Fri, 2010-07-02 at 15:20 +0200, Mike Gabriel wrote: Hi x2go-folks, here is another question to the developers... When talking to school teachers here in Kiel, there was a very central demand to thin client work stations: run application on the thin client hardware. in schools this is needed for: o accessing USB-devices like LEGO mind storm robots etc. o starting development environments on the thin client CPU (e.g. eclipse) so that programming of ROBOT devices can be tested locally o play media (DVD, AVI on CD or USB-Stick) on the thin client o start firefox locally (but with the user's profile), esp. because of flash media, but also animations on websites As I know, in LTSP there is a solution for that (a weird bash script called ltsp-localapp or so). My question: is there also an idea or an approach for x2go how local CPU usage of thin clients could be implemented? I suppose, there is no implementation yet, is it? My basic idea of how it could be done: o mount $HOME of the x2goserver on the client via sshfs, this mount should be tunneled through the main SSH connection (I know this is the other way round compared to x2goprint spool dir and shared folders... this might need some work and ideas before we go into deatails) o issue a script call on the thin client o set some environment variables on the thin client from within this script ($HOME, $USER etc.) o let the x2goclient start the local app (like firefox, vlc, mplayer, eclipse) As this is probably the most needed feature herearound I'd love to go into detail with this issue sometime in August/September. Plz let me know what you think, Mike I could see a great use for this with multimedia/video files - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] BUG?: plugin stuck in auth rejection
On Fri, 2010-07-09 at 03:41 -0400, Gerry Reno wrote: Here's something else that happens part of the time trying to connect to this user: Wrong password! Connection failed localhost: Unable to connect: /home/greno/.x2go/ssh/socaskpass-r23053 Permission denied, please try again. Unable to connect: /home/greno/.x2go/ssh/socaskpass-r23053 Permission denied, please try again. Unable to connect: /home/greno/.x2go/ssh/socaskpass-r23053 Permission denied (publickey,password). But I've even cut and pasted the password and still I get this message. And when I check that socaskpass-r23053 file, it does not exist. And after about 20 tries I finally got the list of sessions and terminated what I figured was the bad session and then created a New session. Still seeing same behavior with this new session. snip I really don't know what is going wrong but what happens if you try logging on via ssh? Does it give you any more understandable error message? - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] X2go Python Client Library
On Fri, 2010-07-16 at 20:03 +0200, Joerg Sawatzki wrote: Hey list, the state of Lower Saxony, Germany is currently developing a portable learning environment for schools - see http://www.n-stick.de . Some schools with a good internet connection asked whether it is possible to start and run applications on a remote terminal server within this platform. Apart from that it might happen that the state will run a terminal server cluster that provides a standard set of educational applications ready to use through VPN/web. These ideas and requirements made me have a deeper look at the internals of x2go and I developed a python library that can be used to easily build an x2go client - on win32 and linux. At the moment it is only a code snippet, but it is already quite good for demo purposes. http://github.com/joerg86/pyx2go Have a look at it and tell me what you think. Questions, contributions and feedback are very welcome. A neat idea! Thank you - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] source code repository
On Sun, 2010-07-18 at 01:17 +0200, Jörg Sawatzki wrote: snip We are working with git and now that is a big whish of you, the next thin we'll do is to get git.x2go.org working. Why don't you use github or *forge? It saves time and money and you have the same (and more) possibilities than with your own server. Apart from that, you'd have to setup a bug tracker, wiki and stuff like that as well - and run, administer, update and maintain it. I'd rather invest my time to get on with development instead of reinventing the wheel at this point. :) We wan't to use our own server to be able to autobuild packages etc... but I will push a copy to github too. There is absolutely no need for this - for example, if you have a project page on Launchpad, their servers can autobuild .deb packages for you - for all kinds of architectures and ubuntu/debian versions. If you still want to build packages on your own server, just build them from the github/*forge repository. Of course it is up to you - but keep in mind that it will cost you a lot more time (and money) to build and run an infrastructure that is as good or better than what all these *forge sites offer you for free. snip I second that idea. One can lose countless, priceless development hours learning, building, maintaining, and handling the inevitable catastrophes of one's own infrastructure - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] BUG: when sharing local folders ~/media symlinks not as expected
On Wed, 2010-07-21 at 06:12 +0200, Milan Knížek wrote: Mike Gabriel píše v Út 13. 07. 2010 v 13:02 +0200: Hi there, Hello, 2. When suspending an x2go session the local shared directory gets unmounted properly on the server, but the desktop link (GNOME) remains on the desktop. After having resumed a session the desktop link is still there but it is invalid. I have to remove it manually, to get rid of it. Similar here: Archlinux: x2goserver-one 3.0.1_5-2, GNOME 2.30.2 Ubuntu Lucid: x2goclient-gtk 3.01-8 The shared dir from client is mounted properly to /tmp/, a symlink created in $HOME/media linking to /tmp/mu_media. Additionally, there is a file: $ cat $HOME/Desktop/_home_mu\(sshfs-disk\) /tmp/mu_media/_home_mu mu-50-1279683154_stDGNOME_dp32 but this second file is unrecognised by GNOME - no applications assigned. Do I need to install the GNOME addons for x2go (these seems to be missing in Arch AUR repository). Anyway, after logout from the session, the two above files remain in the user's directory and must be deleted manually. Regards, Milan I believe this is handled by the /usr/bin/x2goumount_session perl script. You might add some debugging to see where it is breaking. I believe the general process is something like: x2goumount_session first gets the display for the session in the format |50| and then a list of mounts for the session in the format: 127.0.0.1 | /tmp/spool_simple1/simple1-50-1267649844_stDKDE_dp24 It next dumps a copy of /etc/mtab into an array. It then loops through the list of mounts. Within that loop, it loops through the contents of /etc/mtab to see if there is an sshfs mount which matches the mount listed in the database. If it finds a match, it stores the remote device (e.g., jsulli...@127.0.0.1:/home/jsullivan/) for the sshfs in a variable named remote and then breaks out of the inner loop. It then attempts to umount the mount point retrieved from the database. If it fails, it generates an error message to the user and continues with the next item in the outer loop. Whether or not it found anything in mtab, as long as it did not error when trying to unmount, it tries to clean up any artifacts from the session. It deletes the device icons from the user's Desktop directory. These devices have the format of a modification of the remote variable stored above (/ replaced with _) followed by any of (sshfs-disk), (sshfs-removable), or (sshfs-cdrom). It then calls sudo x2gopgwrapper deletemount passing it the session name and the mount point which deletes the entry from the mounts database table. ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] SABAYON-Userprofiles and X2GO
On Thu, 2010-07-22 at 12:18 +0200, swlambert...@online.de wrote: Hello at all, I 'm not sure whether this is the correct place to post my question. But I can't find a forum or wiki for x2go-User and Admin questions. So, I use this mailing-list. Since a few weeks I'm testing x2go. Everything works fine, but now, I have a problem. To create Gnome-Userprofiles, I use the Profileditor Sabayon ( http://live.gnome.org/Sabayon http://live.gnome.org/Sabayon ). The generation of the profiles and the assignment to the users work without any issue. But together with x2go, there is a (for me a big) problem. When a new user run a X2GO Session, he receive the Standard-Gnome Desktop instead of the „Sabayon“-Desktop. But when he first logged in localy on the Server, the assignment of the „Sabayon“-Desktop works on X2GO Sessions too. In my opinion , Sabayon is a good and easy tool for Administrators to handle the useraccess on the applications at the TS-Server. But it isn't feasible in a production environment with a lot of users, that every user first logged in localy on the server. NOMACHINE has published an article ( http://www.nomachine.com/ar/view.php?ar_id=AR10F00516 http://www.nomachine.com/ar/view.php?ar_id=AR10F00516 ) with the solution for this issue with NOMACHINE NX-Server. After I have adjusted the Sabayon Configuration on Ubuntu 10.04 (there are a few differences between Sabayon on Fedora and Sabayon on Ubuntu), i have make a test with the „Nomachine NX-Free Edition“ (not FreeNX) and it works indeed. Now I'm searching for the solution with X2GO. So, my two question are 1. Is there a possibilty in the X2GO-Configuration to configure a „UserScriptAfterSessionStart“ like in the Nomachine NX-Node configuration ? If yes, how ? 2. Is it possible to publish only Applications (not the whole Desktop) for users/usergroups ? If yes, how work it ? Thanks a lot for your help. Best regards Stefan snip Hello, Stefan. I'm not familiar with Sabayon (perhaps I should be!). We've been setting XDG_DATA_DIRS and using a centrally managed settings approach. However, it is possible to launch specific applications and this can include, I believe, a wrapper application to something like startkde or gnome-session. A while ago, I had published on this list our work of summarizing the X2Go process of setting up and tearing down a session. You might find that helpful. It seems to all be driven from the client via SSH. Eventually, the client runs (via ssh on the server) /usr/bin/x2goruncommand. This command can be just about anything and is configured in the client interface under the session type on the Session (first) tab. Hope this helps - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] convert X11 to RDP
On Thu, 2010-07-22 at 10:15 -0400, Gerry Reno wrote: On 07/22/2010 10:06 AM, John A. Sullivan III wrote: On Thu, 2010-07-22 at 09:45 +0800, 秦桂杉 wrote: hi Is it possible to use x2goagent to covert X11 to RDP? I want to use XP tsclient to view a remote X11 desktop , is there open source project like this? Perhaps I misunderstand the question. If you wish to view a remote X11 Desktop from an XP station, why not just use X2Go? Regarding conversion, our anecdotal analysis is that it seems faster to run the NX protocol to connect to a remote Linux desktop and then rdesktop to a local Windows computer rather than to run RDP directly across a WAN. I do not know if others share that same experience - John John, We see the same thing. The only issue is that it's more complexity when using an intermediate host. It would be nice if we could find a way to do this more directly using NX so that there wasn't a need for the intermediate host. Yes - fully agreed. X2Go Server for Windows! What a thought! grin ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2go-dev] Off-the-shelf thin clients
Hello, all. We have two clients interested in using thin clients to access X2Go Server. This is not an area of expertise for me. I do see the documentation on creating an image for a thin client with X2Go as the display manager. However, does anyone know of any thin clients that will run relatively off-the-shelf with X2Go either by using the firefox plugin or a simple installation of the standard X2Go client? Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Off-the-shelf thin clients
On Fri, 2010-07-23 at 14:20 +0200, Philipp Huebner wrote: Hi, On 22.07.2010 16:52, John A. Sullivan III wrote: Hello, all. We have two clients interested in using thin clients to access X2Go Server. This is not an area of expertise for me. I do see the documentation on creating an image for a thin client with X2Go as the display manager. However, does anyone know of any thin clients that will run relatively off-the-shelf with X2Go either by using the firefox plugin or a simple installation of the standard X2Go client? Thanks - John I collected some experience with thin clients from HP. The image is a stripped down Debian where all access to command line has been blocked and the dpkg binary manually deleted. It's not hard to modify the system, just boot Linux from either PXE or USB. They have Firefox installed, so you should be able to use the X2go firefox plugin. snip The last point about Firefox is interesting. I don't have units here to test but, if Firefox is installed on a thin client, can one run the plugin? If one can run it, will it be written to flash so itis available in the future or will it need to be downloaded every time one wants to run X2Go? Actually, I'm guessing the plugin is not cached in memory but always must be written to disk since it asks to restart Firefox. Can the thin clients write such a plugin to disk? Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] x2go embedded doesn't fit screen
On Sat, 2010-07-24 at 13:41 +0200, cont...@gmli.fr wrote: Hi, I've found the solution to my problem of embedded app in x2goplugin, by specifying rootless=false/true when I need it. I'm now facing another problem : http://cfait.fr/~gml/x2go-gedit.png I use : command=gedit rootless=false And as you can see, gedit doesn't fit the plugin screen size. Any idea ? Is it safe to assume that you have detached the plugin window from the browser and then maximized it? - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Off-the-shelf thin clients
On Sun, 2010-07-25 at 14:10 +0200, Philipp Huebner wrote: Hi, On 23.07.2010 17:27, John A. Sullivan III wrote: On Fri, 2010-07-23 at 14:20 +0200, Philipp Huebner wrote: [...] They have Firefox installed, so you should be able to use the X2go firefox plugin. snip The last point about Firefox is interesting. I don't have units here to test but, if Firefox is installed on a thin client, can one run the plugin? If one can run it, will it be written to flash so itis available in the future or will it need to be downloaded every time one wants to run X2Go? Actually, I'm guessing the plugin is not cached in memory but always must be written to disk since it asks to restart Firefox. Can the thin clients write such a plugin to disk? Thanks - John Most the system is on a read-only mounted partition, but there is a small read-write partition to store settings. With a little bit of typical Linux know-up you can modify anything on the system. It's a normal flash-drive. Mount it rw and anything is possible. You could prepare one thin-client, create an image and copy that onto all the others. snip Thanks. That makes perfect sense. We were just hoping to find one that could be drop shipped off-the-shelf and work without creating a custom image. I've been following up the two leads Heinz sent and we'll see what we find - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2go-dev] Bouncing firefox plugin
We have had some complaints from clients in the last few days where they have installed a fresh copy of firefox and then the latest plugin and the login screen bounces up and down unusably. That is, the blue login area drops below the black background and then back up again. There is apparently some known issue with the latest Firefox on sub-10 screens where this is a problem with Firefox. However, one client has experienced it on two normal sized laptops and we've not heard about the Firefox problem affecting those. Has anyone else experienced this? Is there a fix or workaround? Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] source code repository
On Sun, 2010-07-25 at 11:12 +0200, Heinz-M. Graesing wrote: snip As this is a offer of mike I'd like to ask directly: If we choose some generic projects which can be easily mirrored and don't have a lock in effect, would you and anybody else like to run a mirror? This would be help to avoid the single point of failure argument. As tehre is defenitly know how on the list, we can offer some sites inside the wiki for documentation (running a mirror). snip We might be able to mirror. We're running flat out for time getting the new company up and running but, if someone can provide a simple how-to to set it up, we can try to squeeze it in. Are there any estimates on disk/bandwidth requirements? Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Where are Docs?
On Mon, 2010-08-02 at 11:58 +, cougarmaster wrote: Hi all, Looking for docs or instructions how to configure the firefox plugin. I can't login and just loads a page showing SSH-2.0-OpenSSH_5.3p1 Debian-3ubuntu4 Want to try out tks snip http://wiki.x2go.org/x2goplugin ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] about x2goplugin
On Mon, 2010-08-02 at 08:23 -0500, M0E Lnx wrote: I've come across some stuff on the www about x2go plugin for firefox. Since I'm having problems connecting to my server with the windows client, I've been wondering if the plugin would help accomplish the same thing. so, will the plugin connect just like the client? i've added the plugin but I see no way to modify the server URL or username or any other connection details. snip http://wiki.x2go.org/x2goplugin ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Prevent session suspending and resuming
On Sun, 2010-08-22 at 15:28 +0200, Heinz-M. Graesing wrote: Hello, Am 09.08.2010 17:12, schrieb cont...@gmli.fr: Hi, I would like to do two things : - prevent users from suspending their session - prevent users from resuming their session You should take care about the *bindings packages - if you are using kde, you should not execute the command updatelockbutton. The postgresdb/sqlitedb is used for sessionresuming. If you make sure, that x2golistsessions won't return any running sessions, no session will be returned. snip Out of curiosity, if one returns no sessions from x2golistsessions, will that break any of the other scripts like the clean up script or unmounting mounted directories? - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2go-dev] Windows clipboard solution in next release?
I believe Heinz recently mentioned that the Windows full screen issue would be addressed in the next plugin release (and I suppose the next client release). Will that release also address the Windows clipboard issue, i.e., will using the clipboard be an option? Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2go-dev] X2Go client occasionally loses mouse cursor
Hello, all. We've seen this bug rarely but enough to know that it is a real bug and not just a coincidence. Here is the report from our internal trouble ticket. Unfortunately, it smells like it might be something in the NX libraries: The user called because she could not see her mouse cursor in her virtual desktop. It was visible in her physical desktop. As we later observed, it was indeed present in the virtual desktop, e.g., if she happened to stop the mouse over a file in Konqueror, it would display the thumbnail, but the mouse cursor was not visible. We tried suspending and reconnecting; that did not work. I could see where the mouse was supposed to be via my VNC session to her physical desktop so I tried to change the mouse cursor theme but that did not work (and required a restart of KDE). Finally, before rebooting to try to re-establish the connection between her physical and virtual desktops to display the mouse cursor, we thought to suspend her X2Go session and then completely close her X2Go client. When she restarted the client and reconnected to her X2Go session, the mouse had re-appeared. We did not need to reboot the physical computer. ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] X2Go client occasionally loses mouse cursor
On Wed, 2010-08-25 at 16:38 -0400, John A. Sullivan III wrote: Hello, all. We've seen this bug rarely but enough to know that it is a real bug and not just a coincidence. Here is the report from our internal trouble ticket. Unfortunately, it smells like it might be something in the NX libraries: The user called because she could not see her mouse cursor in her virtual desktop. It was visible in her physical desktop. As we later observed, it was indeed present in the virtual desktop, e.g., if she happened to stop the mouse over a file in Konqueror, it would display the thumbnail, but the mouse cursor was not visible. We tried suspending and reconnecting; that did not work. I could see where the mouse was supposed to be via my VNC session to her physical desktop so I tried to change the mouse cursor theme but that did not work (and required a restart of KDE). Finally, before rebooting to try to re-establish the connection between her physical and virtual desktops to display the mouse cursor, we thought to suspend her X2Go session and then completely close her X2Go client. When she restarted the client and reconnected to her X2Go session, the mouse had re-appeared. We did not need to reboot the physical computer. snip We saw this again today for the same user. Has anyone else experienced this? Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] X2Go client occasionally loses mouse cursor
On Fri, 2010-08-27 at 13:35 -0400, John A. Sullivan III wrote: On Wed, 2010-08-25 at 16:38 -0400, John A. Sullivan III wrote: Hello, all. We've seen this bug rarely but enough to know that it is a real bug and not just a coincidence. Here is the report from our internal trouble ticket. Unfortunately, it smells like it might be something in the NX libraries: The user called because she could not see her mouse cursor in her virtual desktop. It was visible in her physical desktop. As we later observed, it was indeed present in the virtual desktop, e.g., if she happened to stop the mouse over a file in Konqueror, it would display the thumbnail, but the mouse cursor was not visible. We tried suspending and reconnecting; that did not work. I could see where the mouse was supposed to be via my VNC session to her physical desktop so I tried to change the mouse cursor theme but that did not work (and required a restart of KDE). Finally, before rebooting to try to re-establish the connection between her physical and virtual desktops to display the mouse cursor, we thought to suspend her X2Go session and then completely close her X2Go client. When she restarted the client and reconnected to her X2Go session, the mouse had re-appeared. We did not need to reboot the physical computer. snip We saw this again today for the same user. Has anyone else experienced this? Thanks - John snip We now have another user who experienced this twice today. I'm willing to put in the time to troubleshoot this but I'm not sure where to begin. Any ideas? Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
[X2go-dev] White screen in Windows when returning from screen saver
We are seeing this problem with alarming regularity. It affects Windows clients only so it may be an Xming issue. If the user's Windows screen saver kicks in while they have their X2Go session open, when they stop the screensaver, the X2Go desktop presentation screen is complete white. Has anyone else seen this? Does anyone know why it happens, how we fix it, or where to start looking to troubleshoot? Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Souce of Windows client available?
On Tue, 2010-09-07 at 09:48 +0200, Arjen Roodselaar wrote: Hi list, We considering migrating from our current Linux terminal servers solution to X2GO. During tests however, we discovered copy/paste from a Windows client to Linux server is not available. Since this is a show stopper for us we're considering developing this ourself and contributing this functionality to the project. Is the source of the latest Windows client available somewhere so we can have a look at it? snip I'm not entirely sure but I believe a zip of the source is available here: http://developer.berlios.de/project/showfiles.php?group_id=8454 I had started looking into the change you are looking for and it seems trivial. The Xming parameters are hard coded and do not include --clipboard nor do they honor --fullscreen. I had started to work on a patch but I do not have a good Windows development environment and the source failed to compile for me before making any changes - something about a GUI event being called in a thread (I believe Qt GUI events can only be called from the main thread and subordinate threads need to trigger an event in the main thread to alter the GUI). I have not had the time to track it down. I believe I heard that the fullscreen problem is fixed in the next X2Go release. I do not know if the clipboard issue is. I would be very interested in a fix for both issues. Good luck - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Souce of Windows client available?
On Tue, 2010-09-07 at 16:13 +0200, Arjen Roodselaar wrote: Hi John, Thank you for looking into this and your reply. -Original message- From: John A. Sullivan III lt;jsulli...@opensourcedevel.comgt; Sent: Tue 09/07/10 14:07:04 To: x2go-dev@lists.berlios.de; Subject: Re: [X2go-dev] Souce of Windows client available? snip gt; I'm not entirely sure but I believe a zip of the source is available gt; here: gt; http://developer.berlios.de/project/showfiles.php?group_id=8454 I might be overlooking something, but unfortunately I can't find any sources on the page you suggested. Is it possible they're only visible for certain users? snip You're right! It's not there. I also signed in with my Berlios account and that did not reveal it. I also looked in http://x2go.obviously-nice.de/windows/ but only saw the setup.exe. I don't recall where I downloaded the Windows source. Ah! As I think about it, it is probably all the same source - the beauty of Qt. There are sections within the code for handling Windows specific bits. Thus, I believe you will want: http://x2go.obviously-nice.de/deb/pool-lenny/x2goclient/x2goclient_3.01-4.tar.gz if you want the source for the latest available Windows client - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Prevent session suspending and resuming
On Wed, 2010-09-08 at 13:57 +0200, Kevin Moellering wrote: Am 09.08.2010 17:12, schrieb contact at gmli.fr: Hi, I would like to do two things : - prevent users from suspending their session - prevent users from resuming their session You should take care about the *bindings packages - if you are using kde, you should not execute the command updatelockbutton. The postgresdb/sqlitedb is used for sessionresuming. If you make sure, that x2golistsessions won't return any running sessions, no session will be returned. Hello everybody, after reading the archives of the mailing list I'm still not completely sure if there actually exists a functionality that cleans up sessions of users that are inactive for X hours. Now I decided to completely prevent users from suspending their sessions. I read the entry from Heinz-M. Graesing which he made on Sunday, the 9th of August 2010, but as far as i can see this does not prevent users from suspending their session when hitting the X on the upper right of the x2go window. Wouldn't it also be a feasible workaround to overwrite /usr/bin/x2gosuspend-session with /usr/bin/x2goterminate-session? snip That would seem to be reasonable. I suppose it would be safest to look at the source and see what the closeEvent() does to see if it calls x2gosuspend. I think that's the method Qt will call when the dialog x is clicked - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] debian lenny x2goserver-one - remote NX proxy closed the connection
On Wed, 2010-09-08 at 20:43 +0200, Stefan Bauer wrote: Hi folks, i was hoping to not have to abuse the list but i'm having problems to get things working: X2Go Client V. 3.01-2 Trying to start an xterm on the x2go-server i got the following: NXPROXY - Version 3.0.0 Copyright (C) 2001, 2007 NoMachine. See http://www.nomachine.com/ for more information. Info: Proxy running in client mode with pid '3820'. Session: Starting session at 'Wed Sep 8 20:26:14 2010'. Info: Connecting to remote host 'localhost:30007'. Info: Connection to remote proxy 'localhost:30007' established. Error: The remote NX proxy closed the connection. Error: Failure negotiating the session in stage '7'. Error: Wrong version or invalid session authentication cookie. /var/log/auth.log is here: http://nopaste.info/ebef4d50f6_nl.html Did i miss something? I expected a straightforward installation according to the documentation. Help is greatly appreciated Stefan Are you trying to connect to an X2GoServer running on the same computer as the X2GoClient? That does not work - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] debian lenny x2goserver-one - remote NX proxy closed the connection
On Wed, 2010-09-08 at 21:31 +0200, Stefan Bauer wrote: Am 08.09.2010 21:28, John A. Sullivan III schrieb: Are you trying to connect to an X2GoServer running on the same computer as the X2GoClient? That does not work - John It's a virtual machine in my lab. Precicely it's the same physical machine, but i'm accessing the virtual machine over TCP namely by a different ip-address than my machine. Hmmm . . . I'm not an expert on this part of X2Go but these lines from your log through me off: Info: Connecting to remote host 'localhost:30007'. Info: Connection to remote proxy 'localhost:30007' established. I wonder why it is connecting to localhost? - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] debian lenny x2goserver-one - remote NX proxy closed the connection
On Wed, 2010-09-08 at 21:57 +0200, Stefan Bauer wrote: Am 08.09.2010 21:54, M0E Lnx schrieb: If you are connecting from the guest to the server running on the host, you should be using the host's local ip address and not localhost. I havent specified anywhere localhost! I'm accessing the x2go-server only by it's public ip-address - namely 192.168.0.57. Cheers Hmm . . . could it be it is reverse resolving it from the hosts file? If not, what happens if you add the following line to /etc/ssh/sshd_config and restart the ssh daemon: X11UseLocalhost no ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] X2Go client occasionally loses mouse cursor
On Mon, 2010-08-30 at 21:52 -0400, John A. Sullivan III wrote: On Fri, 2010-08-27 at 13:35 -0400, John A. Sullivan III wrote: On Wed, 2010-08-25 at 16:38 -0400, John A. Sullivan III wrote: Hello, all. We've seen this bug rarely but enough to know that it is a real bug and not just a coincidence. Here is the report from our internal trouble ticket. Unfortunately, it smells like it might be something in the NX libraries: The user called because she could not see her mouse cursor in her virtual desktop. It was visible in her physical desktop. As we later observed, it was indeed present in the virtual desktop, e.g., if she happened to stop the mouse over a file in Konqueror, it would display the thumbnail, but the mouse cursor was not visible. We tried suspending and reconnecting; that did not work. I could see where the mouse was supposed to be via my VNC session to her physical desktop so I tried to change the mouse cursor theme but that did not work (and required a restart of KDE). Finally, before rebooting to try to re-establish the connection between her physical and virtual desktops to display the mouse cursor, we thought to suspend her X2Go session and then completely close her X2Go client. When she restarted the client and reconnected to her X2Go session, the mouse had re-appeared. We did not need to reboot the physical computer. snip We saw this again today for the same user. Has anyone else experienced this? Thanks - John snip We now have another user who experienced this twice today. I'm willing to put in the time to troubleshoot this but I'm not sure where to begin. Any ideas? Thanks - John snip This is now happening many times a day and is causing quite an upset. I scoured the Internet for ideas and there seems to be lots of reports about this on Debian and Ubuntu but no clear identification of the problem or clear fixes. I posted to the Debian mailing list assuming it is a Debian problem. They recommended editing xorg.conf to add Option SWCursor yes to the video driver. That didn't help. Using Ctl-Alt-D as someone else suggested to recover the mouse did not help. I'm not sure if NX and X2Go are complicating the issue. Has anyone else seen this? Has anyone solved it? It is making the system approach unusable. Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] GPL violations
We're not treating you like an idiot for correctly pointing out the things that should be done; we are grateful for that. We're treating you like an idiot for the way you are going about it. Yes, they should follow the requirements of the GPL. Yes, they did not have to accede to the many requests to have access to the plugin before they were really ready to give either the binaries or the source to everyone. Yes, they did not have to share any of this project but could have kept it as a simple in-house project. Given all of of those yeses, I do eagerly await the release of the source and will wait until it is released realizing that the delay hurts me but not more than not having the project at all. In fact, I eagerly await the time when our business turns cash positive so we can financially support the project. If they were a corporation making a profit off the backs of open source developers and hoarding the source code for nefarious reasons, I'd be far less patient. If you are tired of waiting, go away. Peace - John On Wed, 2010-09-22 at 23:26 +0200, Jörg Sawatzki wrote: Tobias, it is very nice that you want to protect the two. Oh yes, and I am a stupid idiot who unnecessarily bugs people because he wants to get his right. I sometimes wonder if we live in a banana republic when people tell me heaps of reasons why they don't have to follow the law... I am asking for the source for a month or two. Taking the build environment, putting it in a .tar archive and uploading it to a webserver takes not more than ONE MINUTE and it would absolutely fullfill the requirements of the GPL and I would never ever have been complaining. Do I expect too much if I ask him to take ONE MINUTE to follow the laws and license requirements? And btw. I want the code of the plugin that I have downloaded right now. And not the code of a polished release that comes out next year or so! I want to submit extensions and bugfixes BEFORE the next release and not after! But thank you for treating me like an idiot just because I fight for my right. Jörg Am Mittwoch, den 22.09.2010, 23:04 +0200 schrieb das.t: the developers were so nice and _due_to_great_demand_ to give us a PREVEW of what is going to come. this was pure generosity. nothing has been released, this is absolutely inofficial and i am _more_than_sure_ that we _are_ going to get the source code. if you are reading this list you will know that heinz is on vacation, so there will nothing happen right now. i do not want him to work now as i know how stressed he is. give him a rest!!! if you say x2go is rubish and can be done within minuts - fine, then go for it. but please do not bug people who are investing more than enough in oss! especially stop threatening them in this absolutely unnecessarily rude manner. if you think a project is rubish, do something better. enough said. i am off this threat now. ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Plugin building
On Thu, 2010-09-23 at 00:02 +0200, Oleksandr Shneyder wrote: snip Q: What is current status of project? What are you doing all this time? A: A lot of things. We are working hard to make x2go better. QtBrowserPlugin, windows full screen mode, solving problem with windows clipboard is our main occupation at this time. snip A multi-browser client (QtBrowserPlugin), Windows full screen and clipboard are extremely high priorities for my company. Thank you for focusing there - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] GPL violations
I'm sure dragging the developers into court will do wonders for the progress of the project. Good night, Joerg - John On Thu, 2010-09-23 at 00:58 +0200, Jörg Sawatzki wrote: Thank you for sending me away, John! Very friendly. I will go away - after I got the source of the software running on my computer right now! And not the source of the software that is released in a couple of months. Please respect that this is my guaranteed right and that I won't go away before I have enforced it. And I will do that - even if I need a lawyer and a judge. This is not a banana republic where you can only follow the laws and requirements if you like them or if you have time to do that. Am Mittwoch, den 22.09.2010, 18:01 -0400 schrieb John A. Sullivan III: We're not treating you like an idiot for correctly pointing out the things that should be done; we are grateful for that. We're treating you like an idiot for the way you are going about it. Yes, they should follow the requirements of the GPL. Yes, they did not have to accede to the many requests to have access to the plugin before they were really ready to give either the binaries or the source to everyone. Yes, they did not have to share any of this project but could have kept it as a simple in-house project. Given all of of those yeses, I do eagerly await the release of the source and will wait until it is released realizing that the delay hurts me but not more than not having the project at all. In fact, I eagerly await the time when our business turns cash positive so we can financially support the project. If they were a corporation making a profit off the backs of open source developers and hoarding the source code for nefarious reasons, I'd be far less patient. If you are tired of waiting, go away. Peace - John On Wed, 2010-09-22 at 23:26 +0200, Jörg Sawatzki wrote: Tobias, it is very nice that you want to protect the two. Oh yes, and I am a stupid idiot who unnecessarily bugs people because he wants to get his right. I sometimes wonder if we live in a banana republic when people tell me heaps of reasons why they don't have to follow the law... I am asking for the source for a month or two. Taking the build environment, putting it in a .tar archive and uploading it to a webserver takes not more than ONE MINUTE and it would absolutely fullfill the requirements of the GPL and I would never ever have been complaining. Do I expect too much if I ask him to take ONE MINUTE to follow the laws and license requirements? And btw. I want the code of the plugin that I have downloaded right now. And not the code of a polished release that comes out next year or so! I want to submit extensions and bugfixes BEFORE the next release and not after! But thank you for treating me like an idiot just because I fight for my right. Jörg Am Mittwoch, den 22.09.2010, 23:04 +0200 schrieb das.t: the developers were so nice and _due_to_great_demand_ to give us a PREVEW of what is going to come. this was pure generosity. nothing has been released, this is absolutely inofficial and i am _more_than_sure_ that we _are_ going to get the source code. if you are reading this list you will know that heinz is on vacation, so there will nothing happen right now. i do not want him to work now as i know how stressed he is. give him a rest!!! if you say x2go is rubish and can be done within minuts - fine, then go for it. but please do not bug people who are investing more than enough in oss! especially stop threatening them in this absolutely unnecessarily rude manner. if you think a project is rubish, do something better. enough said. i am off this threat now. ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] x2go VCS
On Fri, 2010-09-24 at 13:07 -0400, Gerry Reno wrote: A publicly accessible VCS is necessary in order to collaborate on any open source project. I think what Alex and Heinz would like is to be able to do is somehow be able to separate their code from community contributions. Perhaps they think that they would be able to market just their 'devs' code in some way. But with the x2go foundation being already built upon GPL NX libraries I can tell you that this is not possible. ALL x2go code to date is fully GPL and always will be. There is absolutely no advantage to separate code or two VCS's or anything like this. What is needed is for the project to put up it's existing GIT repository and allow the community to make contributions in some branches which can then be examined and tested and merged or rebased into the HEAD. This way contributors can work on various pieces and when they have something good they can propose it for merging and invite other community members to test their work. In all this the 'devs', Alex and Heinz, act as the 'editors' and evaluate the pieces with regards to the overall direction of the project and its architecture. There is no advantage to waiting on any of this and putting up the repository should take just a matter of minutes and I think Alex and Heinz should not be afraid to share the source repository. They retain the merge rights and so still have control. And then they can add others with merge rights as the project moves forward. snip Please, all. I think we've gotten our answers and we are just chewing up a lot of time and burning up good will. It seems to me: 1) There will be GIT from the devs after Baikal and not before. 2) We are free to set up a best effort GIT ourselves before then. Those are the answers. If we like them, let's run with them and get back to work. If we don't like them, and we've said we don't like them, and said we don't like them, and said we don't like them, and said we don't like them, and said we don't like them, and said we don't like them, and said we don't like them, and said we don't like them, and said we don't like them, and said we don't like them, and said we don't like them, and those who hold the keys and contributed the original code are not agreeing and not breaking the law, then please stop saying you don't like them. Can we stop now and get on with #1 and #2? Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Git Repo
On Sat, 2010-09-25 at 08:41 +0100, Matthew Macdonald-Wallace wrote: Hi Paul, On Fri, 2010-09-24 at 23:19 +0200, Paul Menzel wrote: thank you for your offer. I would be happy if you could do this. I have never worked with GitHub, so I do not know how it is working in detail. It's easy and we don't need to pay for it! ;) Could you please write down your ideas, on what branches you want to create and how you want to import the “latest sources”. Will you just take the latest tarballs or also the one beforehand? My plan was to setup v. simple master and staging branches. Master would contain the code as of today (which I believe to be stable) and staging would be a fork of this code to which people would be able to commit. If someone wants to contribute a patch, how would she/he do this? Send the patch to the list and when it is acknowledged by anyone, you will push it? Or is there an “incoming” branch where all patches can be pushed to and some people are cherry-picking those to a development branch? Sorry for all these questions. If people have an account on GitHub, they can clone the repo into their own account, work on it and submit a pull request to pull the code back into the main staging branch. This could then be reviewed by the project leaders and merged where appropriate into the 'master' branch. Master would then be used to generate all debs/rpms/tar.gz/($other) files for distribution. I would suggest to wait until Monday evening, so people can read up on this list when they get back to work and have time to respond. But if it is not too much work for you and changes are possible, you could also set it up right away and people could comment on that. Reading the other threads, I am happy to wait until monday (or even until after the release of Baikal!) before I do anything - whilst I am happy to help out the community (and hopefully take some of the weight away from the devs!) I don't want to cause any more upset than there has been already! Kind regards, Matt snip Your positive, tangible steps to help are greatly appreciated. I have not used GIT but it sounds like you have proposed a flexible, usable solution. I have no problems with your running with (and no authority to tell you to do so :-) ). Thanks - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] sudo permissions?
On Sat, 2010-10-02 at 01:52 -0700, Rob Lemley wrote: Hey folks, I've been toying around with x2go a bit, and I'm really liking it. From what I've seen, the overall architecture is cleaner than freenx and even neatx. Certainly none of that insanity of netcat's and fdcopy's. I was a rather disturbed by the x2goserver package adding a line in my sudoers file to allow anyone in the x2gousers group to run x2gopgwrapper as root. I checked out that script and the three scripts it can potentially call, x2gopgwrapper_{local,net,sqlite}. Other than the _net script I see no reason why root access is required. All these scripts do is access a database and run queries. The _net script as written probably needs root access, but there's no reason why with some permission adjustments on the postgres database server that it can't run unprivileged as well. As I'm just using sqlite on a single system, I did a little experiment and made some changes to run that script as an unprivileged user. I created an unprivileged x2go user with no password: (The defaults with this particular invocation of useradd are adequate, but the account can be restricted some more) useradd -r x2go So the sudoers entry becomes: X2GO section %x2gousers ALL=(x2go) NOPASSWD: /usr/bin/x2gopgwrapper Then permissions on the sqlite database need changing so our x2go user can run its queries: cd /var/db sudo chown -R x2go.x2go x2go Finally, the scripts in /usr/bin need to be changed so that x2gopgwrapper runs at x2go: for i in x2go*; do sed -ibak -e 's/sudo x2gopgwrapper/sudo -u x2go x2gopgwrapper/' $i; done I made these changes on my system and have not had any issues connecting. I am only using the x2goserver package at the moment; it's just this one script that gets executed as root, I don't know about any of the other packages. There's also the matter of the x2gocleansessions cleanup script... There's a couple of sudo calls in there as well, I didn't change that just yet as I've just disabled it altogether to prevent the spam it sends to my syslog. I apologize if this topic has been brought up before or is discussed in the documentation someplace; I looked around and didn't see anything. I simply bring this up in the interest of system security. The fewer things that run as root the better. The changes I describe above are my quick hack-n-fix. If I get a chance in the next few days I can throw together a proper fix and submit a patch. (And please add my vote to the yes-please git repository crowd.) X2go seems to have a lot of possibilities and potential. Thanks to Heinz and Alex for their hard work. snip Hi, Rob. I'm on a getaway with the family and sneaking this in so I may be remembering the details incorrectly :) You may want to trace all the other scripts which are invoked as part of the process, especially x2gomount_sessions and x2goumount_sessions. These may need root access - I'm not sure - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] Strange authentication requests from x2goserver
On Mon, 2010-10-04 at 20:02 +0200, Hoefle Marco wrote: Hello, I am evaluating the x2go tools as an alternative to vnc (I like especially the browser plugins). On the server (debian squeeze) I recognized that the x2goserver is periodically every 5 seconds doing this: srv03-lin:/srv/http/trac/umtsrouter# tail -F -n 10 /var/log/auth.log Oct 4 19:47:33 srv03-lin sudo: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/x2gopgwrapper listsessionsroot srv03-lin Oct 4 19:47:38 srv03-lin sudo: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/x2gopgwrapper listsessionsroot srv03-lin Oct 4 19:47:43 srv03-lin sudo: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/x2gopgwrapper listsessionsroot srv03-lin Oct 4 19:47:48 srv03-lin sudo: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/x2gopgwrapper listsessionsroot srv03-lin Oct 4 19:47:53 srv03-lin sudo: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/x2gopgwrapper listsessionsroot srv03-lin Oct 4 19:47:58 srv03-lin sudo: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/x2gopgwrapper listsessionsroot srv03-lin Oct 4 19:48:03 srv03-lin sudo: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/x2gopgwrapper listsessionsroot srv03-lin Oct 4 19:48:08 srv03-lin sudo: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/x2gopgwrapper listsessionsroot srv03-lin Oct 4 19:48:13 srv03-lin sudo: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/x2gopgwrapper listsessionsroot srv03-lin Oct 4 19:48:18 srv03-lin sudo: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/x2gopgwrapper listsessionsroot srv03-lin Oct 4 19:48:23 srv03-lin sudo: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/x2gopgwrapper listsessionsroot srv03-lin the x2goserver init script actually runs a daemon named x2gocleansessions. This does run x2gopgwrapper every five seconds. That's not too intolerable with a single X2go server providing multiple desktops. If you are using a 1-to-1 ration of desktops to x2goservers, that can get a little out of hand and we have put together some patches that, in some circumstances, can run a centralized x2gocleansessions daemon/ /etc/init.d/x2goserver stop will stop the authentication requests. Any Ideas what can cause this? snip I have a swiss-german keyboard layout and I have a key mismatch, it seem that I always get a german keylayout. Is eventually not every keymap implemented? I'm not sure. Have you played with the keyboard layout settings in the Settings tab of the Session Preferences dialog? I do not believe this is displayed by default in the browser plugin so you may need to click on Advanced Settings to expose it. Good luck and welcome to X2Go; it is a great product - John snip ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] sudo permissions?
On Tue, 2010-10-05 at 09:37 +0200, Oleksandr Shneyder wrote: Hello Rob, list In multi-user environment session informations of all users are stored in one data base table. If we granting access to this table for all users, each user will be able to view or change data of other users, that's unacceptable. Using sudo we can give access for user only to his own data. It's simplest way we have found to protect data of other users. In postgresql we could use views, but not all DBMS have such mechanisms. We cannot although create single table for every user, because all users should know which DISPLAYs/ports are currently in use by other users. Rob you are right. The user which execute sql queries not necessarily should be root. As you can see, in x2gopgwrapper.local all queries are executed with user postgres. We could make same changes in x2gopgwrapper_local and x2gopgwrapper_net, but wee need to add a new user into a system (as user x2go in your example). Unfortunately since x2goserver version 3_0.1-9 (http://x2go.obviously-nice.de/deb/pool-heuler/x2goserver/) there is one more reason to run x2gopgwrapper as root. Running with argument startshadowagent x2gopgwrapper should start x2gostartagent as user which desktop will be displayed. I don't see the simple way to do this without root privileges. snip We were quite uncomfortable running as the postgres user in our environment. We altered the scripts so that they used schemas instead. Each user can see only their schema within the single PostgreSQL database. We then created a separate table to sessions with the information needed to be held in common. That was visible to postgres and we used triggers to synchronize the common table with the individual schemas. Finally, we moved all functionality which needed the postgres and root users to the x2gocleansessions daemon so that users have very restricted access to the database and the underling system. I don't know if those changes would be portable to your system - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] reason for keeping session dirs in .x2go folder
On Wed, 2010-10-06 at 09:57 +0200, Mike Gabriel wrote: hi folks, we have discussed this earlier, but I think there was no real common opinion afterwards On X2go server and client each session produces its own session directory in the ~/.x2go directory. From the perspective of the X2go client: is there a proper reason to keep these session directories (apart from debugging)??? I am asking because I plan to integrate session-dir-purging-support into Python X2go: after a session has been suspended/terminated the session dir on the client will be deleted. Any comments? Greets, Mike Alas, I have no knowledgeable comment but I'd like to know why we keep them. They really seem to clutter the user directories - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] x2go client for mac osx
On Wed, 2010-10-06 at 14:03 +, Brett wrote: X2Go client worked fine for me under Mac OS X for a while and suddenly it stopped working giving me the Can't connect to X-Server. Please check your settings error. I followed the steps outlined above and was still receiving the error. I resolved it by quitting X11.app and deleting my X11 preferences file located in /Users/Username/Library/Preferences/org.x.X11.plist . Once deleted, I started X11.app again, configured it to Allow connections from network clients and X2Go client worked again. I am currently running Mac OS X 10.6.3 although I am unsure which version I was running when I installed X2Go client and had it working initially. I hope this helps someone. -Brett snip Thanks for passing this tip along. I'll keep it on file - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Re: [X2go-dev] X2GO Ubuntu 10.10 on Linux and Mac clients d key
On Fri, 2010-10-15 at 10:25 -0400, Neil W. Hunt wrote: Hello, I am testing out X2go with Ubuntu 10.10. Everything works great and we are leaning towards rolling this out to our entire development organization if we can solve a few outstanding issues. Right now, the biggest one we're facing is that whenever I type 'd' it hides all open applications and shows my desktop. Every other key seems to work just fine, as does sessions suspend/resume, audio, performance, etc. but obviously this is still unusable to us with the 'd' key being unavailable. I have tested this on the Linux, Mac, and Windows X2go clients and this is only the behavior on the Linux and Mac clients, not on the Windows client - the 'd' key works fine on Windows x2go client. Any thoughts? FWIW, On Ubuntu 9.10 using x2go, I don't have this issue with Mac/Linux clients. However, we don't want to confine ourselves to 9.10 by choosing x2go. That's really weird. It sounds like the altctl is stuck. altctld is the magic key sequence to minimize all windows and expose the desktop. I have no idea why that would be a problem in 10.10 and not 9.10 - John ___ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev