Opened 14 years ago

Closed 11 years ago

Last modified 11 years ago

#1659 closed enhancement (fixed)

replace Xephyr with VNC

Reported by: sascha_silbe Owned by: sascha_silbe
Priority: Unspecified by Maintainer Milestone:
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 (2)

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

Download all attachments as: .zip

Change History (18)

comment:1 Changed 14 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 14 years ago by sascha_silbe

sugar-emulator: use vnc instead of Xephyr

comment:2 Changed 14 years ago by sascha_silbe

  • Keywords r? added; r! removed

Patch updated.

comment:3 Changed 14 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).

comment:4 Changed 14 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.

comment:5 Changed 14 years ago by erikos

What is the status here?

comment:6 Changed 14 years ago by erikos

  • Milestone changed from 0.88 to 0.88.x

As it is no show stopper...

comment:7 Changed 14 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.

comment:8 Changed 14 years ago by bernie

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

Can we keep both options available?

comment:9 Changed 14 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 14 years ago by tomeu

Rebased on top of HEAD

comment:10 Changed 14 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.

comment:11 Changed 14 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?

comment:12 Changed 14 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?

comment:13 follow-up: Changed 12 years ago by icarito

  • Cc icarito added

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

comment:14 in reply to: ↑ 13 Changed 12 years 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.

comment:15 Changed 11 years ago by dnarvaez

  • Resolution set to fixed
  • Status changed from new to closed

sugar-emulator is gone, sugar-runner deals with xkb

comment:16 Changed 11 years ago by dnarvaez

  • Milestone 0.90 deleted

Milestone 0.90 deleted

Note: See TracTickets for help on using tickets.