From morgancoxuk at gmail.com Wed Feb 1 14:41:55 2012 From: morgancoxuk at gmail.com (Morgan Cox) Date: Wed, 1 Feb 2012 14:41:55 +0000 Subject: [winswitch] How to install winswitch on Opensuse ? Opensuse 12.1 has no python-utmp package (a dependency) Message-ID: Hi. I am trying to install Windowswitch on Opensuse 12.1 - It requires a dependency that doesn't exist - there is no 'python-utmp' package ... -------------------------------------------------------- rpm -ihv winswitch-0.12.9-1.x86_64.rpm warning: winswitch-0.12.9-1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID f18ad6bb: NOKEY error: Failed dependencies: python-utmp is needed by winswitch-0.12.9-1.x86_64 -------------------------------------------------------- How do I install the package ? Regards From stroller at stellar.eclipse.co.uk Wed Feb 1 14:57:09 2012 From: stroller at stellar.eclipse.co.uk (Stroller) Date: Wed, 1 Feb 2012 14:57:09 +0000 Subject: [winswitch] How to install winswitch on Opensuse ? Opensuse 12.1 has no python-utmp package (a dependency) In-Reply-To: References: Message-ID: On 1 February 2012, at 14:41, Morgan Cox wrote: > > I am trying to install Windowswitch on Opensuse 12.1 - It requires a > dependency that doesn't exist - there is no 'python-utmp' package ... > > -------------------------------------------------------- > rpm -ihv winswitch-0.12.9-1.x86_64.rpm > warning: winswitch-0.12.9-1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key > ID f18ad6bb: NOKEY > error: Failed dependencies: > python-utmp is needed by winswitch-0.12.9-1.x86_64 > -------------------------------------------------------- > > How do I install the package ? 3rd Google hit for "python-utmp opensuse": https://build.opensuse.org/package/show?package=python-utmp&project=devel%3Alanguages%3Apython Stroller. From antoine at nagafix.co.uk Wed Feb 1 15:17:08 2012 From: antoine at nagafix.co.uk (Antoine Martin) Date: Wed, 01 Feb 2012 22:17:08 +0700 Subject: [winswitch] How to install winswitch on Opensuse ? Opensuse 12.1 has no python-utmp package (a dependency) In-Reply-To: References: Message-ID: <4F295774.7060308@nagafix.co.uk> On 01/02/12 21:41, Morgan Cox wrote: > Hi. > > I am trying to install Windowswitch on Opensuse 12.1 - It requires a > dependency that doesn't exist - there is no 'python-utmp' package ... > > -------------------------------------------------------- > rpm -ihv winswitch-0.12.9-1.x86_64.rpm > warning: winswitch-0.12.9-1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key > ID f18ad6bb: NOKEY > error: Failed dependencies: > python-utmp is needed by winswitch-0.12.9-1.x86_64 > -------------------------------------------------------- > > How do I install the package ? I found this python-utmp package: http://rpm.pbone.net/index.php3?stat=26&dist=81&size=16803&name=python-utmp-0.7-4.1.x86_64.rpm Does that help? Cheers Antoine > > Regards > _______________________________________________ > shifter-users mailing list > shifter-users at lists.devloop.org.uk > http://lists.devloop.org.uk/mailman/listinfo/shifter-users From antoine at nagafix.co.uk Thu Feb 2 19:30:27 2012 From: antoine at nagafix.co.uk (Antoine Martin) Date: Fri, 03 Feb 2012 02:30:27 +0700 Subject: [winswitch] [ANNOUNCE] xpra 0.0.7.35 Message-ID: <4F2AE453.6020809@nagafix.co.uk> Hi, This is a minor bug fix release with only one significant fix: ssh password mode should be working again. As usual, the source can be found here: http://xpra.org/src/ And the binaries here: http://winswitch.org/downloads/ There is still no new winswitch release, this will come next so Windows and OSX users can get the updated Xpra build. Release details: * ssh password input fix * osx dock_menu fixed * ability to take screenshots ("xpra screenshot") * report server version ("xpra version") * slave windows (drop down menus, etc) now move with their parent window * show more session statistics: damage regions per second * posix clients no longer interfere with the GTK/X11 main loop * ignore missing properties when they are changed, and report correct source of the problem when one occurs * code style cleanups and improvements Cheers Antoine From antoine at nagafix.co.uk Thu Feb 9 19:43:53 2012 From: antoine at nagafix.co.uk (Antoine Martin) Date: Fri, 10 Feb 2012 02:43:53 +0700 Subject: [winswitch] [ANNOUNCE] xpra 0.0.7.36 Message-ID: <4F3421F9.8050800@nagafix.co.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, This is a minor bug fix release with only one significant fix finally allowing Java applications to run properly with the clipboard. As usual, the source can be found here: http://xpra.org/src/ And the binaries here: http://winswitch.org/downloads/ Release details: * fix clipboard bug which was causing Java applications to crash * ensure we always properly disconnect previous client when new connection is accepted * avoid warnings with Java applications, focus errors, etc Cheers Antoine -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk80IfgACgkQGK2zHPGK1ruV+ACdF/UV4QFMhZNNCDJ6UwxRmIjV yJwAn2fpgyZcAqWsG+5pf9cnRtcSPZVI =l4l4 -----END PGP SIGNATURE----- From antoine at nagafix.co.uk Thu Feb 9 19:43:58 2012 From: antoine at nagafix.co.uk (Antoine Martin) Date: Fri, 10 Feb 2012 02:43:58 +0700 Subject: [winswitch] [ANNOUNCE] winswitch 0.12.10 Message-ID: <4F3421FE.6020804@nagafix.co.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Version 0.12.10 is available now: http://winswitch.org/downloads/ It contains a number of important bug fixes (see below) and finally updates the Windows and OSX build to the latest Xpra (also released today) Cheers Antoine Full release notes: * fix laptop suspend bug: ensure we can always re-connect to a server * fix VNC/NX full desktop sessions start dialog * upgrade xpra sessions running older versions * grab existing xpra sessions started externally * don't bother running the idle check timer when the option is not enabled (or not available) * in window mode allow enter "enter" and "space" keys to be used to activate buttons in dialogs * MS Windows clients: disconnect xpra sessions cleanly and remove the system tray -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk80If4ACgkQGK2zHPGK1rvCPQCfRB7IMaFO6KaLJ+Q6WssOFpP9 L5kAniwi9JCLQxlR79JMWYH2QFPE4TUI =v4W7 -----END PGP SIGNATURE----- From antoine at nagafix.co.uk Tue Feb 14 18:03:40 2012 From: antoine at nagafix.co.uk (Antoine Martin) Date: Wed, 15 Feb 2012 01:03:40 +0700 Subject: [winswitch] [ANNOUNCE] winswitch 0.12.11 Message-ID: <4F3AA1FC.6060804@nagafix.co.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Version 0.12.11 is available now: http://winswitch.org/downloads/ It only contains 3 bug fixes since the last release a few days ago: * fix detection of local displays * avoid errors on disconnection * fix missing list of audio and video codecs (re-detect on start) Apologies for missing these bugs last time around. Cheers Antoine -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk86ofsACgkQGK2zHPGK1rvJgACfSOFJmoKWtC+QVqibsB/Eds5z oJwAn1s8nkomdrSXe3s8W3nHkeZNHEOL =iCbh -----END PGP SIGNATURE----- From antoine at nagafix.co.uk Tue Feb 14 20:21:44 2012 From: antoine at nagafix.co.uk (Antoine Martin) Date: Wed, 15 Feb 2012 03:21:44 +0700 Subject: [winswitch] xpra ssh port In-Reply-To: <4f3abd60.MtawdpfjlwDv7dyV%rdt@cs.queensu.ca> References: <4f3abd60.MtawdpfjlwDv7dyV%rdt@cs.queensu.ca> Message-ID: <4F3AC258.2050203@nagafix.co.uk> On 02/15/2012 03:00 AM, Bob Tennent wrote: > Hi. How do I attach to a remote host using a non-standard port (e.g., > 2202 instead of 22)? xpra --ssh="ssh -p 2202" ... Please ask on-list. Antoine From victorhooi at yahoo.com Wed Feb 22 03:02:30 2012 From: victorhooi at yahoo.com (Victor Hooi) Date: Wed, 22 Feb 2012 14:02:30 +1100 Subject: [winswitch] WinSwitch - Issues connecting via SSH? Message-ID: Hi, I'm having some issues using Winswitch and connecting via SSH to a remote Linux host. Firstly - is it possible to use a SSH private key that has a password? I can't seem to find any option to enter in a password for the key. The workaround is just to use a keyfile without a password, or to use username/password based authentication, but neither are as secure, of course. Secondly - is there any way to use SSH via a HTTP proxy? I dont' know if Conch has support for this. Finally, I've setup username/password based authentication, and I've also setup a SSH tunnel via Putty through which I'm connecting, however, I still can't seem to open a connection to the box. The server is a Ubuntu box, the client is Windows. The Winswich client is setup to connect to localhost/127.0.0.1 (I've tried using both) on port 29, which is then forwarded via Putty to port 22 on the remote Linux host. SSH tunneling and preload SSH tunnels are both set to on, in the WinSwitch client. I seem to be able to connect fine via that tunnel using other applications. This is my output in applet.log https://gist.github.com/1880255 Any thoughts? Cheers, Victor From victorhooi at yahoo.com Wed Feb 22 03:10:29 2012 From: victorhooi at yahoo.com (Victor Hooi) Date: Wed, 22 Feb 2012 14:10:29 +1100 Subject: [winswitch] WinSwitch - Issues connecting via SSH? In-Reply-To: References: Message-ID: heya, One other interesting thing - if I check the /var/log/auth.log file, I see lines: Failed keyboard-interactive/pam for from 127.0.0.1 port 38428 > ssh2 So it seems like WinSwitch is connecting fine via the Putty tunnel, but then seems to bomb out with the username/password part. However, if I connect via the tunnel using a SSH client, I can authenticate fine using username/password - so not sure what's happening? Cheers, Victor On Wed, Feb 22, 2012 at 14:02, Victor Hooi wrote: > Hi, > > I'm having some issues using Winswitch and connecting via SSH to a remote > Linux host. > > Firstly - is it possible to use a SSH private key that has a password? I > can't seem to find any option to enter in a password for the key. The > workaround is just to use a keyfile without a password, or to use > username/password based authentication, but neither are as secure, of > course. > > Secondly - is there any way to use SSH via a HTTP proxy? I dont' know if > Conch has support for this. > > Finally, I've setup username/password based authentication, and I've also > setup a SSH tunnel via Putty through which I'm connecting, however, I still > can't seem to open a connection to the box. > > The server is a Ubuntu box, the client is Windows. > > The Winswich client is setup to connect to localhost/127.0.0.1 (I've > tried using both) on port 29, which is then forwarded via Putty to port 22 > on the remote Linux host. > > SSH tunneling and preload SSH tunnels are both set to on, in the WinSwitch > client. > > I seem to be able to connect fine via that tunnel using other applications. > > This is my output in applet.log > > https://gist.github.com/1880255 > > Any thoughts? > > Cheers, > Victor > From antoine at nagafix.co.uk Wed Feb 22 09:37:42 2012 From: antoine at nagafix.co.uk (Antoine Martin) Date: Wed, 22 Feb 2012 16:37:42 +0700 Subject: [winswitch] WinSwitch - Issues connecting via SSH? In-Reply-To: References: Message-ID: <4F44B766.9080309@nagafix.co.uk> Hi, On 02/22/2012 10:02 AM, Victor Hooi wrote: > Hi, > > I'm having some issues using Winswitch and connecting via SSH to a remote > Linux host. > > Firstly - is it possible to use a SSH private key that has a password? I > can't seem to find any option to enter in a password for the key. The > workaround is just to use a keyfile without a password, or to use > username/password based authentication, but neither are as secure, of > course. Yes. It will use an ssh agent if one is running. If it isn't running or if it does not have the passphrase for that key, Winswitch will popup a dialog asking for the passphrase (the same dialog which may ask you for a password if you have no key defined) >From you log file, I see: ConchUserAuth.serviceStarted() agent_socket_filename=None Which tells me that Winswitch cannot find the ssh-agent's socket. This is what my environment looks like, yours should be similar for it to work: $ export | grep -i ssh_ declare -x SSH_AGENT_PID="1998" declare -x SSH_ASKPASS="/usr/libexec/openssh/gnome-ssh-askpass" declare -x SSH_AUTH_SOCK="/tmp/ssh-urTdcIsR1903/agent.1903" If this does not help, please let me know your full distribution version and environment so I can try to reproduce the problem. > Secondly - is there any way to use SSH via a HTTP proxy? I dont' know if > Conch has support for this. I don't think so. > Finally, I've setup username/password based authentication, and I've also > setup a SSH tunnel via Putty through which I'm connecting, however, I still > can't seem to open a connection to the box. > > The server is a Ubuntu box, the client is Windows. > > The Winswich client is setup to connect to localhost/127.0.0.1 (I've tried > using both) on port 29, which is then forwarded via Putty to port 22 on the > remote Linux host. I'm not sure exactly what you're trying to do by forwarding to port 22... That's the ssh port, if you are going to forward something over SSH by hand (rather than using the ssh tunnelling built-in to Winswitch) then you need to forward the winswitch server port and use a plain TCP connection to your local forwarded port (29 in your example). > SSH tunneling and preload SSH tunnels are both set to on, in the WinSwitch > client. If you aren't using the built-in tunnelling, this won't get used. Cheers Antoine > I seem to be able to connect fine via that tunnel using other applications. > > This is my output in applet.log > > https://gist.github.com/1880255 > > Any thoughts? > > Cheers, > Victor > _______________________________________________ > shifter-users mailing list > shifter-users at lists.devloop.org.uk > http://lists.devloop.org.uk/mailman/listinfo/shifter-users From antoine at nagafix.co.uk Wed Feb 22 10:02:20 2012 From: antoine at nagafix.co.uk (Antoine Martin) Date: Wed, 22 Feb 2012 17:02:20 +0700 Subject: [winswitch] WinSwitch - Issues connecting via SSH? In-Reply-To: <4F44B766.9080309@nagafix.co.uk> References: <4F44B766.9080309@nagafix.co.uk> Message-ID: <4F44BD2C.2030604@nagafix.co.uk> >> Firstly - is it possible to use a SSH private key that has a password? I >> can't seem to find any option to enter in a password for the key. The >> workaround is just to use a keyfile without a password, or to use >> username/password based authentication, but neither are as secure, of >> course. > Yes. > It will use an ssh agent if one is running. > If it isn't running or if it does not have the passphrase for that key, > Winswitch will popup a dialog asking for the passphrase (the same dialog > which may ask you for a password if you have no key defined) Until pagent is supported, this is your only option. > From you log file, I see: > ConchUserAuth.serviceStarted() agent_socket_filename=None > Which tells me that Winswitch cannot find the ssh-agent's socket. > This is what my environment looks like, yours should be similar for it > to work: > $ export | grep -i ssh_ > declare -x SSH_AGENT_PID="1998" > declare -x SSH_ASKPASS="/usr/libexec/openssh/gnome-ssh-askpass" > declare -x SSH_AUTH_SOCK="/tmp/ssh-urTdcIsR1903/agent.1903" Which is irrelevant on MS Windows... > If this does not help, please let me know your full distribution version > and environment so I can try to reproduce the problem. It just occurred to me that you are using the Windows client, which does not support putty's "pageant" authentication agent as it is... I can't seem to find information on what environment variables pageant sets and how we're supposed to talk to it. (no unix domain sockets on MS Windows.. and I don't think twisted-conch supports NamedPipes) So I've created a ticket for this feature: https://winswitch.org/trac/ticket/190 Cheers Antoine From victorhooi at yahoo.com Wed Feb 22 11:14:45 2012 From: victorhooi at yahoo.com (Victor Hooi) Date: Wed, 22 Feb 2012 22:14:45 +1100 Subject: [winswitch] WinSwitch - Issues connecting via SSH? In-Reply-To: <4F44BD2C.2030604@nagafix.co.uk> References: <4F44B766.9080309@nagafix.co.uk> <4F44BD2C.2030604@nagafix.co.uk> Message-ID: heya, Ok, so to confirm, my client is Windows 7 running Winswitch 0.12.11. The server I'm connecting to is running Ubuntu Server 11.10 (Oneiric Ocelot). I've installed Xorg, as well as nxproxy and nxagent from the X2Go PPA (https://launchpad.net/~x2go/+archive/stable/+packages). The reason I'm using Putty to setup a tunnel first, and connecting via that is because I can't SSH directly from client to server - I have to go via a HTTP proxy. However, WinSwitch doesn't have support for using a HTTP proxy and SSH, hence I have to connect using Putty, setup a tunnel, and then use WinSwitch through that. I've tested the Ptty tunnel with a SSH client, and it seems to work fine, so the tunnel certainly *seems* to be setup correctly. So the Windows WinSwitch client doesn't currently support Pageant's key agent, right? But there's a option in WinSwitch itself to select a SSH key - that should work right? And then when it tries to connect, it should prompt me for the password for that keyfile? When I tried using a keyfile, it didn't seem to do anything - no connection or error message. When I removed the keyfile and enabled password authentication, I got the following message in /var/log/auth.log on the server: Failed keyboard-interactive/pam for from 127.0.0.1 port 38428 > ssh2 So it's almost like WinSwitch is sending the wrong password or something to the server - although I'm confirmed that password works fine with an ordinary SSH client. Very weird. Is there anything else I can do to diagnose/narrow down the issue? Cheers, Victor On Wed, Feb 22, 2012 at 21:02, Antoine Martin wrote: > >> Firstly - is it possible to use a SSH private key that has a password? I > >> can't seem to find any option to enter in a password for the key. The > >> workaround is just to use a keyfile without a password, or to use > >> username/password based authentication, but neither are as secure, of > >> course. > > Yes. > > It will use an ssh agent if one is running. > > If it isn't running or if it does not have the passphrase for that key, > > Winswitch will popup a dialog asking for the passphrase (the same dialog > > which may ask you for a password if you have no key defined) > Until pagent is supported, this is your only option. > > > From you log file, I see: > > ConchUserAuth.serviceStarted() agent_socket_filename=None > > Which tells me that Winswitch cannot find the ssh-agent's socket. > > This is what my environment looks like, yours should be similar for it > > to work: > > $ export | grep -i ssh_ > > declare -x SSH_AGENT_PID="1998" > > declare -x SSH_ASKPASS="/usr/libexec/openssh/gnome-ssh-askpass" > > declare -x SSH_AUTH_SOCK="/tmp/ssh-urTdcIsR1903/agent.1903" > Which is irrelevant on MS Windows... > > > If this does not help, please let me know your full distribution version > > and environment so I can try to reproduce the problem. > It just occurred to me that you are using the Windows client, which does > not support putty's "pageant" authentication agent as it is... > > I can't seem to find information on what environment variables pageant > sets and how we're supposed to talk to it. (no unix domain sockets on MS > Windows.. and I don't think twisted-conch supports NamedPipes) > > So I've created a ticket for this feature: > https://winswitch.org/trac/ticket/190 > > Cheers > Antoine > _______________________________________________ > shifter-users mailing list > shifter-users at lists.devloop.org.uk > http://lists.devloop.org.uk/mailman/listinfo/shifter-users > From victorhooi at yahoo.com Wed Feb 22 11:23:52 2012 From: victorhooi at yahoo.com (Victor Hooi) Date: Wed, 22 Feb 2012 22:23:52 +1100 Subject: [winswitch] NX Unable to connect - can't load libXcomp.so.3.5.0? Message-ID: Hi, My server is Ubuntu 11.10. I've installed nxagent and nxproxy from the X2go PPA My client is OSX 10.7 (I still haven't figured out how to get my Windows box to connect). I can connect to the server fine, and I can run applications via XPRA. I then tried to use the NX protocol. When I try to use Start Application, nothing happens. When I try to use a full desktop session with NX, I get the error message: dyld: Library not loaded: libXcomp.so.3.5.0 > Referenced from: > /Applications/Window-witch.app/Contents/Resources/bin/nxproxy > Reason: image not found I did a search on the server for libXcomp, and it seems to be there: $locate libXco > /usr/lib/libXcomp.so.3 > /usr/lib/libXcomp.so.3.5.0 > /usr/lib/libXcompext.so.3 > /usr/lib/libXcompext.so.3.5.0 > /usr/lib/libXcompshad.so.3 > /usr/lib/libXcompshad.so.3.5.0 > /usr/lib/i386-linux-gnu/libXcomposite.so.1 > /usr/lib/i386-linux-gnu/libXcomposite.so.1.0.0 > /usr/lib/nx/libXcomp.so.3 > /usr/lib/nx/libXcomp.so.3.5.0 > /usr/lib/nx/libXcompext.so.3 > /usr/lib/nx/libXcompext.so.3.5.0 > /usr/lib/nx/libXcompshad.so.3 > /usr/lib/nx/libXcompshad.so.3.5.0 > /usr/lib/nx/X11/libXcomp.so > /usr/lib/nx/X11/libXcomp.so.1 Any thoughts? Cheers, Victor From antoine at nagafix.co.uk Wed Feb 22 16:16:15 2012 From: antoine at nagafix.co.uk (Antoine Martin) Date: Wed, 22 Feb 2012 23:16:15 +0700 Subject: [winswitch] WinSwitch - Issues connecting via SSH? In-Reply-To: <4F44BD2C.2030604@nagafix.co.uk> References: <4F44B766.9080309@nagafix.co.uk> <4F44BD2C.2030604@nagafix.co.uk> Message-ID: <4F4514CF.1010106@nagafix.co.uk> On 02/22/2012 05:02 PM, Antoine Martin wrote: >>> Firstly - is it possible to use a SSH private key that has a password? I >>> can't seem to find any option to enter in a password for the key. The >>> workaround is just to use a keyfile without a password, or to use >>> username/password based authentication, but neither are as secure, of >>> course. >> Yes. >> It will use an ssh agent if one is running. >> If it isn't running or if it does not have the passphrase for that key, >> Winswitch will popup a dialog asking for the passphrase (the same dialog >> which may ask you for a password if you have no key defined) > Until pagent is supported, this is your only option. And unfortunately that does not always work either... I've just found that there is a problem which prevents Twisted-conch from loading certain private key files.. Here is the upstream bug I have created: http://twistedmatrix.com/trac/ticket/5496 Until that is fixed, Winswitch cannot use your private key if it has a passphrase. That, plus the fact that pageant does not seem usable outside putty leaves us with very few options at present :( Antoine From antoine at nagafix.co.uk Wed Feb 22 16:47:06 2012 From: antoine at nagafix.co.uk (Antoine Martin) Date: Wed, 22 Feb 2012 23:47:06 +0700 Subject: [winswitch] WinSwitch - Issues connecting via SSH? In-Reply-To: References: <4F44B766.9080309@nagafix.co.uk> <4F44BD2C.2030604@nagafix.co.uk> Message-ID: <4F451C0A.9080604@nagafix.co.uk> (snip) > The reason I'm using Putty to setup a tunnel first, and connecting via > that is because I can't SSH directly from client to server - I have to > go via a HTTP proxy. However, WinSwitch doesn't have support for using a > HTTP proxy and SSH, hence I have to connect using Putty, setup a tunnel, > and then use WinSwitch through that. Hah, OK, I understand. > I've tested the Ptty tunnel with a SSH client, and it seems to work > fine, so the tunnel certainly *seems* to be setup correctly. > > > So the Windows WinSwitch client doesn't currently support Pageant's key > agent, right? No, and by the looks of things, it may never do. (Pageant's fault) > But there's a option in WinSwitch itself to select a SSH > key - that should work right? As per separate email reply, you may be hitting a Python-Twisted bug... > And then when it tries to connect, it > should prompt me for the password for that keyfile? It does here (tested on both Linux and Windows), the problem is that the Twisted bug prevents it from loading the keyfile afterwards... So it keeps asking me for the passphrase again and again.. > When I tried using a keyfile, it didn't seem to do anything - no > connection or error message. That's odd, not what I am seeing here... What format are they in? Can you possibly reproduce this with a brand new keypair? One you could send me for testing? The only thing I can think of is that the conch code tests the public key and decides that it can't be used for authentication against the server so it doesn't bother asking you for the passphrase. (at least that's what it does if I use the wrong key here) > When I removed the keyfile and enabled password authentication, I got > the following message in /var/log/auth.log on the server: > > Failed keyboard-interactive/pam for from 127.0.0.1 port > 38428 ssh2 You should have got prompted for a password if you did not specify one, the dialog also has an option to save the password. You can also specify this password in the server's "Connection" configuration dialog. I test this regularly and I've just tested it again, worked fine. > So it's almost like WinSwitch is sending the wrong password or something > to the server - although I'm confirmed that password works fine with an > ordinary SSH client. Very weird. Indeed. Can you try both options? (password prompt and "Connection" dialog) > Is there anything else I can do to diagnose/narrow down the issue? You've provided plenty of details, we should be able to get somewhere! Cheers Antoine > > Cheers, > Victor > > On Wed, Feb 22, 2012 at 21:02, Antoine Martin > wrote: > > >> Firstly - is it possible to use a SSH private key that has a > password? I > >> can't seem to find any option to enter in a password for the key. The > >> workaround is just to use a keyfile without a password, or to use > >> username/password based authentication, but neither are as secure, of > >> course. > > Yes. > > It will use an ssh agent if one is running. > > If it isn't running or if it does not have the passphrase for that > key, > > Winswitch will popup a dialog asking for the passphrase (the same > dialog > > which may ask you for a password if you have no key defined) > Until pagent is supported, this is your only option. > > > From you log file, I see: > > ConchUserAuth.serviceStarted() agent_socket_filename=None > > Which tells me that Winswitch cannot find the ssh-agent's socket. > > This is what my environment looks like, yours should be similar for it > > to work: > > $ export | grep -i ssh_ > > declare -x SSH_AGENT_PID="1998" > > declare -x SSH_ASKPASS="/usr/libexec/openssh/gnome-ssh-askpass" > > declare -x SSH_AUTH_SOCK="/tmp/ssh-urTdcIsR1903/agent.1903" > Which is irrelevant on MS Windows... > > > If this does not help, please let me know your full distribution > version > > and environment so I can try to reproduce the problem. > It just occurred to me that you are using the Windows client, which does > not support putty's "pageant" authentication agent as it is... > > I can't seem to find information on what environment variables pageant > sets and how we're supposed to talk to it. (no unix domain sockets on MS > Windows.. and I don't think twisted-conch supports NamedPipes) > > So I've created a ticket for this feature: > https://winswitch.org/trac/ticket/190 > > Cheers > Antoine > _______________________________________________ > shifter-users mailing list > shifter-users at lists.devloop.org.uk > > http://lists.devloop.org.uk/mailman/listinfo/shifter-users > > From antoine at nagafix.co.uk Wed Feb 22 20:59:13 2012 From: antoine at nagafix.co.uk (Antoine Martin) Date: Thu, 23 Feb 2012 03:59:13 +0700 Subject: [winswitch] NX Unable to connect - can't load libXcomp.so.3.5.0? In-Reply-To: References: Message-ID: <4F455721.9010405@nagafix.co.uk> (snip) > When I try to use a full desktop session with NX, I get the error message: > > dyld: Library not loaded: libXcomp.so.3.5.0 >> Referenced from: >> /Applications/Window-witch.app/Contents/Resources/bin/nxproxy >> Reason: image not found oops, fixed in: http://winswitch.org/trac/changeset/4797 (will be in the next release) Looks like there are enough bugs fixed in trunk to make a new release fairly soon. Thanks! Antoine From rdtennent at gmail.com Sat Feb 25 19:53:12 2012 From: rdtennent at gmail.com (Bob Tennent) Date: Sat, 25 Feb 2012 14:53:12 -0500 Subject: [winswitch] DISPLAY Message-ID: <4f493c28.DgprF6mLW0g3pB2K%rdtennent@gmail.com> How can I arrange that DISPLAY is set properly whenever I ssh remotely to a particular system? The documentation for ssh and sshd actively discourage explicit setting of DISPLAY and apparently don't provide any options to do so. Bob T. From rdtennent at gmail.com Sun Feb 26 22:19:07 2012 From: rdtennent at gmail.com (Bob Tennent) Date: Sun, 26 Feb 2012 17:19:07 -0500 Subject: [winswitch] xpra (client) on Centos 5.7 Message-ID: <4f4aafdb.VKNdKPUj+JT+eGF8%rdtennent@gmail.com> This is what I get when I try to attach: xpra attach ssh::100 Traceback (most recent call last): File "/usr/bin/xpra", line 6, in ? xpra.scripts.main.main(__file__, sys.argv) File "/usr/lib/python2.4/site-packages/xpra/scripts/main.py", line 232, in main run_client(parser, options, args, mode) File "/usr/lib/python2.4/site-packages/xpra/scripts/main.py", line 367, in run_client from xpra.client import XpraClient File "/usr/lib/python2.4/site-packages/xpra/client.py", line 23, in ? from xpra.client_base import XpraClientBase File "/usr/lib/python2.4/site-packages/xpra/client_base.py", line 7, in ? import glib ImportError: No module named glib AFAIK I've installed everything necessary: gcc-4.1.2-51.el5 python-devel-2.4.3-44.el5_7.1 libXtst-devel-1.0.1-3.1 libXdamage-devel-1.0.3-2.1 gtk2-devel-2.10.4-21.el5_7.7 pygtk2-devel-2.10.1-12.el5 pygobject2-devel-2.12.1-5.el5 Cython-0.14.1-3.el5 xorg-x11-server-Xvfb-1.1.1-48.76.el5_7.5 xorg-x11-xauth-1.0.1-2.1 xorg-x11-xkb-utils-1.0.2-2.1 Bob T. From winswitch at 1kenthomas.com Sun Feb 26 23:57:20 2012 From: winswitch at 1kenthomas.com (Kenneth Thomas) Date: Sun, 26 Feb 2012 17:57:20 -0600 Subject: [winswitch] xpra for iOS? Message-ID: Howdy all, I'm trying to compile xpra on iOS and running into dependency walls. Has anyone done this before? Sorry if this is in the archives-- they don't seem searchable. ~1KT From antoine at nagafix.co.uk Mon Feb 27 07:09:23 2012 From: antoine at nagafix.co.uk (Antoine Martin) Date: Mon, 27 Feb 2012 14:09:23 +0700 Subject: [winswitch] xpra (client) on Centos 5.7 In-Reply-To: <4f4aafdb.VKNdKPUj+JT+eGF8%rdtennent@gmail.com> References: <4f4aafdb.VKNdKPUj+JT+eGF8%rdtennent@gmail.com> Message-ID: <4F4B2C23.8020805@nagafix.co.uk> On 02/27/2012 05:19 AM, Bob Tennent wrote: > This is what I get when I try to attach: > > xpra attach ssh::100 > Traceback (most recent call last): > File "/usr/bin/xpra", line 6, in ? > xpra.scripts.main.main(__file__, sys.argv) > File "/usr/lib/python2.4/site-packages/xpra/scripts/main.py", line 232, in main > run_client(parser, options, args, mode) > File "/usr/lib/python2.4/site-packages/xpra/scripts/main.py", line 367, in run_client > from xpra.client import XpraClient > File "/usr/lib/python2.4/site-packages/xpra/client.py", line 23, in ? > from xpra.client_base import XpraClientBase > File "/usr/lib/python2.4/site-packages/xpra/client_base.py", line 7, in ? > import glib > ImportError: No module named glib > > AFAIK I've installed everything necessary: > > gcc-4.1.2-51.el5 > python-devel-2.4.3-44.el5_7.1 > libXtst-devel-1.0.1-3.1 > libXdamage-devel-1.0.3-2.1 > gtk2-devel-2.10.4-21.el5_7.7 > pygtk2-devel-2.10.1-12.el5 > pygobject2-devel-2.12.1-5.el5 > Cython-0.14.1-3.el5 > xorg-x11-server-Xvfb-1.1.1-48.76.el5_7.5 > xorg-x11-xauth-1.0.1-2.1 > xorg-x11-xkb-utils-1.0.2-2.1 Sorry about that, I forgot to add this new dependency to the RPM specfile: dbus-python. For those using OpenSuSE, it is called dbus-1-python. The next release will have updated dependencies. Also, svn trunk has made this dependency mostly optional: https://xpra.org/trac/changeset/544 Antoine > > Bob T. > > _______________________________________________ > shifter-users mailing list > shifter-users at lists.devloop.org.uk > http://lists.devloop.org.uk/mailman/listinfo/shifter-users From antoine at nagafix.co.uk Mon Feb 27 07:11:21 2012 From: antoine at nagafix.co.uk (Antoine Martin) Date: Mon, 27 Feb 2012 14:11:21 +0700 Subject: [winswitch] xpra for iOS? In-Reply-To: References: Message-ID: <4F4B2C99.1090303@nagafix.co.uk> On 02/27/2012 06:57 AM, Kenneth Thomas wrote: > Howdy all, > > I'm trying to compile xpra on iOS and running into dependency walls. Any details? > Has anyone done this before? I don't think so. > Sorry if this is in the archives-- No worries, it's not. > they don't seem searchable. https://www.google.com/?q=site:lists.devloop.org.uk Or: http://search.gmane.org/ Antoine > > ~1KT > _______________________________________________ > shifter-users mailing list > shifter-users at lists.devloop.org.uk > http://lists.devloop.org.uk/mailman/listinfo/shifter-users From rdtennent at gmail.com Mon Feb 27 13:06:45 2012 From: rdtennent at gmail.com (Bob Tennent) Date: Mon, 27 Feb 2012 08:06:45 -0500 Subject: [winswitch] xpra (client) on Centos 5.7 In-Reply-To: <4F4B2C23.8020805@nagafix.co.uk> References: <4f4aafdb.VKNdKPUj+JT+eGF8%rdtennent@gmail.com> <4F4B2C23.8020805@nagafix.co.uk> Message-ID: <4f4b7fe5.cpbN29XJCC2zDHiY%rdtennent@gmail.com> >|> import glib >|> ImportError: No module named glib >|> >|> AFAIK I've installed everything necessary: >|> >|> gcc-4.1.2-51.el5 >|> python-devel-2.4.3-44.el5_7.1 >|> libXtst-devel-1.0.1-3.1 >|> libXdamage-devel-1.0.3-2.1 >|> gtk2-devel-2.10.4-21.el5_7.7 >|> pygtk2-devel-2.10.1-12.el5 >|> pygobject2-devel-2.12.1-5.el5 >|> Cython-0.14.1-3.el5 >|> xorg-x11-server-Xvfb-1.1.1-48.76.el5_7.5 >|> xorg-x11-xauth-1.0.1-2.1 >|> xorg-x11-xkb-utils-1.0.2-2.1 >|Sorry about that, I forgot to add this new dependency to the RPM >|specfile: dbus-python. % rpm -q dbus-python dbus-python-0.70-9.el5_4 % rpm -ql dbus-python | grep glib.py /usr/lib/python2.4/site-packages/dbus/glib.py /usr/lib/python2.4/site-packages/dbus/glib.pyc /usr/lib/python2.4/site-packages/dbus/glib.pyo Do I need a more recent version? Bob T. From antoine at nagafix.co.uk Mon Feb 27 13:36:51 2012 From: antoine at nagafix.co.uk (Antoine Martin) Date: Mon, 27 Feb 2012 20:36:51 +0700 Subject: [winswitch] xpra (client) on Centos 5.7 In-Reply-To: <4f4b7fe5.cpbN29XJCC2zDHiY%rdtennent@gmail.com> References: <4f4aafdb.VKNdKPUj+JT+eGF8%rdtennent@gmail.com> <4F4B2C23.8020805@nagafix.co.uk> <4f4b7fe5.cpbN29XJCC2zDHiY%rdtennent@gmail.com> Message-ID: <4F4B86F3.3020707@nagafix.co.uk> On 02/27/2012 08:06 PM, Bob Tennent wrote: > >|> import glib > >|> ImportError: No module named glib > >|> > >|> AFAIK I've installed everything necessary: > >|> > >|> gcc-4.1.2-51.el5 > >|> python-devel-2.4.3-44.el5_7.1 > >|> libXtst-devel-1.0.1-3.1 > >|> libXdamage-devel-1.0.3-2.1 > >|> gtk2-devel-2.10.4-21.el5_7.7 > >|> pygtk2-devel-2.10.1-12.el5 > >|> pygobject2-devel-2.12.1-5.el5 > >|> Cython-0.14.1-3.el5 > >|> xorg-x11-server-Xvfb-1.1.1-48.76.el5_7.5 > >|> xorg-x11-xauth-1.0.1-2.1 > >|> xorg-x11-xkb-utils-1.0.2-2.1 > > >|Sorry about that, I forgot to add this new dependency to the RPM > >|specfile: dbus-python. > > % rpm -q dbus-python > dbus-python-0.70-9.el5_4 > > % rpm -ql dbus-python | grep glib.py > /usr/lib/python2.4/site-packages/dbus/glib.py > /usr/lib/python2.4/site-packages/dbus/glib.pyc > /usr/lib/python2.4/site-packages/dbus/glib.pyo > > Do I need a more recent version? Sorry, my bad, what you need is pygobject2, which includes the python glib bindings and not just dbus-glib. Antoine > > Bob T. From rdtennent at gmail.com Mon Feb 27 13:45:45 2012 From: rdtennent at gmail.com (Bob Tennent) Date: Mon, 27 Feb 2012 08:45:45 -0500 Subject: [winswitch] xpra (client) on Centos 5.7 In-Reply-To: <4F4B86F3.3020707@nagafix.co.uk> References: <4f4aafdb.VKNdKPUj+JT+eGF8%rdtennent@gmail.com> <4F4B2C23.8020805@nagafix.co.uk> <4f4b7fe5.cpbN29XJCC2zDHiY%rdtennent@gmail.com> <4F4B86F3.3020707@nagafix.co.uk> Message-ID: <4f4b8909.yfHPPFQorS0IQIRR%rdtennent@gmail.com> >|> >|> import glib >|> >|> ImportError: No module named glib >|> >|> >|> >|> AFAIK I've installed everything necessary: >|> >|> >|> >|> gcc-4.1.2-51.el5 >|> >|> python-devel-2.4.3-44.el5_7.1 >|> >|> libXtst-devel-1.0.1-3.1 >|> >|> libXdamage-devel-1.0.3-2.1 >|> >|> gtk2-devel-2.10.4-21.el5_7.7 >|> >|> pygtk2-devel-2.10.1-12.el5 >|> >|> pygobject2-devel-2.12.1-5.el5 >|> >|> Cython-0.14.1-3.el5 >|> >|> xorg-x11-server-Xvfb-1.1.1-48.76.el5_7.5 >|> >|> xorg-x11-xauth-1.0.1-2.1 >|> >|> xorg-x11-xkb-utils-1.0.2-2.1 >|> >|> >|Sorry about that, I forgot to add this new dependency to the RPM >|> >|specfile: dbus-python. >|> >|> % rpm -q dbus-python >|> dbus-python-0.70-9.el5_4 >|> >|> % rpm -ql dbus-python | grep glib.py >|> /usr/lib/python2.4/site-packages/dbus/glib.py >|> /usr/lib/python2.4/site-packages/dbus/glib.pyc >|> /usr/lib/python2.4/site-packages/dbus/glib.pyo >|> >|Sorry, my bad, what you need is pygobject2, which includes the python >|glib bindings and not just dbus-glib. % rpm -q pygobject2 pygobject2-devel pygobject2-2.12.1-5.el5 pygobject2-devel-2.12.1-5.el5 Bob T. From antoine at nagafix.co.uk Mon Feb 27 16:39:08 2012 From: antoine at nagafix.co.uk (Antoine Martin) Date: Mon, 27 Feb 2012 23:39:08 +0700 Subject: [winswitch] xpra (client) on Centos 5.7 In-Reply-To: <4f4b8909.yfHPPFQorS0IQIRR%rdtennent@gmail.com> References: <4f4aafdb.VKNdKPUj+JT+eGF8%rdtennent@gmail.com> <4F4B2C23.8020805@nagafix.co.uk> <4f4b7fe5.cpbN29XJCC2zDHiY%rdtennent@gmail.com> <4F4B86F3.3020707@nagafix.co.uk> <4f4b8909.yfHPPFQorS0IQIRR%rdtennent@gmail.com> Message-ID: <4F4BB1AC.1070502@nagafix.co.uk> On 02/27/2012 08:45 PM, Bob Tennent wrote: > >|> >|> import glib > >|> >|> ImportError: No module named glib > >|> >|> > >|> >|> AFAIK I've installed everything necessary: > >|> >|> > >|> >|> gcc-4.1.2-51.el5 > >|> >|> python-devel-2.4.3-44.el5_7.1 > >|> >|> libXtst-devel-1.0.1-3.1 > >|> >|> libXdamage-devel-1.0.3-2.1 > >|> >|> gtk2-devel-2.10.4-21.el5_7.7 > >|> >|> pygtk2-devel-2.10.1-12.el5 > >|> >|> pygobject2-devel-2.12.1-5.el5 > >|> >|> Cython-0.14.1-3.el5 > >|> >|> xorg-x11-server-Xvfb-1.1.1-48.76.el5_7.5 > >|> >|> xorg-x11-xauth-1.0.1-2.1 > >|> >|> xorg-x11-xkb-utils-1.0.2-2.1 > >|> > >|> >|Sorry about that, I forgot to add this new dependency to the RPM > >|> >|specfile: dbus-python. > >|> > >|> % rpm -q dbus-python > >|> dbus-python-0.70-9.el5_4 > >|> > >|> % rpm -ql dbus-python | grep glib.py > >|> /usr/lib/python2.4/site-packages/dbus/glib.py > >|> /usr/lib/python2.4/site-packages/dbus/glib.pyc > >|> /usr/lib/python2.4/site-packages/dbus/glib.pyo > >|> > >|Sorry, my bad, what you need is pygobject2, which includes the python > >|glib bindings and not just dbus-glib. > > % rpm -q pygobject2 pygobject2-devel > pygobject2-2.12.1-5.el5 > pygobject2-devel-2.12.1-5.el5 Grrr, it is in pygobject2 for CentOS6.x: http://rpm.pbone.net/index.php3/stat/6/idpl/17475339/dir/centos_6/com/pygobject2-2.20.0-5.el6.i686.rpm but I simply cannot find where it lives on CentOS5.x, maybe nowhere? So until someone figures that out, all I can suggest is that you build from source using the v0.0.7.x branch: svn co https://xpra.org/svn/Xpra/tags/v0.0.7.x/ Or grab one of the beta packages I've just built from the 0.1.x branch: https://winswitch.org/beta/ Note: the in-the-works 0.1.0 release will drop support for old buggy versions of pygtk, this includes the one in CentOS 5.x, so soon would be a good time to upgrade.. Cheers Antoine > Bob T. From rdtennent at gmail.com Mon Feb 27 17:08:56 2012 From: rdtennent at gmail.com (Bob Tennent) Date: Mon, 27 Feb 2012 12:08:56 -0500 Subject: [winswitch] xpra (client) on Centos 5.7 In-Reply-To: <4F4BB1AC.1070502@nagafix.co.uk> References: <4f4aafdb.VKNdKPUj+JT+eGF8%rdtennent@gmail.com> <4F4B2C23.8020805@nagafix.co.uk> <4f4b7fe5.cpbN29XJCC2zDHiY%rdtennent@gmail.com> <4F4B86F3.3020707@nagafix.co.uk> <4f4b8909.yfHPPFQorS0IQIRR%rdtennent@gmail.com> <4F4BB1AC.1070502@nagafix.co.uk> Message-ID: <4f4bb8a8.87geddiJk1viQS8x%rdtennent@gmail.com> >|Or grab one of the beta packages I've just built from the 0.1.x branch: >|https://winswitch.org/beta/ >| >|Note: the in-the-works 0.1.0 release will drop support for old buggy >|versions of pygtk, this includes the one in CentOS 5.x, so soon would be >|a good time to upgrade.. xpra-0.1.0-1.i386.rpm for centos5.7 installs OK but % xpra attach ssh::100 Traceback (most recent call last): File "/usr/bin/xpra", line 6, in ? xpra.scripts.main.main(__file__, sys.argv) File "/usr/lib/python2.4/site-packages/xpra/scripts/main.py", line 229, in main run_client(parser, options, args, mode) File "/usr/lib/python2.4/site-packages/xpra/scripts/main.py", line 365, in run_client app = XpraClient(conn, opts) File "/usr/lib/python2.4/site-packages/xpra/client.py", line 414, in __init__ self.pixel_counter = deque(maxlen=100) TypeError: deque() does not take keyword arguments From antoine at nagafix.co.uk Mon Feb 27 17:22:05 2012 From: antoine at nagafix.co.uk (Antoine Martin) Date: Tue, 28 Feb 2012 00:22:05 +0700 Subject: [winswitch] xpra (client) on Centos 5.7 In-Reply-To: <4f4bb8a8.87geddiJk1viQS8x%rdtennent@gmail.com> References: <4f4aafdb.VKNdKPUj+JT+eGF8%rdtennent@gmail.com> <4F4B2C23.8020805@nagafix.co.uk> <4f4b7fe5.cpbN29XJCC2zDHiY%rdtennent@gmail.com> <4F4B86F3.3020707@nagafix.co.uk> <4f4b8909.yfHPPFQorS0IQIRR%rdtennent@gmail.com> <4F4BB1AC.1070502@nagafix.co.uk> <4f4bb8a8.87geddiJk1viQS8x%rdtennent@gmail.com> Message-ID: <4F4BBBBD.7040407@nagafix.co.uk> On 02/28/2012 12:08 AM, Bob Tennent wrote: > >|Or grab one of the beta packages I've just built from the 0.1.x branch: > >|https://winswitch.org/beta/ > >| > >|Note: the in-the-works 0.1.0 release will drop support for old buggy > >|versions of pygtk, this includes the one in CentOS 5.x, so soon would be > >|a good time to upgrade.. > > xpra-0.1.0-1.i386.rpm for centos5.7 installs OK but > > % xpra attach ssh::100 > Traceback (most recent call last): > File "/usr/bin/xpra", line 6, in ? > xpra.scripts.main.main(__file__, sys.argv) > File "/usr/lib/python2.4/site-packages/xpra/scripts/main.py", line 229, in main > run_client(parser, options, args, mode) > File "/usr/lib/python2.4/site-packages/xpra/scripts/main.py", line 365, in run_client > app = XpraClient(conn, opts) > File "/usr/lib/python2.4/site-packages/xpra/client.py", line 414, in __init__ > self.pixel_counter = deque(maxlen=100) > TypeError: deque() does not take keyword arguments > Sigh... sorry not had time to test so you ended up being the guinea pig! http://docs.python.org/library/collections.html#collections.deque This is a python2.6 feature and I'm not sure how to make it all work with older versions of python without adding complexity to the code. And since the current code drops a number of workarounds for older versions of libraries, maybe now is a good time to say goodbye to python2.5... Sorry I can't be more helpful than this but I am trying to clean up the code so spending my time introducing workarounds for outdated binaries doesn't really fit :/ Antoine From rdtennent at gmail.com Mon Feb 27 17:22:44 2012 From: rdtennent at gmail.com (Bob Tennent) Date: Mon, 27 Feb 2012 12:22:44 -0500 Subject: [winswitch] xpra (client) on Centos 5.7 In-Reply-To: <4F4BB1AC.1070502@nagafix.co.uk> References: <4f4aafdb.VKNdKPUj+JT+eGF8%rdtennent@gmail.com> <4F4B2C23.8020805@nagafix.co.uk> <4f4b7fe5.cpbN29XJCC2zDHiY%rdtennent@gmail.com> <4F4B86F3.3020707@nagafix.co.uk> <4f4b8909.yfHPPFQorS0IQIRR%rdtennent@gmail.com> <4F4BB1AC.1070502@nagafix.co.uk> Message-ID: <4f4bbbe4.L+8agFJ1WXEXbDbU%rdtennent@gmail.com> >|So until someone figures that out, all I can suggest is that you build >|from source using the v0.0.7.x branch: >|svn co https://xpra.org/svn/Xpra/tags/v0.0.7.x/ The same result as the xpra-0.1.0-1 rpm. Bob From rdtennent at gmail.com Mon Feb 27 17:40:25 2012 From: rdtennent at gmail.com (Bob Tennent) Date: Mon, 27 Feb 2012 12:40:25 -0500 Subject: [winswitch] xpra (client) on Centos 5.7 In-Reply-To: <4F4BBBBD.7040407@nagafix.co.uk> References: <4f4aafdb.VKNdKPUj+JT+eGF8%rdtennent@gmail.com> <4F4B2C23.8020805@nagafix.co.uk> <4f4b7fe5.cpbN29XJCC2zDHiY%rdtennent@gmail.com> <4F4B86F3.3020707@nagafix.co.uk> <4f4b8909.yfHPPFQorS0IQIRR%rdtennent@gmail.com> <4F4BB1AC.1070502@nagafix.co.uk> <4f4bb8a8.87geddiJk1viQS8x%rdtennent@gmail.com> <4F4BBBBD.7040407@nagafix.co.uk> Message-ID: <4f4bc009.4LMGDCbC+D0s1aTO%rdtennent@gmail.com> >|> >|Note: the in-the-works 0.1.0 release will drop support for old buggy >|> >|versions of pygtk, this includes the one in CentOS 5.x, so soon >|would be >|> >|a good time to upgrade.. >|> >|Sigh... sorry not had time to test so you ended up being the guinea pig! >| >|http://docs.python.org/library/collections.html#collections.deque >|This is a python2.6 feature and I'm not sure how to make it all work >|with older versions of python without adding complexity to the code. >| >|And since the current code drops a number of workarounds for older >|versions of libraries, maybe now is a good time to say goodbye to >|python2.5... >| >|Sorry I can't be more helpful than this but I am trying to clean up the >|code so spending my time introducing workarounds for outdated binaries >|doesn't really fit :/ OK, thanks. I guess by "a good time to upgrade" you meant Centos; not really feasible for some systems. Maybe it would help to separate the client into a separate package. Bob T. From antoine at nagafix.co.uk Mon Feb 27 20:01:03 2012 From: antoine at nagafix.co.uk (Antoine Martin) Date: Tue, 28 Feb 2012 03:01:03 +0700 Subject: [winswitch] xpra (client) on Centos 5.7 In-Reply-To: <4f4bc009.4LMGDCbC+D0s1aTO%rdtennent@gmail.com> References: <4f4aafdb.VKNdKPUj+JT+eGF8%rdtennent@gmail.com> <4F4B2C23.8020805@nagafix.co.uk> <4f4b7fe5.cpbN29XJCC2zDHiY%rdtennent@gmail.com> <4F4B86F3.3020707@nagafix.co.uk> <4f4b8909.yfHPPFQorS0IQIRR%rdtennent@gmail.com> <4F4BB1AC.1070502@nagafix.co.uk> <4f4bb8a8.87geddiJk1viQS8x%rdtennent@gmail.com> <4F4BBBBD.7040407@nagafix.co.uk> <4f4bc009.4LMGDCbC+D0s1aTO%rdtennent@gmail.com> Message-ID: <4F4BE0FF.3030009@nagafix.co.uk> On 02/28/2012 12:40 AM, Bob Tennent wrote: > >|> >|Note: the in-the-works 0.1.0 release will drop support for old buggy > >|> >|versions of pygtk, this includes the one in CentOS 5.x, so soon > >|would be > >|> >|a good time to upgrade.. > >|> > >|Sigh... sorry not had time to test so you ended up being the guinea pig! > >| > >|http://docs.python.org/library/collections.html#collections.deque > >|This is a python2.6 feature and I'm not sure how to make it all work > >|with older versions of python without adding complexity to the code. > >| > >|And since the current code drops a number of workarounds for older > >|versions of libraries, maybe now is a good time to say goodbye to > >|python2.5... > >| > >|Sorry I can't be more helpful than this but I am trying to clean up the > >|code so spending my time introducing workarounds for outdated binaries > >|doesn't really fit :/ > > OK, thanks. I guess by "a good time to upgrade" you meant Centos; Yes.. > not really feasible for some systems. I know.. hence: > Maybe it would help to separate the client into a separate package. That wouldn't have helped, the code that uses python2.6 was both in the client and server. However... I've just committed a workaround which allows python2.5 to be used again: https://xpra.org/trac/changeset/553 Then a bunch of other fixes for CentOS's completely outdated version of (Py)GTK in r554 to r558 Note: don't use CentOS as an Xpra server. The updated beta packages are here: https://xpra.org/beta/ And I've now actually tested that it runs OK on CentOS 5.x Enjoy! Antoine > > Bob T. From antoine at nagafix.co.uk Mon Feb 27 20:11:16 2012 From: antoine at nagafix.co.uk (Antoine Martin) Date: Tue, 28 Feb 2012 03:11:16 +0700 Subject: [winswitch] DISPLAY In-Reply-To: <4f493c28.DgprF6mLW0g3pB2K%rdtennent@gmail.com> References: <4f493c28.DgprF6mLW0g3pB2K%rdtennent@gmail.com> Message-ID: <4F4BE364.5080807@nagafix.co.uk> On 02/26/2012 02:53 AM, Bob Tennent wrote: > How can I arrange that DISPLAY is set properly whenever I ssh remotely > to a particular system? The documentation for ssh and sshd actively > discourage explicit setting of DISPLAY and apparently don't provide > any options to do so. I don't understand what you are trying to do by setting the DISPLAY? Is this to start an application on a given Xpra display? If so, this has nothing to do with ssh and cannot be avoided. Cheers Antoine > > Bob T. > _______________________________________________ > shifter-users mailing list > shifter-users at lists.devloop.org.uk > http://lists.devloop.org.uk/mailman/listinfo/shifter-users From rdtennent at gmail.com Mon Feb 27 22:22:58 2012 From: rdtennent at gmail.com (Bob Tennent) Date: Mon, 27 Feb 2012 17:22:58 -0500 Subject: [winswitch] DISPLAY In-Reply-To: <4F4BE364.5080807@nagafix.co.uk> References: <4f493c28.DgprF6mLW0g3pB2K%rdtennent@gmail.com> <4F4BE364.5080807@nagafix.co.uk> Message-ID: <4f4c0242.yP0aHGc6b40Wo+CH%rdtennent@gmail.com> >|> How can I arrange that DISPLAY is set properly whenever I ssh remotely >|> to a particular system? The documentation for ssh and sshd actively >|> discourage explicit setting of DISPLAY and apparently don't provide >|> any options to do so. >|I don't understand what you are trying to do by setting the DISPLAY? >|Is this to start an application on a given Xpra display? >|If so, this has nothing to do with ssh and cannot be avoided. I was hoping to be able to "hide" DISPLAY=:100 in a config file or in a scriptable option. But if it can't be avoided ... Bob T. From timo.lindfors at iki.fi Mon Feb 27 22:33:34 2012 From: timo.lindfors at iki.fi (Timo Juhani Lindfors) Date: Tue, 28 Feb 2012 00:33:34 +0200 Subject: [winswitch] DISPLAY In-Reply-To: <4f4c0242.yP0aHGc6b40Wo+CH%rdtennent@gmail.com> (Bob Tennent's message of "Mon, 27 Feb 2012 17:22:58 -0500") References: <4f493c28.DgprF6mLW0g3pB2K%rdtennent@gmail.com> <4F4BE364.5080807@nagafix.co.uk> <4f4c0242.yP0aHGc6b40Wo+CH%rdtennent@gmail.com> Message-ID: <84mx83gb41.fsf@sauna.l.org> Bob Tennent writes: > >|> How can I arrange that DISPLAY is set properly whenever I ssh remotely > >|> to a particular system? DISPLAY is not the only thing that you need to set. There are many other environment variables that you need for proper freedesktop.org desktop (e.g. DBUS_SESSION_BUS_ADDRESS, XDG_DATA_DIRS etc.). From rdtennent at gmail.com Mon Feb 27 22:52:11 2012 From: rdtennent at gmail.com (Bob Tennent) Date: Mon, 27 Feb 2012 17:52:11 -0500 Subject: [winswitch] xpra (client) on Centos 5.7 In-Reply-To: <4F4BE0FF.3030009@nagafix.co.uk> References: <4f4aafdb.VKNdKPUj+JT+eGF8%rdtennent@gmail.com> <4F4B2C23.8020805@nagafix.co.uk> <4f4b7fe5.cpbN29XJCC2zDHiY%rdtennent@gmail.com> <4F4B86F3.3020707@nagafix.co.uk> <4f4b8909.yfHPPFQorS0IQIRR%rdtennent@gmail.com> <4F4BB1AC.1070502@nagafix.co.uk> <4f4bb8a8.87geddiJk1viQS8x%rdtennent@gmail.com> <4F4BBBBD.7040407@nagafix.co.uk> <4f4bc009.4LMGDCbC+D0s1aTO%rdtennent@gmail.com> <4F4BE0FF.3030009@nagafix.co.uk> Message-ID: <4f4c091b.kKpe/rDAdReedB05%rdtennent@gmail.com> >|However... I've just committed a workaround which allows python2.5 to be >|used again: >|https://xpra.org/trac/changeset/553 >|Then a bunch of other fixes for CentOS's completely outdated version of >|(Py)GTK in r554 to r558 >|Note: don't use CentOS as an Xpra server. >| >|The updated beta packages are here: >|https://xpra.org/beta/ >| >|And I've now actually tested that it runs OK on CentOS 5.x Thanks! The messages one gets on attaching are somewhat scary: failed to setup mmap: No module named ctypes '['setxkbmap', '-query']' failed with exit code 255 the server will try to guess your keyboard mapping, which works reasonably well in most cases however, upgrading 'setxkbmap' to a version that supports the '-query' parameter is preferred glib is missing, cannot set the application name, please install glib's python bindings: No module named glib but it does seem to work. Bob T. From antoine at nagafix.co.uk Tue Feb 28 10:01:51 2012 From: antoine at nagafix.co.uk (Antoine Martin) Date: Tue, 28 Feb 2012 17:01:51 +0700 Subject: [winswitch] xpra (client) on Centos 5.7 In-Reply-To: <4f4c091b.kKpe/rDAdReedB05%rdtennent@gmail.com> References: <4f4aafdb.VKNdKPUj+JT+eGF8%rdtennent@gmail.com> <4F4B2C23.8020805@nagafix.co.uk> <4f4b7fe5.cpbN29XJCC2zDHiY%rdtennent@gmail.com> <4F4B86F3.3020707@nagafix.co.uk> <4f4b8909.yfHPPFQorS0IQIRR%rdtennent@gmail.com> <4F4BB1AC.1070502@nagafix.co.uk> <4f4bb8a8.87geddiJk1viQS8x%rdtennent@gmail.com> <4F4BBBBD.7040407@nagafix.co.uk> <4f4bc009.4LMGDCbC+D0s1aTO%rdtennent@gmail.com> <4F4BE0FF.3030009@nagafix.co.uk> <4f4c091b.kKpe/rDAdReedB05%rdtennent@gmail.com> Message-ID: <4F4CA60F.8010606@nagafix.co.uk> On 02/28/2012 05:52 AM, Bob Tennent wrote: > >|However... I've just committed a workaround which allows python2.5 to be > >|used again: > >|https://xpra.org/trac/changeset/553 > >|Then a bunch of other fixes for CentOS's completely outdated version of > >|(Py)GTK in r554 to r558 > >|Note: don't use CentOS as an Xpra server. > >| > >|The updated beta packages are here: > >|https://xpra.org/beta/ > >| > >|And I've now actually tested that it runs OK on CentOS 5.x > > Thanks! The messages one gets on attaching are somewhat scary: I didn't mean to scare anyone! ;) > > failed to setup mmap: No module named ctypes If you want to be able to use mmap transfers (ie: if you want really fast performance connecting from localhost), then install: python-ctypes Otherwise it is safe to ignore, just slower. > '['setxkbmap', '-query']' failed with exit code 255 > > the server will try to guess your keyboard mapping, which works > reasonably well in most cases however, upgrading 'setxkbmap' to a > version that supports the '-query' parameter is preferred If your keyboard mapping is ok, you can ignore this. (eventually, I intend to get rid of this by using native code) > glib is missing, cannot set the application name, please install glib's > python bindings: No module named glib Also safe to ignore. > but it does seem to work. Great! Antoine > > Bob T.