LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 11-26-2003, 02:46 PM   #1
Zagi
LQ Newbie
 
Registered: Jul 2003
Posts: 7

Rep: Reputation: 0
Remote connection---HELP!!!!!!


Hi,

I have SUSE 9, and I am trying to connect to UNIX network.
Here is procedure that I type:

xhost +
telnet remotemachine
setenv DISPLAY IPadress:0.0

But when I try to start any application on remote machine I get error
Error: Cannot open connection to window server: 159.107.78.39:0.0

This started to happen when I switch from regular modem connection to ISDN connection.

Any idea how to fix this.
Thx.
Petar
 
Old 11-26-2003, 02:57 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Do you have any firewall rules blocking port 6000?
iptables -Ln
 
Old 11-26-2003, 04:02 PM   #3
Zagi
LQ Newbie
 
Registered: Jul 2003
Posts: 7

Original Poster
Rep: Reputation: 0
I receive this printout????

iptables: Table does not exist (do you need to insmod?)
 
Old 11-26-2003, 04:05 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Well it looks like you don't have a firewall running. Have you asked your ISP if there are any blocks on ports to your machine?
 
Old 11-26-2003, 04:12 PM   #5
Zagi
LQ Newbie
 
Registered: Jul 2003
Posts: 7

Original Poster
Rep: Reputation: 0
No I have not. But it is not a real ISP, I am trying to connect to may station at work. I was able to do that before with modem, and I spoke to a fried he can still connect, but for some reason I can't do that any more. Now I am using ISDN????

by
Petar
 
Old 11-26-2003, 04:29 PM   #6
Zagi
LQ Newbie
 
Registered: Jul 2003
Posts: 7

Original Poster
Rep: Reputation: 0
My bad. If I type iptables -L I get this printout

linux:~ # iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT udp -- anywhere 255.255.255.255 udp spt:bootps dpt:bootpc
ACCEPT icmp -- anywhere anywhere icmp echo-request
ACCEPT udp -- ns2.al.sw.ericsson.se anywhere state NEW udp spt:domain dpts:1024:65535
ACCEPT udp -- ns1.al.sw.ericsson.se anywhere state NEW udp spt:domain dpts:1024:65535
input_ext all -- anywhere anywhere
input_ext all -- anywhere anywhere
ACCEPT all -- anywhere anywhere

Chain FORWARD (policy DROP)
target prot opt source destination
reject_func all -- anywhere anywhere
reject_func all -- anywhere anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere state NEW,RELATED,ESTABLISHED

Chain input_ext (2 references)
target prot opt source destination
reject_func tcp -- anywhere anywhere tcp dpt:ident flags:SYN,RST,ACK/SYN
LOG tcp -- anywhere anywhere tcp flags:SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SuSE-FW-DROP-NEW-CONNECT '
reject_func all -- anywhere anywhere

Chain reject_func (4 references)
target prot opt source destination
REJECT tcp -- anywhere anywhere reject-with tcp-reset
REJECT udp -- anywhere anywhere reject-with icmp-port-unreachable
REJECT all -- anywhere anywhere reject-with icmp-proto-unreachable

Can this help a bit.

Thx.
Petar
 
Old 11-27-2003, 12:12 PM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
That makes more sense. Your default input policy is "DROP" so most connections are dropped. Try adding a rule like:
iptables -A INPUT -s ip.of.other.machine -p tcp --dport 6000 -j ACCEPT

Then try agan.
 
  


Reply



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
Can't SSH to remote machine: Connection closed by remote host Avatar Linux - Networking 35 10-23-2017 12:21 AM
Remote connection? ctroyp General 8 10-08-2005 01:04 PM
Remote Connection through XDCMP asifqaiyum Linux - General 2 07-28-2005 03:02 PM
remote connection??? jp-lack Linux - Networking 4 03-19-2005 01:28 PM
Remote desktop connection podgehb Linux - Newbie 3 11-02-2004 06:17 AM

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

All times are GMT -5. The time now is 10:53 PM.

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