LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-18-2004, 10:11 PM   #1
Red Squirrel
Member
 
Registered: Dec 2003
Distribution: FC9 on main server
Posts: 753

Rep: Reputation: 36
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 )
 
Old 02-18-2004, 10:15 PM   #2
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
do a "netstat -tulanp" and see which port vncserver is running, if its running.
 
Old 02-19-2004, 06:01 AM   #3
Marius2
Member
 
Registered: Jan 2004
Location: Munich
Distribution: SuSE 9.2, 10.2, 10.3, knoppix
Posts: 274

Rep: Reputation: 30
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
 
Old 02-19-2004, 06:02 AM   #4
Marius2
Member
 
Registered: Jan 2004
Location: Munich
Distribution: SuSE 9.2, 10.2, 10.3, knoppix
Posts: 274

Rep: Reputation: 30
Come to think of it, you say vnc server is not running? What does a
ps -aux say (as root)? Any Xvnc running?
 
Old 02-20-2004, 08:55 PM   #5
Red Squirrel
Member
 
Registered: Dec 2003
Distribution: FC9 on main server
Posts: 753

Original Poster
Rep: Reputation: 36
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.

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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
accepting isdn ppp connections tekdog Linux - Networking 1 06-03-2004 07:40 AM
ftp/telnet not accepting connections mstembri Linux - Newbie 6 10-05-2003 02:11 PM
port 110 isn't accepting connections member57 Linux - Networking 8 07-23-2003 09:11 PM
proftpd not accepting outside connections sohmc Linux - Software 0 07-18-2003 07:40 AM
FTPd has stop accepting connections shiny heed Linux - General 1 05-02-2003 06:20 PM


All times are GMT -5. The time now is 03:41 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration