Ticket #1659 (new enhancement)

Opened 3 years ago

Last modified 12 months ago

replace Xephyr with VNC

Reported by: sascha_silbe Owned by: sascha_silbe
Priority: Unspecified by Maintainer Milestone: 0.90
Component: sugar Version: Git as of bugdate
Severity: Major Keywords: r+
Cc: tomeu, erikos, icarito Distribution/OS: Unspecified
Bug Status: Assigned

Description

We've had enough trouble with Xephyr. This patch replaces it with VNC.

Uses VNC4 on Debian (derivatives), TigerVNC on Fedora (derivatives). The latter one has been fixed upstream (already in F11+F12) w.r.t. the keymap bug.

Tested on:
- Debian squeeze (for several months)
- Ubuntu Intrepid
- Ubuntu Jaunty
- Fedora 12

Attachments

1659.patch Download (9.8 KB) - added by sascha_silbe 3 years ago.
sugar-emulator: use vnc instead of Xephyr
0001-sugar-emulator-use-vnc-instead-of-Xephyr-1659.patch Download (10.3 KB) - added by tomeu 3 years ago.
Rebased on top of HEAD

Change History

  Changed 3 years ago by tomeu

  • keywords r! added; r? removed

Sascha said in #sugar that he has some improvements in a branch, but the patch here hasn't been updated.

Changed 3 years ago by sascha_silbe

sugar-emulator: use vnc instead of Xephyr

  Changed 3 years ago by sascha_silbe

  • keywords r? added; r! removed

Patch updated.

  Changed 3 years ago by sascha_silbe

Found by bertf: Cursor is smaller in Etoys if running with VNC instead of Xephyr. Once Etoys has been started, the cursor stays the same even after switching windows.

I've also sometimes noticed minor visual artifacts, e.g. the Frame corners having a slightly different color than the Frame edges/"bars" (using raw encoding, full color, vnc4server 4.1.1+X4.3.0-35 on Debian squeeze).

  Changed 3 years ago by DanKrejsa

Hi,

Playing around with this some more on Ubuntu 9.10, I just noticed the obvious: since the mouse isn't restricted to the sugar emulator window size (even in full-screen mode), it's hard to get the frame to appear by moving the mouse to the edge/corner of the screen. That may be a problem,
but one can use Alt-shift-F to toggle the frame.

  Changed 3 years ago by erikos

What is the status here?

  Changed 3 years ago by erikos

  • milestone changed from 0.88 to 0.88.x

As it is no show stopper...

  Changed 3 years ago by erikos

  • milestone changed from 0.88.x to 0.90

As discussed with Sascha on irc, we move it to 0.90. We aim to land it early so we get a lot of testing.

  Changed 3 years ago by bernie

I'm quite happy with Xephyr, and I'm afraid VNC would be slow.

Can we keep both options available?

  Changed 3 years ago by quozl

Bernie, VNC does not seem slow compared to Xephyr, they actually seem the same. Have you any test results to suggest otherwise?

Changed 3 years ago by tomeu

Rebased on top of HEAD

  Changed 3 years ago by tomeu

  • keywords r+ added; r? removed

Patch looks great, sugar-emulator runs even better. Please push after checking I did the merge correctly and adding anything to jhbuild in case its needed.

May be good to add a note to  http://wiki.sugarlabs.org/go/0.90/Notes so we remember to mention in the 0.90 release notes that packagers need to replace the Xephyr dependency for XVnc.

  Changed 3 years ago by erikos

Is everything done here? Is the ticket just left open so we can add a note to the 0.90 deps?

  Changed 3 years ago by sascha_silbe

I didn't commit yet because I was rather busy. Do you still want this in 0.90 or postpone to 0.92?

follow-up: ↓ 14   Changed 12 months ago by icarito

  • cc icarito added

Emulator is pretty annoying with any non-english keyboard layout.

in reply to: ↑ 13   Changed 12 months ago by icarito

Replying to icarito:

Emulator is pretty annoying with any non-english keyboard layout.

I managed to fix it for me by adding

setxkbmap -rules evdev

to my ~/.sugar/debug file. Arrow keys work now for me, as well as intl chars.

Note: See TracTickets for help on using tickets.