Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
i shared my desktop in Ubuntu (there is the server vncserver icecube:0
But the Client on my windows server shows the message "Failed to connect to server"?!
sounds like the server failed to load. for a start i don't think you used the right command line. vncserver won't "share" anything. it will create a NEW X session. see the vncserver docs for more details abou it's use.
sounds like you want to use x11vnc to export a real display.
yes, you can connect to a vnc created server from anywhere, sure. but you can't see the actual X session that is on that machines monitor. that's the point.
mh
the server is here (on my left ;-) ) and i can boot it, and work on it fine,...
but the vnc server is in the gui included i think? I needn't start it with any command...
( whats the port to connect the console? *g* << ^^ )
( must i share the console before i can connect 2 it ? )
thx sim
vncviewer doesn't exist in telnet???? what does that mean?? why has telnet come into the equation?
like i said, the connection is likely to be being refused as it does not exist. you can NOT use vncserver in the way you are trying to, i.e. to just instantly hook into the currently running X server. not going to happen. using "vncserver" to start a vnc server, will create a NEW server, you don't want to specify which display, and if you do want to, then if you're already logged on to X locally, :0 will not work as it's in use already.
to view an existing X server, try http://www.karlrunge.com/x11vnc/ or another implementation that can actually do what you want to do.
vncserver fails to run on my Ubuntu 4.10.
When I start the vncserver, with the command:
vncserver
I get proper looking output, but after checking the process information for the pid written to the $HOME/.vnc/*.pid file, there is no such process.
So it seems that my vncserver dies in the startup.
Since vncserver actually starts Xvnc, I tried to run Xvnc command directly, which resulted in segmentation fault.
Any hints to get the vncserver running?
I have the following packages installed on my Ubuntu:
libvncauth0, libvncauth-dev, vnc-common, vnc-java, vncserver, xvncviewer.
The idea is to connect from my Windows host to my Ubuntu Linux server.
Sorry for hesitating.
A quick search from ubuntu forums helped.
Ubuntu has a built in vncserver.
Now all is working fine.
The hint that helped me was the first hint on page:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.