[winswitch] trying out xpra/winswitch
Antoine Martin
antoine at nagafix.co.uk
Sun Jan 6 05:17:45 GMT 2013
On 01/06/2013 04:44 AM, Neal Becker wrote:
> I'm baffled. If I start emacs via xpra (using xdummy), it looks great.
> If I start via winswitch it doesn't. It looks like it's set to a lower
> resolution.
You have not answered the question about encoding and quality settings,
what are they set to?
Please also post server and client xpra commands to compare.
Note that winswitch will create the ssh tunnel itself using the
built-in Twisted-conch instead of ssh, it may be less efficient and
cause xpra to lower quality to adapt to the more limited bandwidth.
(Although I have not seen this in testing before)
Please also specify your link quality, and the amount of traffic going
through the winswitch ssh tunnel.
If you are on a LAN, what you should really do is drop ssh completely
for xpra and use plain tcp sockets with passwords. You may need to
tweak/disable some firewall rules to achieve this.
> Both clients and servers are fedora f17 linux.
>
> Within each of these emacs sessions, I ran xdpyinfo and xrandr. Both
> outputs show no difference. I compared the two Xorg.:7.log,
> Xorg.:62.log, and don't offhand see any significant diff (because of the
> timestamps, comparing these files I just did visually).
>
> I have no ideas how to debug this. I'd like to use winswitch for the
> nice features, but emacs under xpra looks beautiful while emacs under
> winswitch looks bad.
That is quite odd since even with a drop in quality, the auto-refresh
delay should kick in and give you a pixel perfect picture after about
one second.
Cheers
Antoine
> I was wrong about my guess that winswitch was not using xdummy. I see
> that Xorg was started with the same command line in both cases.
>
> Any ideas?
>
>
> On Sat, Jan 5, 2013 at 6:27 AM, Antoine Martin <antoine at nagafix.co.uk
> <mailto:antoine at nagafix.co.uk>> wrote:
>
> On 01/04/2013 07:47 PM, Neal Becker wrote:
> > I have some info about 4. It seems if I use xpra directly, the server
> > started on the remote is using Xdummy driver, as per my xpra.conf.
> But
> > when started by winswitch, it is not. Any ideas?
> What versions have you got installed? What platform, distro, etc?
> Old versions used to try to make xpra use Xdummy explicitly by
> specifying the Xvfb command to use. But this is no longer the case, and
> when winswitch launches xpra it will use the same configuration file as
> when used from the command line?
>
> > On Thu, Jan 3, 2013 at 8:30 PM, Neal Becker <ndbecker2 at gmail.com
> <mailto:ndbecker2 at gmail.com>> wrote:
> >
> >> 4. emacs started manually on remote using xpra looks much nicer
> than emacs
> >> started via winswitch. I could send screenshots.
> Quality is encoding related, it is quite possible that winswitch uses a
> different encoding by default. Try holding launching your commands via
> the full "Start Application" dialog, or by holding the "Shift" key as
> you select the application from the start menu, these dialogs allow you
> to select the encoding quality.
> Or just compare once launched in the xpra tray menu.
>
> >> On Thu, Jan 3, 2013 at 8:20 PM, Neal Becker <ndbecker2 at gmail.com
> <mailto:ndbecker2 at gmail.com>> wrote:
> >>
> >>> Trying out latest on Fedora 17.
> >>>
> >>> 1. Which way to configure Xorg? Right now I'm trying xvfb with
> the dummy
> >>> driver:
> >>> xvfb=/usr/bin/Xorg-nosuid -dpi 96 -noreset -nolisten tcp
> +extension GLX
> >>> +extension RANDR +extension RENDER -logfile
> >>> ${HOME}/.xpra/Xorg.${DISPLAY}.log -config /etc/xpra/xorg.conf
> /etc/xpra.conf
> Should have examples for both Xvfb and Xdummy. What is enabled depends
> on your distro. If Xdummy is not chosen, chances are that your distro is
> too old to support it adequately.
>
> >>> This seems to look nice on emacs. But I wonder if this is the
> "best"
> >>> option? One thing is, it seems RANDR extension is reported as
> missing.
> >>> For example, running xrandr --verbose from within emacs reports
> that.
> As per:
> http://xpra.org/Xdummy.html
> Xdummy is the way forward and there are a number of unfixable bugs when
> using Xvfb without randr.
>
> >>> 2. winswitch works, but if I try to start a remote desktop
> session it
> >>> works with xpra, but not NX. I believe it said something about
> ssh server
> >>> not forwarding?
> Details please. Platform, versions, etc. Log files?
>
> >>> 3. In winswitch, if I try to start a different size desktop
> session, it
> >>> does not change size. Probably related to RANDR missing?
> What protocol are you using for your desktop session? NX? VNC? Xpra?
>
> Cheers
> Antoine
>
>
> >>>
> >>
> >>
> > _______________________________________________
> > shifter-users mailing list
> > shifter-users at lists.devloop.org.uk
> <mailto:shifter-users at lists.devloop.org.uk>
> > http://lists.devloop.org.uk/mailman/listinfo/shifter-users
> >
>
> _______________________________________________
> shifter-users mailing list
> shifter-users at lists.devloop.org.uk
> <mailto:shifter-users at lists.devloop.org.uk>
> http://lists.devloop.org.uk/mailman/listinfo/shifter-users
>
>
More information about the shifter-users
mailing list