![]() ![]() These two pictures below are the Putty configuration screens to make it so that you have tunnels. It sounds as if you have used this before, So I will just show how to make tunnels from the local host to the server box. Putty can connect using ssh to the remote selenium box. hostname:session.pid contains the process id of the Xvnc server so that vncserver -kill :2 knows who to kill.Ģ) You need to set up the Putty tunnels.It can be handy to figure out what is going wrong. hostname:session.log contains the output of the commands from the xstart script.You are much more likely to have success with the xstart file provided by vncserver I recommend having a different user in whose space you can run these tests. It is complicated by using the files that are off your home directory. It would help if someone could provide a reference to this - it is touchy, and seems to be different on each system. xstart this is a shell script that starts up the x session in the virtual frame buffer.(Check the man pages for permissions required.) Again, if this is your first time, the vncserver script will also setup 1 more file, and every time it start it creates two new files: (. If this is the first time you have run this command, it will ask you for a password, and by default this password will use a one -way encryption and be stored in your home directory, ~/.vnc/passwd. This makes the command look something like this: vncserver :2 -geometry 1280x1024 -depth 24 -localhost -AlwaysShared You provide the display number ( e.g., :2), the geometry, (I find that I also have to provide the depth), and for security, the argument localhost. Pick an unused vnc port (they are in the range of 5900 + display number). You are going to want to start this up using vncserver because it will do a lot of things for you. I assume that the viewer is a windows system because that is what putty runs on.ġ) The session on the selenium box 2) Putty based VNC tunnels 3) the control VNC session, and 4) the viewer sessions.ġ) You need the Xvnc session on the selenium box. A viewing capability from from a Putty-based system that you can start and stop without affecting the running of programs on the selenium box.A command entry capability, like ssh into a shell on the terminal of the x-session on the selenium box. ![]() This instance has a virtual frame buffer and an xwindows session that you can run your test on.This instance is controlled by something either a script on selenium, or some other vnc client.You have an instance of a vnc server running on selenium.Long post warning! Here is what I think you are asking: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |