Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 46

Thread: HOWTO: Server Side VNC Client

  1. #11
    Join Date
    Dec 2005
    Beans
    135

    Re: HOWTO: Server Side VNC Client

    Thanks for the tip. I discovered that it's actually really easy to do with x11vnc: you just put the Java .class and other associated files (including an "index.vnc" that's got the same content as your "index.html") in /usr/local/share/x11vnc/classes, then run x11vnc with the -http option. So I know it works, and it works nicely.

    By the way, while it's a bit easier to use the built-in VNC server (vino), x11vnc uses up a lot less processor time on my machine (~10-20%, vs. ~40-50% or more for vino). It might be worth adding x11vnc to the howto in case people want to use it instead...

  2. #12
    Join Date
    Dec 2005
    Beans
    231
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HOWTO: Server Side VNC Client

    Quote Originally Posted by chenel
    Thanks for the tip. I discovered that it's actually really easy to do with x11vnc: you just put the Java .class and other associated files (including an "index.vnc" that's got the same content as your "index.html") in /usr/local/share/x11vnc/classes, then run x11vnc with the -http option. So I know it works, and it works nicely.

    By the way, while it's a bit easier to use the built-in VNC server (vino), x11vnc uses up a lot less processor time on my machine (~10-20%, vs. ~40-50% or more for vino). It might be worth adding x11vnc to the howto in case people want to use it instead...

    Good to know, and thanks for the tip about X11vnc. What port do you connect to for the client? I've got apache running, and tomcat, and ssh, and http-tunnel, and webmin, and a whole host of others. Right now I'm worried about whether I have a decent port open...
    If the box says "Needs Windows 2000 or better" why won't it work on Linux?

    There are 10 types of people...those who understand binary, and those who don't.

  3. #13
    Join Date
    Dec 2005
    Beans
    135

    Re: HOWTO: Server Side VNC Client

    Quote Originally Posted by dragonfyre13
    What port do you connect to for the client?
    By default it binds to 5800 + display number (so 5800 for me). In reading another howto (here) I found a good way to set up x11vnc to start when a user logs into GDM, and this particular script stores the port that vnc is using to ~/.vnc/port.txt -- you might check it out. Anyways, you might be able to set the port number, but I couldn't find any indication of that in a quick search. However you said that you get nothing when you try port 5800 so hopefully it should be open.

    EDIT: use "netstat" to see what ports are in use.
    Last edited by chenel; January 5th, 2006 at 10:16 PM.

  4. #14
    Join Date
    Dec 2005
    Beans
    231
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HOWTO: Server Side VNC Client

    Quote Originally Posted by chenel
    By default it binds to 5800 + display number (so 5800 for me). In reading another howto (here) I found a good way to set up x11vnc to start when a user logs into GDM, and this particular script stores the port that vnc is using to ~/.vnc/port.txt -- you might check it out. Anyways, you might be able to set the port number, but I couldn't find any indication of that in a quick search. However you said that you get nothing when you try port 5800 so hopefully it should be open.

    EDIT: use "netstat" to see what ports are in use.

    Yeah, I tried netstat, and tried the tutorial that you pointed to. I've actually got x11vnc running right now, because I followed that tutorial. Problem is, I didn't know to copy the files over, and so I got nothing when I dialed in to port 5800. Oh, and you can set the VNC port with one of the command line commands. I had it at 443 for a while. I can dig the command up if you want it.
    If the box says "Needs Windows 2000 or better" why won't it work on Linux?

    There are 10 types of people...those who understand binary, and those who don't.

  5. #15
    Join Date
    Dec 2005
    Beans
    135

    Re: HOWTO: Server Side VNC Client

    I think you can also leave the files wherever you want them, and use x11vnc -http-dir=[directory you specify], if that's more convenient.

    Does it work now?

  6. #16
    Join Date
    May 2005
    Beans
    366

    Re: HOWTO: Server Side VNC Client

    I was looking for a Java Based VNC Client, that someone could simply connect to through my existing apache web server
    Please note that if you don't have this requirement it is much easier install vncserver and vnc-java. You can connect to the vncserver at http://your-ip:580x, where x is the display number. You can have multiple vnc displays simultaneously if you so desire.

  7. #17
    Join Date
    Dec 2005
    Beans
    231
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HOWTO: Server Side VNC Client

    Quote Originally Posted by sciurus
    Please note that if you don't have this requirement it is much easier install vncserver and vnc-java. You can connect to the vncserver at http://your-ip:580x, where x is the display number. You can have multiple vnc displays simultaneously if you so desire.

    Yes, but I was looking for a way to embed it in the already existing website. Actually, if you read the recent discussion, this is what we have been commenting on. The problem comes when you only have port 5900 enabled, or something similar.
    If the box says "Needs Windows 2000 or better" why won't it work on Linux?

    There are 10 types of people...those who understand binary, and those who don't.

  8. #18
    Join Date
    Dec 2005
    Beans
    231
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Talking Re: HOWTO: Server Side VNC Client

    Quote Originally Posted by chenel
    I think you can also leave the files wherever you want them, and use x11vnc -http-dir=[directory you specify], if that's more convenient.

    Does it work now?
    Flawlessly

    Thanks. I'll have to file this away in Tomboy.
    If the box says "Needs Windows 2000 or better" why won't it work on Linux?

    There are 10 types of people...those who understand binary, and those who don't.

  9. #19
    Join Date
    Dec 2005
    Beans
    135

    Re: HOWTO: Server Side VNC Client

    Sweet. Glad it worked out for you.

  10. #20
    Join Date
    Jan 2006
    Location
    Australia
    Beans
    152
    Distro
    Ubuntu 6.10 Edgy

    Re: HOWTO: Server Side VNC Client

    This tutorial is amazing! thank you very much. I have been struggling to work out how to do this for so long.

    You have saved me many painful hours!
    hen3rz
    Registered Linux user #407548

Page 2 of 5 FirstFirst 1234 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •