Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/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://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Run server on a remote pc WITHOUT having to push connect?

Post Reply
ryeookin
Posts: 5
Joined: 2006-09-14 19:34

Run server on a remote pc WITHOUT having to push connect?

Post by ryeookin »

Is it possible? Would make my life as admin quite a bit easier at times.

Where I stand:
I configured "PcHelpWare_server.exe" so it's "helpdesk.txt" only contains:
-connect (IP address):5500 -passwd (passwd)

Only thing keeping it from connecting is the remote users step requiring the "connect" button to be depressed.. Is there some way to bypass that step or perhaps some command line switch that can do this?
Last edited by ryeookin on 2009-05-31 09:24, edited 2 times in total.
kaldag
Former moderator
Former moderator
Posts: 179
Joined: 2005-12-13 17:36
Location: Washington, Il
Contact:

Re: Run server on a remote pc WITHOUT having to push connect

Post by kaldag »

Add [DIRECT] to the end of your helpdesk.txt file.

Ken
ryeookin
Posts: 5
Joined: 2006-09-14 19:34

Re: Run server on a remote pc WITHOUT having to push connect

Post by ryeookin »

Ok I've changed:
-connect (IP address):5500 -passwd (passwd)

to:
-connect (IP address):5500 -passwd (passwd) [DIRECT]

Then rebuilt the server and in testing it still required the user to hit the connect button.

I then tried:
-connect (IP address):5500 -passwd (passwd)
[DIRECT]

And rebuilt the server and this also in testing it still required the user to hit the connect button.
What am I doing wrong?
kaldag
Former moderator
Former moderator
Posts: 179
Joined: 2005-12-13 17:36
Location: Washington, Il
Contact:

Re: Run server on a remote pc WITHOUT having to push connect

Post by kaldag »

Do you need the password choice? Missed that.

Ken
ryeookin
Posts: 5
Joined: 2006-09-14 19:34

Re: Run server on a remote pc WITHOUT having to push connect

Post by ryeookin »

So I have the "[DIRECT]" format correct then?

As for the password, I'm using "123" to test at the moment, so yes a password is being used.

Note: 123 is the password I'm testing/trying to get this to work with. It isn't whats listed in the "helpdesk.txt" (which contains the encrypted password which unencrypted =123)
kaldag
Former moderator
Former moderator
Posts: 179
Joined: 2005-12-13 17:36
Location: Washington, Il
Contact:

Re: Run server on a remote pc WITHOUT having to push connect

Post by kaldag »

Try using it without the password requirement.

Ken
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Re: Run server on a remote pc WITHOUT having to push connect

Post by YY »

Hi! ryeookin,

The correct format is [-direct], so you helpdesk s/b like this:

-connect (IP address):5500 -passwd (passwd) -direct

Please try.
kaldag
Former moderator
Former moderator
Posts: 179
Joined: 2005-12-13 17:36
Location: Washington, Il
Contact:

Re: Run server on a remote pc WITHOUT having to push connect

Post by kaldag »

http://www.uvnc.com/pchelpware/configl/index.html

Look at the bottom of the page for example.

Only use one [HOST] entry.

Ken
bevtech
800
800
Posts: 2168
Joined: 2005-08-03 14:07
Location: Pennsylvania, United States

Re: Run server on a remote pc WITHOUT having to push connect

Post by bevtech »

This is a manual edit or scgui their is not an option for it with the new gui creator. I accomplished this by manually editing the helpdesk.txt under the create_server/custom folder then by running the create server bat.

The server will be in myservers directory (not in the Alias name) with the modified helpdesk.txt


I can see this being very useful for alot of users that have one host in their helpdesk.txt.
Last edited by bevtech on 2007-03-17 19:51, edited 3 times in total.
Bevtech

Windows XP Home, Pro SP2, Windows 2003 SBS server SP2(EN), Windows Media Center Editon 2005,Windows Vista Home Prem.,Fedora Core 6,Win9X, PChelpware Rel 1.0,
UVNC V 1.0.8.2

User not developer..;)
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Re: Run server on a remote pc WITHOUT having to push connect

Post by YY »

kaldag wrote:http://www.uvnc.com/pchelpware/configl/index.html

Look at the bottom of the page for example.

Only use one [HOST] entry.

Ken

The above applies to the SC_Gui Server only.

For the new PHW server (the one bundled with PcHelpWare 1.0 download), you need to add "-direct" at the end of Helpdesk.txt.
"[Direct]" will not work at all. (ryeookin had tried)

Because the "Create Server" button in viewer WILL NOT generate the "-direct" option into the Helpdesk.txt, we need to add it manually and run the "Create" batch file to get a server with this feature.
ryeookin
Posts: 5
Joined: 2006-09-14 19:34

Re: Run server on a remote pc WITHOUT having to push connect

Post by ryeookin »

I'll try adding "-direct" to the end of the file when I get back to work on Monday and let you all know how it went YY.

Thank you all for your help!
mirrock
Posts: 7
Joined: 2007-03-28 00:51
Location: Montana, USA

Re: Run server on a remote pc WITHOUT having to push connect

Post by mirrock »

Hi.....Great Site....PHW is nice!

I have tried all the above to no avail. Has anyone figured out how to do this?
mattice06082
Former moderator
Former moderator
Posts: 607
Joined: 2006-11-30 00:41
Location: Connecticut, USA

Re: Run server on a remote pc WITHOUT having to push connect

Post by mattice06082 »

To have the server automatically connect to a listening viewer you need to manually edit the helpdesk.txt file that's stored in the PcHelpWare\create_server\custom directory and add ' -direct' to the end of the line.

Then manually run the Create.bat file in the in PcHelpWare\create_server directory. It'll create a new PcHelpWare_server.exe file in the PcHelpWare\myservers directory (not in the alias directory).
mirrock
Posts: 7
Joined: 2007-03-28 00:51
Location: Montana, USA

Re: Run server on a remote pc WITHOUT having to push connect

Post by mirrock »

Yes that does work. However not much is gained since the viewer has to be started before the server, hence, the server operator still has to manually start up the server. The only step not needed is to click on the "Connect" button.

What would really be nice is if the server could run all the time in the remote computer system tray (starts up with windows) and then the viewer could start up and shut down from his computer remotely. Is this possible. Please excuse my ignorance.
bevtech
800
800
Posts: 2168
Joined: 2005-08-03 14:07
Location: Pennsylvania, United States

Re: Run server on a remote pc WITHOUT having to push connect

Post by bevtech »

maybe a possibly in the next release but not in version 1.0..:(
Bevtech

Windows XP Home, Pro SP2, Windows 2003 SBS server SP2(EN), Windows Media Center Editon 2005,Windows Vista Home Prem.,Fedora Core 6,Win9X, PChelpware Rel 1.0,
UVNC V 1.0.8.2

User not developer..;)
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Re: Run server on a remote pc WITHOUT having to push connect

Post by YY »

mirrock wrote: if the server could run all the time in the remote computer system tray (starts up with windows) and then the viewer could start up and shut down from his computer remotely. Is this possible?
PHW is not designed to work as your said situation, if you want to access a remote computer (and that computer is standby for connection, i.e Listening), you better use the UVNC, or windows' RDP.

But if, for some reason, you really want to have PHW worked as you mentioned, it can be done at this specific condition:
1. The remote computer (running server) can auto-logon to a user's desktop directly.
2. A link of the PHW-server is inside folder Startup, so that PHW-server can run automatically.
3. The server's Helpdesk.txt should include "-direct" & "-autoreconnect" option, so the server will try to make a connection. Even if the viewer is not yet reached, the server will keep on re-try.

This situation is similar to a query about:
HOW TO MAKE AN AUTO CONNECTION AFTER SERVER REBOOT
please see these messages too:
[topic=9602][/topic]
Last edited by YY on 2007-03-28 08:01, edited 1 time in total.
Post Reply