info-xnee
[Top][All Lists]
Advanced

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

[Info-xnee] Xnee and Xvfb


From: Josh Wyatt
Subject: [Info-xnee] Xnee and Xvfb
Date: Fri, 23 Mar 2007 09:30:56 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624

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
####################################
#         System information       #
####################################
# Date:                   2007:03:23 
# Time:                   09:18:47 
# Xnee program:           cnee 
# Xnee version:           2.05 
# Xnee home:              http://www.gnu.org/software/xnee/ 
# Xnee info mailing list: address@hidden 
# Xnee bug mailing list:  address@hidden 
# X version:              11 
# X revision:             0 
# X vendor:               The X.Org Foundation 
# X vendor release:       60802000 
# Record version major:   1
# Record version minor:   13
# OS name:                Linux 
# OS Release:             2.6.9-42.EL 
# OS Version:             #1 Sat Aug 12 09:17:58 CDT 2006 
# Machine:                i686 
# Nodename:               fummy 
# Display name:           :1
# Dimension:              1024x768



##############################################
#      Xnee application arguments            #
##############################################
#  cnee --display :1 --record -o test.xnl --mouse --keyboard --time 5 


##############################################
#      Displays                              #
##############################################
# display :1
distribute


##############################################
#      Files                                 #
##############################################
out-file test.xnl
err-file stderr


##############################################
#      Key Grabs                             #
##############################################
# stop-key         0
# pause-key        0
# resume-key       0
# insert-key       0
# exec-key         0
# exec-key         xnee-exec-no-program


##############################################
#      Recording limits etc                  #
##############################################

events-to-record        -1
data-to-record          -1
seconds-to-record       -1
first-last       0

# Record  all (including current) clients or only future ones
all-client
# future-clients

# Store the starting mouse position 
# store-mouse-position


##############################################
#      Resolution                            #
##############################################

# Resolution
#recorded-resolution  1024x768
#replay-resolution  1x1
#resolution-adjustment  0


##############################################
#      Speed                                 #
##############################################

# Speed
#speed-percent  100


##############################################
#      Replaying limits etc                  #
##############################################

max-threshold 20 
min-threshold 20 
tot-threshold 40 


##############################################
#      Feedback                              #
##############################################
#feedback-none
#feedback-stderr
feedback-xosd
 


##############################################
#      Various                               #
##############################################

# Plugin file (0 means none)
plugin       0

# Modes (currently not used)
#synchronised-replay       1

# Replay offset
#xnee_replay_offset 0x0

# Human printout of X11 data (instead of Xnee format)
human-printout  0

# Delay before starting record/replay
# 5

# Various
#########################################
#          Record settings              #
#########################################
#   data_flags          7
#   rState              141898288
#   xids[0]             6291456
#   xids[1]             4194304
# Number of Ranges      1
# RecordRange[0]
request-range            0-0
reply-range                   0-0 
extension-request-major-range  0-0 
extension-request-major-range  0-0 
extension-request-major-range   0-0
extension-request-major-range   0-0 
delivered-event-range         21-21 
device-event-range            2-6 
error-range                   6-6 
0,6,1001,329,0,0,0,2129857705
0,6,961,313,0,0,0,2129857717
0,6,919,301,0,0,0,2129857729
0,6,873,291,0,0,0,2129857742
0,6,831,283,0,0,0,2129857754
0,6,791,273,0,0,0,2129857766
0,6,759,263,0,0,0,2129857779
0,6,731,255,0,0,0,2129857791
0,6,713,249,0,0,0,2129857803
0,6,697,243,0,0,0,2129857815
0,6,685,237,0,0,0,2129857828
0,6,673,231,0,0,0,2129857840
0,6,659,225,0,0,0,2129857853
0,6,649,219,0,0,0,2129857865
0,6,639,215,0,0,0,2129857877
0,6,627,211,0,0,0,2129857889
0,6,613,207,0,0,0,2129857902
0,6,597,203,0,0,0,2129857914
0,6,579,197,0,0,0,2129857927
0,6,555,191,0,0,0,2129857939
0,6,529,183,0,0,0,2129857951
0,6,503,177,0,0,0,2129857963
0,6,467,171,0,0,0,2129857988
0,6,455,169,0,0,0,2129858001
0,6,447,169,0,0,0,2129858013
0,6,439,167,0,0,0,2129858025
0,6,431,167,0,0,0,2129858037
0,6,425,165,0,0,0,2129858050
0,6,417,165,0,0,0,2129858062
0,6,409,163,0,0,0,2129858075
0,6,399,163,0,0,0,2129858087
0,6,391,161,0,0,0,2129858099
0,6,385,159,0,0,0,2129858112
0,6,384,159,0,0,0,2129858124
0,6,383,159,0,0,0,2129858183
0,6,382,159,0,0,0,2129858204
0,6,381,158,0,0,0,2129858217
0,6,379,158,0,0,0,2129858229
0,6,377,158,0,0,0,2129858241
0,6,374,158,0,0,0,2129858254
0,6,368,156,0,0,0,2129858266
0,6,360,154,0,0,0,2129858278
0,6,352,154,0,0,0,2129858291
0,6,344,152,0,0,0,2129858303
0,6,334,148,0,0,0,2129858315
0,6,324,148,0,0,0,2129858328
0,6,316,148,0,0,0,2129858340
0,6,306,146,0,0,0,2129858352
0,6,298,144,0,0,0,2129858365
0,6,296,143,0,0,0,2129858377
0,6,294,143,0,0,0,2129858389
0,4,0,0,1,0,0,2129858585
0,5,0,0,1,0,0,2129858674
0,6,294,142,0,0,0,2129858695
0,2,0,0,0,33,0,2129861456
0,3,0,0,0,33,0,2129861620
0,2,0,0,0,25,0,2129861657
0,3,0,0,0,25,0,2129861860
0,2,0,0,0,40,0,2129861863
0,3,0,0,0,40,0,2129861982
0,2,0,0,0,36,0,2129862020
0,3,0,0,0,36,0,2129862183
0,2,0,0,0,46,0,2129862300
0,3,0,0,0,46,0,2129862424
0,2,0,0,0,39,0,2129862541
0,3,0,0,0,39,0,2129862665
0,2,0,0,0,65,0,2129862782
0,2,0,0,0,20,0,2129862981
0,3,0,0,0,65,0,2129863025
0,2,0,0,0,46,0,2129863182
0,3,0,0,0,20,0,2129863226
0,3,0,0,0,46,0,2129863308
0,2,0,0,0,36,0,2129863465
0,3,0,0,0,36,0,2129863628

reply via email to

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