Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2x winvnc.exe - as a service under SYSTEM (listen) + as a user process call command line (connect to other machine), on the same machine at the same time. #202

Open
SIT-JK opened this issue Jul 10, 2024 · 6 comments
Assignees

Comments

@SIT-JK
Copy link

SIT-JK commented Jul 10, 2024

Command line: "winvnc.exe -connect IPADDRESS".
I last worked on version 1.2.1.6. Version 1.2.1.7 no longer works.
Calling "winvnc.exe -connect IPADDRESS" also works in version 1.4.3.6, but requires running with admin rights.
If I stop the service and call "winvnc.exe -connect IPADDRESS" in version 1.4.3.6, it also works, moreover without admin rights.
Some idea?

@Neustradamus Neustradamus added the Rudi Rudi answer is needed label Jul 14, 2024
@RudiDeVos
Copy link
Member

The injection was considered unsecure. A guest can initiate a remote connection.
This is off by default and need to be enabled in the ini.
[admin]
AllowInjection=1

@SIT-JK
Copy link
Author

SIT-JK commented Jul 19, 2024

OK, I tried AllowInjection=1 and it still doesn't work.

@RudiDeVos
Copy link
Member

I just tested and it still seems to work.

However first time failed as i added AllowInjection=1 while AllowInjection=0 was also set as option.
I needed to replace the 0 by 1 and not adding the same option.

After change the service need to restart
Don't know if it's the same on your site, please verify

As test i use winvnc -connect , this open the connection dialog and winvnc -connect localhost with a listening viewer.

@SIT-JK
Copy link
Author

SIT-JK commented Jul 31, 2024

It doesn't work the same as in the 1.2.1.6 version mentioned, but I got a workaround it in a different way. One question related to this, is it possible to force the winvnc.exe service to reload the INI file other than by restarting it? And if not, are you considering such a feature?

@Neustradamus
Copy link

@RudiDeVos: Have you seen the latest @SIT-JK answer?

@RudiDeVos
Copy link
Member

Using the server admindialogs, changes are pushed in the running server and saved to ini.
But when ini is changed extern, it isn't detected.
A ini monitor could indeed be a nice feature.

@Neustradamus Neustradamus removed the Rudi Rudi answer is needed label Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants