Hello everybody, Here is what I have done to try to use xmon terminal 1: xmonui | xmond terminal 2: Xnest -ac :1 terminal 3: DISPLAY=:1 myapp this does not seem to work .. can anybody help? thanks again. |
|||
|
User login |
|
|
All trademarks and copyrights on this page are properties of their respective owners. The rest is copyright © Integrated Computer Solutions Inc., 2003 - 2012 |
vtorshyn
Re: Xmon - an x-event monitor - How to use?
Hi, notsonerdysunny
To use xmon you shouldn't start a Xnest. When you run:
$ xmonui | xmond
xmond will listen incoming connections on 'yourHost:1' automatically. But by default Xserver configured to reject incoming connections, you might want to control it by 'xhost' command.
So, imagine that your real IP is 192.168.40.1 and your application is 'myapp'. Please try next steps:
1. Add your host to access list by a command:
$ xhost +192.158.40.1
192.168.40.1 being added to access control list
Also you can grant access to the X for any host by 'xhost +' command (just plus, no any parameters).
2. Start xmon:
$ xmonui | xmond
Now Xmond listens incoming connections on :1 display
3. Start your application:
$ DISPLAY="192.168.40.1:1" myapp
If it doesn't work for you, please attach 10-15 last lines from your Xorg.log.