Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
01-27-2005, 12:30 PM
|
#1
|
LQ Newbie
Registered: Jan 2005
Distribution: Ubuntu
Posts: 4
Rep:
|
VNC Server (on Ubuntu) Client on Windows
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"?!
No Firewall aktive, ping works fine!?
thanks for answers!
sim
|
|
|
01-27-2005, 12:38 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
01-27-2005, 02:49 PM
|
#3
|
Member
Registered: Nov 2003
Location: Cape Town
Distribution: Gentoo, Redhat 9, SuSE 9.0, 9.2, Win XP
Posts: 149
Rep:
|
I am not so sure about what acid_kewpie is saying. I am running vncserver on my gateway (redhad 9) and start vnc with the command
only. This works fine for me and I can connect to it via the vnc client on 2 XP machines and 2 other Linux machies.
Are you sure you are connecting to the correct server from your client? Make sure you enter icecube:0 with the trailing ":0" inlcuded.
Regards
p.n
|
|
|
01-27-2005, 02:52 PM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
01-27-2005, 03:14 PM
|
#5
|
LQ Newbie
Registered: Jan 2005
Distribution: Ubuntu
Posts: 4
Original Poster
Rep:
|
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
|
|
|
01-27-2005, 03:42 PM
|
#6
|
Member
Registered: Aug 2003
Location: Vejle, Denmark
Distribution: Mainly Debian, some Fedora for the bleeding edge fix
Posts: 92
Rep:
|
session number
Hi sim2k
did you remember to tell the vnc server which session you would like to connect to ?
contrary to windows vnc server, you have to tell it like this:
vncviwer hostname:[number]
example:
vncviewer mylinuxbox.home:1
the vnc-server start a session on number one and then just keeps counting if you start another.
good luck
|
|
|
01-27-2005, 11:43 PM
|
#7
|
LQ Newbie
Registered: Jan 2005
Location: London
Posts: 21
Rep:
|
Please check the vncserver services also and make sure these are running.
Hope it'll be working.
Bye
|
|
|
01-29-2005, 07:04 AM
|
#8
|
LQ Newbie
Registered: Jan 2005
Distribution: Ubuntu
Posts: 4
Original Poster
Rep:
|
is der any cmd which is like
check_running vncserver ?
and vncserver cmd does not exists in telnet...
any idea? vncpasswd is workingfine ;-)
but every connection is refused; Localhost:0 connections (on the linux mashine are working fine..)
greetings sim
|
|
|
01-29-2005, 07:34 AM
|
#9
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
02-10-2005, 04:00 AM
|
#10
|
LQ Newbie
Registered: Feb 2005
Distribution: Ubuntu
Posts: 2
Rep:
|
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.
Thanks!
TKW
|
|
|
02-10-2005, 04:22 AM
|
#11
|
LQ Newbie
Registered: Feb 2005
Distribution: Ubuntu
Posts: 2
Rep:
|
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:
http://www.ubuntuforums.org/showthre...&highlight=VNC
TKW
|
|
|
All times are GMT -5. The time now is 08:51 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|