← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #185791]: How to run "Sikuli On Virtual Machines"

 

Question #185791 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/185791

daluu posted a new comment:
anmol_bagga10, can you elaborate on a few things:

* do you keep TeamViewer open all the time or you connect and disconnect
at times same way as with VNC?

* what port then does TeamViewer run on? Or I assume it also uses RDP
and same ports.

I would also like to point out that you can run from anywhere using
standard RDP provided the following:

* always connect to console session 0, either with RDP or mstsc.exe
command line parameter "/admin" or "/console" exact parameter depends on
version of RDP client and the OS connecting to. You can tell which
session by checking under Task Manager users tab, displaying column for
session ID.

* on client OSes, you will always get console session 0 (Win XP, and I
think Vista and Win 7). On server OSes (2003, 2008), they give you free
3 user terminal server license. Hence when RDP'ing to a server OS, you
will by default use session 1 or session 2. But there is always a
session 0 (the head or desktop of server), that you can access via the
parameter mentioned. Session 1 and 2 are virtual "terminal server"
sessions.

With that in mind, if you connect to server A from machine B using
session 0, you can disconnect and reconnect to same session 0 from
machine C. That won't work if you connected via session 1 or 2, which
are tied to client machine that did RDP. Session 0 is not as it is
always the head/desktop. But unlike VNC, on disconnect of RDP, you get
locked, because unlike VNC, physical desktop is not shared with RDP
session is either/or, but VNC can use physical desktop and VNC session
at same time (though not desirable as you be like fighting for mouse and
keyboard). Monitor-wise VNC works like a splitter mirroring your desktop
to a remote client unlike RDP.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.