Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Linux


Ubuntu Networking :: How To Setup The X11vnc

I am a linux novice with root access to an Ubunutn 10 VM which i connect to via putty. I want to connect to it via a GUI from windows xp so I have tried installing x11vnc on the machine and used realvnc from the xp client I have tried to install x11vnc on the machine as follows

sudo apt-get install x11vnc vnc-java"
x11vnc -storepasswd
iptables -A INPUT -p tcp -d 0/0 -s 0/0 --dport 5900 -j ACCEPT
iptables -A INPUT -p tcp -d 0/0 -s 0/0 --dport 5900 -j ACCEPT


This seems to load ok but removes the shell prompt. I presume the server has started and is listening on the ports so i used another putty window to reconnect to my machine and ran sockstat -l and xllvnc is listening on the 2 ports. I then downloaded realvnc windows client and entered the hostname to connect If i entered just the hostname or hostname:5900 i get a timeout error but if i enter hostname:5800 i get 'connection refused' error

View 9 Replies (Posted: March 5th, 2011)

Sponsored Links:

Related Forum Messages For Linux category:
Fedora Installation :: X11vnc : Tail: Cannot Watch /tmp/x11vnc.tray.*
By invoking x11vnc with the -gui tray option the TCL/TK GUI attempts to embed itself onto the system tray, but I encounter the error message "tail: cannot watch /tmp/x11vnc.tray.*", after the first settings dialog approved [clicked OK]. I believe that a package is still missing to be installed and this is not really a software bug. I use the XFCE version shipped along F15, and the GUI can be started but not as a docked-applet.

Posted: 18th June 2011, 09:25 PM

View 3 Replies!   View Related
OpenSUSE Network :: Setup X11VNC To Start At Boot?
Is there any guide for openSUSE 11.3 or 11.4 to make x11vnc to start everytime the pc is rebooted, I have search the forum with no results

Posted: 08-Jun-2011 17:01

View 4 Replies!   View Related
Ubuntu Networking :: How To Restart X11vnc
How can I restart x11vnc service?

Posted: September 13th, 2010

View 2 Replies!   View Related
Ubuntu Networking :: 10.10 Reverse X11vnc Color Depth Changes?
I have looked around and haven't had a lot of luck finding any information on this. I could be blind...but I'm not sure, haha.

I do a lot of remote support for my clients (I do PC repairs and training). I have recently starting suggesting to some of my basic users that they give Ubuntu a try. So far it has been very well received and they are loving it. The problem I am running into is that some of them use laptops in multiple places, and some use routers that are not easily configured. In each case it makes port forwarding a large pain in the behind to allow for remote access.

I have started using the X11vnc reverse connection and it has been working well, except for the fact that it is using high quality color depth (24bit I think?). I know when starting the connection from my end I can set the color depth, but is there any way to set the depth of a reverse connection?

Also, I understand that using just vnc over the Internet is not secure. I need to look into a decent guide to set up SSH tunneling for this. I don't suppose anyone knows of a good guide for 10.04 and 10.10?

Posted: November 15th, 2010

View 9 Replies!   View Related
Ubuntu Networking :: X11vnc - Permission Denied (publickey - Password)
I want to access my desktop from my laptop over the internet, after a while I found this [URL] so I followed the instructions "Access your PC over the internet" and "Logging in from another Ubuntu PC". Everything goes well until I try to run the shell script and get this: laptopuser@123.456.7.890's password:

I tried my luck with the passphrase associated with the rsa key, with the password of the laptopuser@laptop and with the password of the desktopuser@desktop but I keep getting Permission Denied (publickey, password).

Posted: September 22nd, 2010

View 5 Replies!   View Related
Ubuntu Networking :: X11vnc Not Passing Upper Case Characters?
Using 10.04 and x11vnc I'm finding that upper case characters are being sent as lower case. I've tried multiple keyboard configurations with no success

Posted: April 1st, 2011

View 1 Replies!   View Related
Ubuntu :: Connecting Windows To Over X11vnc With Ssh?
Im trying to get vnc working over ssh between my windows pc and ubuntu server 11.04 natty over the internet. I have setup everything and got it all running automatically at boot on ubuntu. From within the local network i can use ssvnc and connect from a 2003 server to the ubuntu machine fine. Remotely I can connect and verify password over ssh but after that it tries to start tightvnc and fails. The issues seem to be on the windows side establishing the local connection to the tunnel or something I'm not a guru and I apologize if this is a windows issue but i think its likely that its a networking problem i need to forward or open a port somewhere but i cant find any easy to understand instructions so far in getting this running

This is the output in the putty terminal after running ssvnc slightly modified ive taken out my real username and server address I use user@server:0 as the arguments for ssvnc

Looking up host "server"
Connecting to server-ip port 22
Server version: SSH-2.0-OpenSSH_5.8p1 Debian-1ubuntu3
We claim version: SSH-2.0-PuTTY_Release_0.60
Using SSH protocol version 2


Does anyone have any ideas why the connection fails at the point of using the tunnel? is it a problem on the ubuntu or windows side?

Posted: July 24th, 2011

View 2 Replies!   View Related
Ubuntu Installation :: Where Is The X11vnc Located In 11.04
I am working with Ubuntu for the first time since school and it was an intro class. I am trying to setup a file server for part of a school project. I installed x11vnc and am trying to set the password. However everywhere I look says the file would be located at ~/.vnc/passwd. However when I ls from the home directory .vnc does not exist. When I type out vncpasswd ~/.vnc/passwd I get returned a message The program 'vncpasswd' can be found in the following packages:

* tightvncserver
* vnc4server

how I can get this setup? Am I using old information that is no longer accurate or am i messing this up somewhere?

Posted: May 9th, 2011

View 3 Replies!   View Related
Ubuntu :: Configuring X11vnc To Run At The Login Screen?
I'm trying to set up x11vncto run at the login screen. This is so that the computer can be powered up remotely using Wake-On-LAN and then controlled remotely. I'm following this tuorial: [URL]I'm having some trouble whit the section about adding to the GDM config files. The tutorial asks me to add

#to get remote vnc to not die after login


Posted: September 5th, 2010

View 2 Replies!   View Related
Ubuntu :: Multi Session Login With X11vnc?
I'm creating a new thread based on this post by batagy:



So I have running x11vnc as service without any problem (running on Solaris 10 and SLES10 too). I'm using the x11vnc's inbuilt "user chooser" screen (that little black screen), these command line options:

x11vnc -inetd -unixpw -users unixpw= -display WAIT:cmd=FINDCREATEDISPLAY-Xvnc.xdmcp -env X11VNC_CREATE_GEOM=1248x900 (plus a couple of other options that are not interesting here)

My question is related to the wanted VNC screen size. By default, I set the defauls screen size to 1248x900, as can be seen above.

Currently , when a user want to personalize his/her screen size to be started, he can do it this way: when the small black authentication window is appearing first, after his username, he's entering a colon, then specify the wanted resolution in this format: geom=1600x1200.

My question: is it possible somehow to set automatically the preferred screen size, without entering this ":geom=1600x1200" string in the authentication window? I mean to set it per user, without modifying the service options. I mean, for example setting the X11VNC_CREATE_GEOM or FD_GEOM variables in the user's home ".profile" for example?

Posted: May 31st, 2010

View 9 Replies!   View Related
Ubuntu :: X11vnc Keeps Repainting After Lucid Upgrade
I upgraded to Lucid yesterday. All of them solved, except this one: when I connect to my kubuntu PC from a Windows PC and launch x11vnc on the remote and TightVNC on the local, it keeps repainting the window making it unusable. Nothing gets printed to the log when the repaintings occur. Using -noxdamage or -nowf doesn't change a thing. -ncache doesn't work (I get an "ERROR: No active KDE sessions!").

Posted: May 6th, 2010

View 6 Replies!   View Related
Slackware :: X11vnc Slackbuild For 13.1?
it seems that there is no x11vnc slackbuild on sbo for 13.1. just wondering if there is something else people use to share the :0 desktop, or should i start looking into the 13.0 slackbuild

Posted: 08-24-2010, 07:18 AM

View 4 Replies!   View Related
Ubuntu :: No Input Registered When Using X11vnc Server And Chicken Of The VNC
I'm using Ubuntu 10.04, and I'm trying to VNC into my Ubuntu box from my MBP. I can connect just fine, however, I am unable to register any mouse clicks or keyboard input on the resulting desktop. I'm launching it as follows: x11vnc -nomodtweak -scale 9/10 I can log in using my Windows box and UltraVNC and use input with no problem.

Posted: February 10th, 2011

View 6 Replies!   View Related
Ubuntu :: Using X11vnc And Ssvnc With ESD For Remote Desktop With Audio
At the moment I'm running Putty on a windows box at work to SSH in and tunnel port 5900, then I execute

x11vnc -xkb -ncache 10 -safer -localhost -nopw -once -display :0
from the shell.

I run ssvnc and tell it to connect to localhost, and we're good for remote desktop.

The next step is to push my luck and see if I can get streaming audio as well.

ssvnc is supposed to automate many of the required processes, making the use of a standalone ssh client like Putty redundant - it bundles a similar program, passing commands through ssh from its GUI

Under options/advanced it has a facility to 'Enable ESD/ARTSD' audio tunnelling and it bundles a windows-executable (using cygwin library) version of ESD, so it just needs some configuration.

When you click that option there's a documentation pane that says you can put


esddsp -s localhost:16001 gnome-session

in your ~/.xsession startup file but since I use my Lucid box for local sound as well I'm not sure that's ideal as I want to use JACK, etc. and it looks like this command would route all audio to network, all the time.

ssvnc suggests using "x11vnc -create" mode to start it up in a virtual X session through Xvfb but it doesn't really go into any more detail as to how you do this.

I've installed Xvfb through synaptic, and that's as far as I've gotten.

Posted: August 11th, 2010

View 3 Replies!   View Related
OpenSUSE Network :: 11.2 Xen Bridged Networking - Setup Multiple DomU Through The Default Bridge Setup
Im trying to setup multiple domU through the default bridge setup. I am able to access only one of them through the network at a time. If you ping one of the domU it works perfectly but you cannot ping any of the others until you stop pinging the one and even then it takes a bit before you can. Ive looked around for a while and seen similar problems but nothing ever seems quite the same. Im probably missing something really stupid. Or is this the way the bridge is supposed to behave? Do i need to use a routed virtual network?


Posted: 04-Feb-2010 15:31

View 1 Replies!   View Related
Ubuntu Servers :: Using X11vnc On Virtual Private Server To Connect
I have a virtual private server that I am trying to connect to using x11vnc. I ran this through ssh to setup gnome

sudo apt-get install gnome-core
sudo apt-get install gdm
sudo /etc/init.d/gdm start
sudo dpkg-reconfigure xserver-xorg

I later ran sudo apt-get install ubuntu-desktop to see if that would help.

#cat /etc/issue
Ubuntu 10.04.1 LTS
#sudo startx
Fatal server error:
xf860OpenConsole: Cannot open /dev/tty0 (No such file or directory)
I assume this is because it probably doesn't have a video card.

Posted: September 26th, 2010

View 4 Replies!   View Related
Ubuntu :: X11vnc Server Logs Out To Login Screen After 1 Minute?
I have x11vnc server set up on my desktop PC. I can boot the computer and connect at the login screen if I want to. I can login to my computer as usual. But after about 1 minute of logging in, the computer logs off as if pressing Ctrl+Alt+Backspace and returns me to the login screen. This cycle repeats when I login and I have to kill the x11vnc process or remove the command from /etc/gdm/Init/Default.Have tried so many things now but the end result is the same. I have Ubuntu 10.10 fully updated and x11vnc 9.10-1 from the default repos. I am using the following command in the /etc/gdm/Init/Default file:


/usr/bin/x11vnc -rfbauth ~/.vnc/passwd -rfbport 5901 -display :0 -forever -bg

I don't think it matters now whether I add KillInitClients=false into /etc/gdm/gdm.conf-custom or /etc/gdm/gdm.conf because of the x11vnc version I have. The manual says its not really needed. But I have tried this too with no better luck.The computer will still log me out after about a minute of logging in. It can be between 1 min to 1.5 mins.Running out of ideas and have tried the -noxfixes and -reopen commands.

Why does x11vnc crash out (or it may be gdm or x server?) after about a minute of logging in? If I am currently viewing my desktop through VNC viewer on another computer, it will still crash out after 1 min of log in, and lose the connection. I can reconnect through VNC again but I have to log back in to the remote computer and it will just log out after another minute.At last, in 2 days I have finally solved it. As simple as creating my own version. The x11vnc 9.10-1 version my default Ubuntu 10.10 repos is buggy. Here's my fix (I used this site):

1. Downloaded latest x11vnc dev build from above site (x11vnc-0.9.13-dev.tar.gz at time of posting)
2. Extract it
3. Open Terminal > sudo -s > enter admin password
4. cd LocationOfExtracted folder


Posted: November 3rd, 2010

View 9 Replies!   View Related
Fedora :: X11vnc Running A Service When Gdm Starts?
I want to run 1 instance of x11vnc at boot after gdm starts, itsa remote vnc server that will work without me first loggin in

Im just not sure where or how to start it when computer boots? i can run it on another tty and connect so its all setup but not sure what the "right" was is.

Posted: 21st August 2011, 05:53 PM

View 5 Replies!   View Related
OpenSUSE Network :: Cannot Start X11vnc From Remote Via Ssh (11.4 Gnome)
Opensuse 11.4 and Gnome

I cannot get x11vnc to start via ssh. I keep running in to this MIT magic cookie.

I have tried the -findauth and -auth guess but I am told .Xauthority is not set.

ps wwaux | grep auth which worked for me under KDE does not help.

I am using x11vnc so that I can export the active seesion :0

Posted: 23-Aug-2011 12:44

View 1 Replies!   View Related
CentOS 5 :: X11VNC - Connecting By Client Login In X Screen
Before we use CentOS 4 and all work fine. We start x11vnc by ssh like root. And after this connect by client login in X screen. In CentOS 5 this way don't work. For connect we must login by local from keyboard, start x11vnc ssh by logined local user, and after this we may work, but can't change users.

Posted: 2010/3/17 5:02

View 2 Replies!   View Related
Fedora :: X11vnc Screen Size Don't Update Past 800x600?
How come on x11vnc, with Fedora 12 PPC/x86/x64, my screen sizes can't be greater than 800 x 600, and they don't update when I change them in Displays. On my Ubuntu installations the x11vnc screen sizes update and can be basically any size selectable in Monitors.

Posted: 10th February 2011, 09:55 AM

View 1 Replies!   View Related
CentOS 5 Server :: Gnome System Menu Causes Crash For Either X11vnc Or Freenx?
Sorry if this is in the wrong group but its a bit of an odd one but I think comes under Server Support.. I've set up both x11vnc and freenx in an attempt to eliminate either as a cause for this issue. The problem is that when I log in with either, I can get into the desktop and run things from the menus but when I make the System menu active - the session hangs and you have to killall for the freenx or vnc processes.

I was wondering if anyone might be able to help me investigate this and hopefully fix it as I'm not sure where to look given that both types of remote connection seem to have the same issue.

Posted: 2009/7/28 18:19

View 4 Replies!   View Related
Networking :: Feasible / Desirable To Setup A Network Of Virtual Machines To Use As An Environment To Learn Networking?
I've been learning linux for a while now with half an eye on making a career out of it in future. One sizeable gap in my knowledge at the moment is networking. Is it feasible/desirable to set up a network of virtual machines to use as an environment to learn networking? My budget is non-existent so I was hoping to be able to get a basic understanding of the principles from installing a few desktops, a virtual gateway etc on VMware workstation on my laptop, and doing a lot of reading online.

Is this feasible, or will I just end up learning about virtual networks instead of real ones? Also how much power would be required, because my 3GB RAM lappy has just gone bang and all I have now is a (new) 1GB RAM lappy.

Posted: 11-18-2010, 04:13 PM

View 10 Replies!   View Related
Networking :: Setup Ubuntu As Router?
how to setup ubuntu as router. i already try to setup but it doesn't work.

my situation is to create ubuntu as router. i have two network card etho and eth1. i want to create eth0 in DMZ and eth1 only can only access in internal.

Posted: 04-05-2010, 01:27 PM

View 2 Replies!   View Related
Copyright 2005-08, All rights reserved