Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 01-12-2003, 10:45 PM   #1
LQ Newbie
Registered: Jan 2003
Posts: 6

Rep: Reputation: 0
xinetd, remote X display, hosts.allow

I have two computers, one fast (the remote) and one slow (local) on a
nated network behind a router. I am using Mandrake 9.0. I have set
up the remote machine to allow remote X sessions. I am successful in
getting it to run on the local machine so that the X display is on the
local machine but I am actually working on the remote fast machine.

I would like to tunnel the local X session through a SSH tunnel (not just an X app butthe whole display) to the fast machine. In setting this up I discovered
that even though I set my hosts.allow on the remote machine to only say:

sshd: slowmachinehostname : ALLOW

and my hosts.deny to:


It would still allow my slow local machine to connect in the raw to the remote machine. Mandrake uses xinetd and it does utilize the hosts.allow and hosts.deny. The local machine cannot telnet to the remote machine with the above configeration.

Two questions:
1. How do I get my remote machine to not allow X traffice in the raw.
2. How do I can get the X display to tunnel through SSH.



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
exim does not deliver on remote hosts otoomet Debian 2 01-02-2005 12:56 PM
remote ssh commands on multiple hosts evilchild Linux - Software 6 08-12-2004 10:48 PM
Camserv disconnects remote hosts automatically Adrohak Linux - Software 0 07-17-2004 02:04 PM
Maddening sendmail problem -- cant send mail to remote hosts! HELP! Bungo2000 Linux - Networking 11 06-09-2003 03:33 PM
xinetd, X traffic, hosts.allow fgeter Linux - Security 3 01-16-2003 08:58 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:00 AM.

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