Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VNC server and classroom

Status
Not open for further replies.

patrick118

Technical User
Jan 14, 2004
315
0
0
NL
We are going to give give some courses within the company.

I want to know if it is possible to have a teacher machine and with one button all the omputers in the classroom show the screen of the teacher and another button to make sure they see there own computer.

I saw this at a course and i thought they were using vnc. Can somebody help me? Show me a document on how to do this or another tool. We are only using it for a few months so we don't want to spend any money on it.

Thanks

Patrick
 
Don't have to anymore. I just figured it out how to do it with VNC. Works like a charm and it is free.

Patrick
 
Serbtastic,

First, make sure the PC's you are using are 'registered' to use .vnc files. To do this, go to a command prompt, switch to the VNC installation directory and type:

Code:
vncviewer -register

Second, use Notepad to create a text file and save it with an extension of .vnc, preferably in the same folder as the VNC Viewer. An example file is shown below.

Change the 2nd line to reflect the IP address of the PC you want to connect to.

Change the 4th line to reflect the hex value for the password used. You'll find the password in the Registry. For example, using RealVNC 3.3.7, the password is stored at HKEY_CURRENT_USER\Software\ORL\WinVNC3 in a key called (funnily enough) 'Password'.

Important! Line 29 (in bold) allows the session to be shared with other connections.

To connect to the PC, just double-click on the .vnc file.

Example file (which can be copied and pasted):
Code:
[connection]
host=xxx.xxx.xxx.xxx
port=5900
password=[Get this info from the Registry]
[options]
use_encoding_0=1
use_encoding_1=1
use_encoding_2=1
use_encoding_3=0
use_encoding_4=1
use_encoding_5=1
use_encoding_6=0
use_encoding_7=0
use_encoding_8=0
use_encoding_9=0
use_encoding_10=0
use_encoding_11=0
use_encoding_12=0
use_encoding_13=0
use_encoding_14=0
use_encoding_15=0
use_encoding_16=1
preferred_encoding=5
restricted=0
viewonly=0
fullscreen=0
autoDetect=1
8bit=0
[b]shared=1[/b]
swapmouse=0
belldeiconify=0
emulate3=1
emulate3timeout=100
emulate3fuzz=4
disableclipboard=0
localcursor=1
scale_num=1
scale_den=1

Further refinement...

Create a desktop shortcut to the .VNC file. Configure this shortcut with a shortcut key combination, e.g. F9. Pressing F9 will connect you immediately and automatically (as a shared session) to the remote PC without asking for any authentication.

Hope this helps...

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top