LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-19-2003, 11:20 PM   #16
Guru3
Member
 
Registered: Sep 2003
Location: //home/sweden
Distribution: RedHat 9, Fedora Core 1
Posts: 360

Rep: Reputation: 31

They got the same subnet mask? Right? Another thing, check /etc/inittab and tell us your runlevel. Then goto /etc/rc.d/rcX.d where X is your runlevel and see if it says a file named SYYsshd or SYYsshd where YY is some 2 digit number between 1 and 98. If it isn't there, that's half the problem, no ssh is being started... Next, if it's there to COMPLETELY remove ANY FIREWALL type "service iptables stop" in the console. That command will shutdown iptables, and thereby remove your firewall, 100%. If Xvnc or SSH doesn't work after that (assuming they're running) make sure your typing in the IP address correctly!!! Once you think that everything is running, give us the output of a "ps -ef" and we'll go from there...
 
Old 10-20-2003, 12:24 PM   #17
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
sshd is started - you can see that from the netstat.

What IPs are on which machine - client and server?

You look like you are sshing to your own machine and I can't see why.
 
Old 10-20-2003, 12:27 PM   #18
Guru3
Member
 
Registered: Sep 2003
Location: //home/sweden
Distribution: RedHat 9, Fedora Core 1
Posts: 360

Rep: Reputation: 31
I was simply suggesting sshing to itself to verify that the ssh deamon was working corectly.
 
Old 10-23-2003, 02:13 PM   #19
funkymunky
Member
 
Registered: Jun 2003
Location: Austin, Texas
Distribution: Fedora Core 8, 32-bit
Posts: 126

Original Poster
Rep: Reputation: 15
sorry im late

okaaay, im back...sorry if u think i dozed off the subject, i was at college, and i cant access my mail there....

anyway, now im back, ill let u know as soon as i boot my linux box...which will be a few secs form now...
btw, the only monitor i hav is now in need of de-gaussing.. the depths of poverty
 
Old 10-23-2003, 05:27 PM   #20
funkymunky
Member
 
Registered: Jun 2003
Location: Austin, Texas
Distribution: Fedora Core 8, 32-bit
Posts: 126

Original Poster
Rep: Reputation: 15
WEEELLLLLL finally i got ..thanx to your help.... Xvnc running..that means no more monitor switching...!

SSH works too!

and you know..all this happened only AFTER "service iptables stop"

any idead what was going wrong??

thanx a lot, you guys, dave and guru....if you have a question , ill TRY to answer it ))))))

ciao
 
Old 10-23-2003, 11:08 PM   #21
Guru3
Member
 
Registered: Sep 2003
Location: //home/sweden
Distribution: RedHat 9, Fedora Core 1
Posts: 360

Rep: Reputation: 31
I'll just point this out: if service iptables stop fixed it, something was wrong with lokkit... And I know that lokkit works in RedHat 8. Oh well...
 
Old 10-23-2003, 11:50 PM   #22
mac_man25
LQ Newbie
 
Registered: Oct 2003
Location: St. Paul, MN, USA
Distribution: Red Hat 9, Yellow Dog 3 (AKA Red Hat 8 for PPC)
Posts: 6

Rep: Reputation: 0
Stopping Iptables worked for me, now I have to figure out how to allow the VNC ports.... Hummmm
 
Old 10-24-2003, 05:07 AM   #23
funkymunky
Member
 
Registered: Jun 2003
Location: Austin, Texas
Distribution: Fedora Core 8, 32-bit
Posts: 126

Original Poster
Rep: Reputation: 15
well, the fact is that VNC ISNT running, but ssh is....

and the problem with lokkit is that u cant change anything! once u make changes and exit and come back after that, you find that the settings are still the same.....

iv tried this with lokkit on at least 3 other machines running lokkit on redhat 9.0 to redhat 8.0, but they all have the same problem..

and how do i make sure that the vnc ports are alowed? lokkit wont be any good here, it dosent seem to work.....is there any config file that specifies the ports to be alloweD?

it worked fine when i had the vnc server running in windows on the other machine, and had started the client from this machine...i suppose that means that the vnc prot is being allowed?
 
Old 10-24-2003, 12:22 PM   #24
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Lokkit is pretty useless - just make your rules by following an iptables tutorial.
 
Old 10-28-2003, 12:30 PM   #25
Guru3
Member
 
Registered: Sep 2003
Location: //home/sweden
Distribution: RedHat 9, Fedora Core 1
Posts: 360

Rep: Reputation: 31
Even though lokkit gives you the defaults everytime you run it, it still has worked for me.
 
Old 08-20-2004, 08:08 AM   #26
Bjorkli
Member
 
Registered: Jul 2003
Location: Norway
Posts: 65

Rep: Reputation: 15
Eh. Some hints to make vnc work... (I take it the other machine is windows).. (Based on fedora core 1).

To make VNC work:
==============
Log into using Putty or something. Type "vncserver :1" as normal user. This will require port 5901 to be open on firewall (Get firestarter from http://sourceforge.net/projects/firestarter/ to make it simple to open ports, instead of trying to work the iptables manually )
Download windows vnc viewer from www.realvnc.com to your other machine, and type in <vnc server ip>:1 Type 'gnome-panel' in vnc window to make something graphical like gnome start.

(If you have a router, you have to redirect port 5901 to the vncserver machine...Make also sure that windows or router doesn't have a active firewall that prevents port 5901.)

All done...

SSHD (openssh).
============
Make sure it is running (as root, type "service sshd restart" as mentioned above in other post.) (Do this also if you have troubles connecting using PuTTY, since it looks like the latest version doesn't allways boot right when restarting the machine.) (Download putty from www.openssh.org and follow links to "windows") Use this instead of telnet, since telnet is outdated.

Also. Download http://www.webmin.com/ to make administration of sshd (and a whole lot of other services) easier....

Last edited by Bjorkli; 08-20-2004 at 08:09 AM.
 
  


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
Level & Checks block Services (Telnet, VNC...) kt8993 Mandriva 2 10-03-2004 09:35 PM
vnc over ssh works fine but then i have X problem... suhis Linux - General 1 08-17-2004 04:33 PM
rlogin & telnet differences Greg_courageous Linux - Software 1 04-27-2004 04:52 AM
rlogin, ftp, telnet sknoxy Linux - Newbie 10 09-22-2003 12:33 PM
vnc works on root but greyscreen for user Johnlester199 Linux - General 6 10-15-2002 06:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration