LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   VNC not accepting connections (https://www.linuxquestions.org/questions/linux-newbie-8/vnc-not-accepting-connections-147847/)

Red Squirrel 02-18-2004 10:11 PM

VNC not accepting connections
 
I set VNC in linux to run as a service, set a password but I can't connect from my windows VNC. It does not seem to be running in linux even though it should be, according to the services. I also turned off the firewall for now, so I don't think anything is blocking it. I'm not sure how to use the firewall, so to make things easier I turned it off for now, and I'll do some google searching to learn how to use iptables. (this is on a lan, so haX0rs don't need to get excited over this post :p )

Demonbane 02-18-2004 10:15 PM

do a "netstat -tulanp" and see which port vncserver is running, if its running.

Marius2 02-19-2004 06:01 AM

There is a difference between connecting to win vnc server and
xvnc: while under win you'd give the ip adress, you have to give
ip adress AND desired display number to xvnc in the form
(example ip) 192.100.100.1:1 where 1 is the display. xvnc will
spit the number when you start it (via vncserver), you can of
course have more than one display by repeatedly calling vncserver
(will count 1,2 ... and so on)

BTW Are you the Red Squirrel programmer? Nice emulator, sadly
I never got Chocks Away! to run.


HTH

Marius2 02-19-2004 06:02 AM

Come to think of it, you say vnc server is not running? What does a
ps -aux say (as root)? Any Xvnc running?

Red Squirrel 02-20-2004 08:55 PM

Yep it's running.

root 1104 0.0 0.9 6560 4764 ? S 21:40 0:00 Xvnc :1 -desktop

By the way thanks for that ps -aux command, will be helpful. Been using ssh lately instead of going downstairs. I'm trying to get to know how to do remote administration better that way if ever I get myself a dedicated server for my site I'll somewhat know what I'm doing. :D

I also got it to work. I did not know that I had to type the IP and the display. I was typing the hostname only. Now I forget the password, but I'll see if I can figure it out if not I'll post. :D


All times are GMT -5. The time now is 10:19 AM.