gnome-terminal does not honor display setting when using xephyr-xserver

Bug #155655 reported by Heikki Toivonen
4
Affects Status Importance Assigned to Milestone
gnome-terminal (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Seen in Ubuntu Gutsy Gibbon.

I have various scripts that start a nested Xserver using xephyr-xserver, and launch gnome-terminals in the nested server. These worked fine in Dapper Drake, but it seems with Gutsy Gibbon only the first gnome-terminal honors the display setting.

Here is a simple test script:

#!/bin/sh
Xephyr :1 -ac -br -screen 1024x768x16/BPP&
DISPLAY=:1 gnome-terminal&
DISPLAY=:1 gnome-terminal --geometry=-0-0&

In the terminal where I run this script I see:

Extended Input Devices not yet supported. Impelement it at line 625 in ../../../../hw/kdrive/src/kinput.c
Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!

I can make this work by using xterms, like so (replace the last two lines in the script above):

xterm -display :1&
xterm -display :1 -geometry -0-0&

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Thanks in advance.

Changed in gnome-terminal:
status: New → Incomplete
Revision history for this message
Alexander (aldegoeij) wrote :

I'm getting the Extended Input Devices error trying out UME under Hardy

Revision history for this message
Pedro Villavicencio (pedro) wrote :

needs to be confirmed by someone else i cannot reproduce this.

Changed in gnome-terminal:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: Incomplete → New
Revision history for this message
Peter Cordes (peter-cordes) wrote :

I tried to reproduce this, but it works for me on a pre-Intrepid system. I'm going to mark this fix-released, rather than invalid, on the assumption that there was something going on. If anyone can reproduce this, or knows exactly what the submitter meant by
"only the first gnome-terminal honors the display setting"
 they should re-open this bug.

 It sounds like Heikki is saying that one of the gnome-terminals opens outside Xephyr, even though DISPLAY=:1. That sounds very unlikely, unless gnome-terminal talks to an already-running gnome-terminal that it found with something other than X, and asked it to open a new window.

 I tested on a dual-core system with hot caches, and gnome-terminal running outside Xephyr, so there was plenty of chance for any race conditions to happen. Both gnome-terminals appear at opposite corners of the Xephyr window. The combined stdout/stderr of it all is:
Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed
Failed to retrieve terminal server from activation server

Changed in gnome-terminal:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.