Ticket #1432 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

sugar-emulator starts sugar out of Xephyr

Reported by: alsroot Owned by: alsroot
Priority: Immediate Milestone: 0.86
Component: sugar Version: Unspecified
Severity: Blocker Keywords: r+
Cc: Distribution/OS: Ubuntu
Bug Status: Unconfirmed

Description

Looks like metacity starts in current X session not in Xephyr.

|TestCase|
* in Ubuntu 9.04 and 0.86 ppa, start sugar-emulator from gnome menu
* it starts one window for Xephyr and sugar in current X session

Attachments

sugar-1432.patch Download (3.3 KB) - added by alsroot 4 years ago.

Change History

  Changed 4 years ago by alsroot

sugar-emulator start from xterm, works well.

Changed 4 years ago by alsroot

  Changed 4 years ago by alsroot

  • keywords r? added

follow-up: ↓ 4   Changed 4 years ago by sascha_silbe

That's quite strange. DISPLAY is set in _run_xephyr() unconditionally and should be used by all X programs. I've never seen this problem and would be quite surprised by it. Maybe Ubuntu has broken Xlib?

in reply to: ↑ 3   Changed 4 years ago by alsroot

Replying to sascha_silbe:

That's quite strange. DISPLAY is set in _run_xephyr() unconditionally and should be used by all X programs. I've never seen this problem and would be quite surprised by it. Maybe Ubuntu has broken Xlib?

At least /usr/bin/sugar has DISPLAY=:0 at startup(but other environment vars from sugar-emulator are ok) after starting sugar-emulator from gnome menu.

Attached patch doesn't seem to be a hack, we just all time be sure that we use right DISPLAY.

  Changed 4 years ago by tomeu

  • keywords r+ added; r? removed
  • owner changed from tomeu to alsroot
  • status changed from new to assigned

  Changed 4 years ago by alsroot

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.