Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

VNC'ing into a users RDP session

Post Reply
hada79
Posts: 2
Joined: 2010-12-10 16:23

VNC'ing into a users RDP session

Post by hada79 »

I have a user who works from home, and RDP's into her computer at work. If she calls and we have to VNC into her machine, we just see the locked screen, and not her actual RDP session. Is there a way to fix this?
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: VNC'ing into a users RDP session

Post by redge »

without shadow remote desktop is not (yet) possible.
next major release of uvnc 2.0.0 should allow from vncviewer to choice wish RDP session to connect to remote.
RDP0 (system logon)
RDP1 log on user1
RDP2 log on user2

------------------------
tested successful myself
if your are at office with your vncviewer
ask to lady to disconnect from their computer
and you connect to their office computer.
add shorcut on their desktop or make in their startup group
(this run only while user is logged)
winvnc.exe -multi -run
ask the lady to connect remote desktop again to their office
then your vncviewer can connect to their current RDP1 session
5900 = RDP0 session locked screen console
5901 = RDP1 session of the lady logged on
vncviewer hostname:5901

hope this is clear and help
Last edited by redge on 2010-12-13 23:45, edited 3 times in total.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
hada79
Posts: 2
Joined: 2010-12-10 16:23

Re: VNC'ing into a users RDP session

Post by hada79 »

awesome, thanks for the response!
gewgaw83
Posts: 1
Joined: 2011-05-05 07:17

Re: VNC'ing into a users RDP session

Post by gewgaw83 »

I've just found another way to get it work.
At the Console of the PC which you want to connect to may not be any user logged on!

Install VNC as a service and run the service with the same user which you use to connect via RDP.
Now, if the RDP connection is active, connect via VNC as you do usually. You'll automatically connect
to the active RDP session.

A problem is, that the RDP session may not be run in fullscreen (seamless) mode.
If you run it in fullscreen, you won't get a screen on VNC.

Sorry for my bad english, i'm not a native speaker.
willystyle04
Posts: 4
Joined: 2011-05-09 14:55

Re: VNC'ing into a users RDP session

Post by willystyle04 »

This only works for XP it seems...I can't get this to be true in Windows 7. Anyone have any ideas?
willystyle04
Posts: 4
Joined: 2011-05-09 14:55

Re: VNC'ing into a users RDP session

Post by willystyle04 »

Hmmm apparently I spoke too soon. For anyone seeing this behavior, we had to write a batch file that "net stops" the service and "taskkill"s winvnc.exe then restarts only one instance. Just using taskkill won't work because the service was started using NT AUTH and it will fail with an "Access Denied" message. It was constantly showing us the local image via VNC because we were connecting to the still-running service originally.

Hope that helps!
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: VNC'ing into a users RDP session

Post by redge »

willystyle04

you have the answer to another post
known bug should be solved with 1.0.9.6.1 uvnc_service can't shutdown/restart if last client disconnect: log off
bug related here http://forum.ultravnc.info/viewtopic.php?t=18351

solved bug lists here
https://forum.ultravnc.net/viewtopic.php?f=54&t=27951
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
mikethompsonuk82
Posts: 2
Joined: 2011-12-08 15:54

Re: VNC'ing into a users RDP session

Post by mikethompsonuk82 »

I'd been having this same issue, managed to get this resolved thanks to the info here. Thanks.
ibm16
Posts: 1
Joined: 2021-02-04 15:54

Re: VNC'ing into a users RDP session

Post by ibm16 »

How do i apply the -multi -run switch? thanks.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: VNC'ing into a users RDP session

Post by Rudi De Vos »

winvnc.exe -multi -run
-multi: allow to run multiple instances of winvnc

This has nothing todo with RDP, ir just skip the "is already running" check.
Post Reply