info-xnee
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Info-xnee] Xnee and Xvfb


From: Henrik Sandklef
Subject: Re: [Info-xnee] Xnee and Xvfb
Date: Thu, 29 Mar 2007 11:27:38 +0200
User-agent: Icedove 1.5.0.9 (X11/20061220)

Hi and thanks for your email


 If you record (using Xnee) the display as started with Xvfb you can see
that the replaying Xnee is sending the events. And if you exchange Xvfb
with Xnest things work fine (as you said).

 Playing back mouse motions are OK. I test that using xgetter from the
Xnee sources:
     cnee/test/src/xgetter -mpra

 To be honest I don't know why the keyboard events are received by Xfvb.
Does the display (started by xvfb) even have a keyboard? ..... will read
some more specs and man pages...



/hesa



Josh Wyatt wrote:
> Greetings,
> 
> Firstly, let me thank you for the excellent tool that Xnee is.  I'm
> quite impressed by the flexibility.
> 
> I am writing to ask for some help using Xnee with Xvfb.  I have been
> using Xnee successfully to record and playback sessions on Xnest sessions. 
> However, when I attempt to replay the same events on an Xvfb display,
> Xvfb seems to ignore motion/mouse/keyboard events.  Using xwd and xwud,
> I can see that the display presents the windows and whatnot as I start
> them remotely; but they do not appear to receive keyboard and mouse events.
> 
> Any thoughts?  Here is a simple test to reproduce the problem.
> 
> My setup:
> 
> Centos 4.4, using xorg-X11 Xnest and Xvfb 6.8.2.
> 
> cnee --version reports:
> 
> address@hidden ~]$ cnee --version
> Xnee 2.05
> Copyright (C) 2000,2001,2002,2003,2004, 2005 Henrik Sandklef Xnee and
> all its included programs come with NO WARRANTY,
> to the extent permitted by law.
> This is free software, and you may redistribute
> copies of it under terms of GNU General Public License.
> For questions: address@hidden  Xnee: Xnee's not an Event Emulator
> http://www.gnu.org/software/xnee/ GPL:  Gnu General Public License  
> http://www.gnu.org/
> FSF:  Free Software Foundation     http://www.fsf.org/
> 
> 
> 
> How to reproduce:
> 
> I started an Xnest session under my existing GUI for recording:
> 
> Xnest :1 -ac -geometry 1024x768 &
> 
> Start an xterm in that display:
> xterm -display :1 &
> 
> Start the recording:
> cnee --display :1 --record -o test.xnl --mouse --keyboard --time 5
> 
> Mouse to the xterm in the Xnest window, click on it to gain focus
> (probably not necessary since no WM is running), and type some stuff
> (pwd, ls -l, etc)
> 
> Ctrl+C in the cnee record shell.
> 
> 
> Okay... Time for replay into the Xvfb...
> 
> I can setup the Xvfb session exactly the same with:
> 
> Xvfb :3 -ac -screen 0 1024x768x16 &
> 
> xterm -display :3 &
> 
> At this point I used xwd to determine that the xterm had indeed started,
> and was located in the same position:
> 
> xwd -root -out t.xwd -display :3
> xwud -in t.xwd
> 
> ... and it looks fine, ready for action;
> 
> I then replay the file:
> cnee -v --display :3 --replay --file test.xnl
> 
> (cnee provides some output showing it executes the events...)
> 
> And use xwd/xwud to snapshot and review Xvfb's display:
> xwd -root -out t.xwd -display :3
> xwud -in t.xwd
> 
> ...And nothing has happened in the xterm.
> 
> Any thoughts would be GREATLY appreciated!  I have attached my example
> xnl file 'test.xnl' from above.
> 
> 
> Thank you in advance, and cheers,
> Josh
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Info-xnee mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/info-xnee





reply via email to

[Prev in Thread] Current Thread [Next in Thread]