Author Topic: VNC  (Read 790 times)

KernelPanic

  • VIP
  • Member
  • ***
  • Posts: 1,878
  • Kudos: 222
VNC
« on: 14 September 2002, 01:08 »
Does anybody know how to use VNC?
I don't have particular problem, I am just generally clueless but want to use it.
Contains scenes of mild peril.

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
VNC
« Reply #1 on: 14 September 2002, 04:57 »
What do you want to know about it? I've been using it for several years now, although I usually only use it to remote control Windows machines (don't need it for *NIX machines).  Basically you have to install the VNC server on the machine you want to control and then you can remote control it from either the VNC client or from any web browser.  

Or do you want to set up the vncserver on a *NIX box? Which you *can* do but like I said, I prefer not to. If you have VNC properly installed on your *NIX box you would start the server by typing "vncserver :1" which should prompt you for a password to be used by the client. On the client you would enter "servername:1" to connect to the server (or in the web browser you would use the url "http://servername:5801").  On Windows servers you would use ":0" or "5800" as the port. UNIX you can use any number ":1", ":2", ":3", etc and "5801", "5802", "5803", etc for the browser, but it must match between client and server.

See "man vncserver" for more info...
Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
VNC
« Reply #2 on: 14 September 2002, 07:20 »
void mains post translated into a stupidified form.

You isntall the vncserver on the computer you want to view and control. You install the vncviewer on the computer you want to be looking/controlling from.

if you have the vncviewer in linux than type at the commandprompt:
# vncviewer 192.168.0.4
replace 192.168.0.4 with whatever you vncserver's IP address is.
That is the simplest way to use it.

[ September 13, 2002: Message edited by: Master of Reality / Bob ]

Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
VNC
« Reply #3 on: 14 September 2002, 07:33 »
Uh, that's not going to work if he wants to remote control a *NIX box that already has X running on :0, which is why I gave him more information. I assumed since he posted the question in the *NIX forum that is what he was intending to do.

Did you know that you could use your web browser as a VNC client?  Yep, you don't even need the VNC client program installed. Use Konqueror with JavaScript and Java enabled and remote control your Windows box by going to this URL:

http://xxx.xxx.xxx.xxx:5800

Repace the xxx.xxx.xxx.xxx with your IP address or host name if it is resolvable by DNS. Or use IE on Windows machines and use the same syntax. Of course you still need the VNC server installed on the machine you want to control.

[ September 13, 2002: Message edited by: void main ]

Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
VNC
« Reply #4 on: 14 September 2002, 07:58 »
oh.... i see. hmmmmmmm i wonder what he is gonna do with it... I think he has windows, mandrake, and slackware but i dont know if they are all on separate computers or not.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

KernelPanic

  • VIP
  • Member
  • ***
  • Posts: 1,878
  • Kudos: 222
VNC
« Reply #5 on: 14 September 2002, 15:31 »
Here is what I will be using it for:

Slackware Server
Windows/Mandrake client

I will be using mandrake though as the viewer, because I try not to use my windows (p)OS.

I think you have told me what I need to know void main, the detail was appreciated     I'll tell you how I got on later today...

[ September 14, 2002: Message edited by: Tux ]

Contains scenes of mild peril.

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
VNC
« Reply #6 on: 14 September 2002, 19:15 »
Tux, it's good to test the vncserver on your Linux box and the only time it comes in handy is if you need to access X apps on your server from your Windows box without installing an X server on your Windows box. But as I've said, I usually have no need for this because if I am not dependant on X apps, and if there is one I really need access to and I am on a Windows machine I would prefer to install and use Cygwin on that Windows box and have the remote X app display on the Cygwin X server running on the Windows box.  

But if you can't install Cygwin and absolutely need to run a remote X app, for a one time quick and dirty access you can just log in to the remote Linux box, do a "vncserver :1", then open up IE on the local Windows client and do a "http://xxx.xxx.xxx.xxx:5801" and you can remote control an X session to run X apps without installing *any* extra software on the Windows client.
Someone please remove this account. Thanks...

KernelPanic

  • VIP
  • Member
  • ***
  • Posts: 1,878
  • Kudos: 222
VNC
« Reply #7 on: 15 September 2002, 02:32 »
pah, perl is giving me headaches but i'm nearly there...
Contains scenes of mild peril.

KernelPanic

  • VIP
  • Member
  • ***
  • Posts: 1,878
  • Kudos: 222
VNC
« Reply #8 on: 15 September 2002, 03:45 »
Well, i've finished setting up VNC. Thanks for all your help. Now that i've set it up I know that I dont really need it but, it has been an experience.
SSH will do me for all my admin tasks, but anyway VNC worked, Thanks    

EDIT - I can't spell for sh*t

[ September 14, 2002: Message edited by: Tux ]

Contains scenes of mild peril.