View Full Version : Nice Little VNC Feature.
Dunga Bee
11-01-01, 10:32 AM
I was reading up on VNC to figure out how to put it on a UNIX machine (if anyone has done this, I'd appreciate any help you can offer as I'm no UNIX guy AT ALL).
Anyway, back to the story. So I see that they say that you can access your PC through a browser as well. Hmm, I say.
So, I try it and IT WORKS. That was COOL. :cool:
It works on Win98 and 2000 machine and you DO NOT need to have IIS or personal web server installed or anything like that. When you run VNC it make its own little HTTP server that listens on port 5800 + your display number.
For almost all of us, that's HTTP://YOURCOMPUTER:5800 .
Only if you had multiple instances of VNC running on a machine would you really have a display number above zero, unless you just set it to another number because you feel like it. Either way, I think you know what I mean.
Being as how most of us are doing this on private LANs, it might not be highly useful (you could make URL favorites ?), but it was too cool not to mention.
And, if someone else mentioned this already, then beat me with a wet noodle. :p
Fold On !
SickBoy
11-01-01, 11:53 AM
This only works with some versions of VNC. TridiaVNC doesn't support it.....
This is cool. I am running my my other computer. How do you do it thru a browser?
Dunga Bee
11-01-01, 01:36 PM
Open a browser and on your main computer and type in
http://yourcomputer:5800
Where you substitute the actual name of the computer running VNC in for "yourcomputer" above.
For example, I have a computer here called "Voicemail". So, it's address is http://voicemail:5800
I see now it is 5801 where i have it numbered 1 not 58001
Thanks.
Fold on:D
Dunga Bee
11-01-01, 02:08 PM
Correct. I think my previous post was not clear on that.
It would be 5800, 5801, 5802, etc.
Do you know if it will work over the net?
Dunga Bee
11-01-01, 02:20 PM
As long as you can "see" your computer over the internet then it would work no problem.
THanks for that tip. It's actually a little faster for me that way. :D
robertm
11-01-01, 04:06 PM
Why do you need VNC with a Unix system? Not sure what your wanting to do but you have many other options with Unix. Are you using X windows?
Originally posted by Dunga Bee
I was reading up on VNC to figure out how to put it on a UNIX machine (if anyone has done this, I'd appreciate any help you can offer as I'm no UNIX guy AT ALL).
I have it running on my Linux server but assume that it will be close.
I can get it running by doing the following
vncserver -depth 16
It will assign it as machine 1 automatically.
You can then connect by inputing the ip address plus screen no
eg. 10.0.100.8:1
and use the same method for your web browser using java.
robertm
11-01-01, 04:13 PM
Guess I need to go read about VNC sounds like some good software sense it runs on Linux :)
Am strange anyway I like the command line :) so I just ssh or telnet
Dunga Bee
11-01-01, 04:34 PM
robertm - I want to connect to a customer's UNIX machine to control the desktop.
Lews - How did you install it? I am a Linux / Unix dummy so I am not sure how to do it.
The machine is running SCO Unix if that matters.
Thanks,
DB
robertm
11-01-01, 07:11 PM
Dunga Bee,
I went over and took a look at VNC.
Looks like you will have to compile the source for a SCO Unix box.
I expect that not to be an easy task knowing what I do about SCO unix. Or looks like you might be able to use a java server that I saw over in contribs under the Unix sources packages.
But then you have to get Java on the SCO Unix platform. Still not an easy task I would think.
Also looks like on a unix system running X windows anyway you dont get control over the console / X terminal you get your own X session.
From what I see to get real control of the console will be a problem.
Do you have to have the Console or will a shell do, If not a shell with a X windows session do?
Dunga Bee
11-01-01, 07:45 PM
Really what I wanted to do was to use the graphical console al-la windows so I could search for files, etc. (Is that the 'x windows' session ?)
I can access the machine via the internet and get a "command line" session (I think that would be a shell session, right?).
I found a web site with tons of UNIX commands with explanations and all the switches for the commands, etc. I was just hoping for an 'easy' way to navigate on the UNIX box rather than use a command line. I guess I have been spoiled by GUI interfaces for so long, I'd like to avoid the command entry.
But, if that's what I need to do then it'll be time to learn some UNIX commands. :)
robertm
11-01-01, 08:55 PM
Well SCO Unix is rather out dated might try the mc (midnight commander) Its a norton type of file interface.
Command.com is a command shell like csh sh born bash on unix systems They all do the same things just some have more options. Unix systems most of the time have a file layout that is not to bad once you get used to it.
/ (Root or the start of the file system)
/etc (This is most often where you will find config files for services and such)
/bin (System and root commands)
/sbin (More system and root commands)
/usr/sbin (Ftpd telnetd etc. Most you network services are here)
/usr/lib (Shared libs often you will find directories with configs for packages)
/usr/bin (System command that are useable by most users)
That's kind of simple list but it well get you started. Oh don't do anything as root! Only use root access when its a must have
I have done a rm -r / before and its bad! :eek:
I would assume the system has the man packages on it so when you are not sure about a command you can do a
>man <command name>
>man -a <command name> (at times as it will show all man pages)
That should give you a manual page for that command.
find is a command you should learn to use as well as grep
Anyway good luck I always hated SCO Unix Or Xenix
Oh if you do any serial port work SCO is different than any other unix when it comes to serial port interfaces.
Dunga Bee
11-01-01, 09:05 PM
Thanks for the help. I really appreciate it.
I'm not much of a UNIX fan, but that's really out of a lack of familiarity, not because there's actually anything bad about the OS.
I guess it might be time to start getting more used to it :) .
Thanks again, I'm copying your post to a text file for future reference.
:D
robertm
11-01-01, 10:22 PM
No problem happy to help.
There a very stable OS hard to crash but they do take getting used to for sure.
It helped me alot to install Linux on an old 486(at the time) and just play around if you have older system thats not much use you could Install Linux and fold while you learn some ;)
Most all unix system have the same overall tools its just where they keep them at that gets to be the pain LOL
Anyway good luck.
Been running VNC a little while now, never new about that!
Maybe I should read documentation once in a while! Yeah, right!!
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.