FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 06-04-2008, 07:47 AM
"abdelkader belahcene"
 
Default how to display on another machine

Hi everybody,
I want to run a program and display the graph on another machine.
I declared :
export DISPLAY=192.168.10.10:0.0
ran on the local machine ( which not 192.168.10.10 )
gedit

I want to receive the output on the remote machine. The first
problem is to give probably password, ( the machine 192.168.10.10 must
accept the display) ,


thanks for help


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Wed Jun 4 11:30:01 2008
Return-path: <fedora-list-bounces@redhat.com>
Envelope-to: tom@linux-archive.org
Delivery-date: Wed, 04 Jun 2008 11:06:24 +0300
Received: from hormel1.redhat.com ([209.132.177.33] helo=hormel.redhat.com)
by s2.java-tips.org with esmtp (Exim 4.68)
(envelope-from <fedora-list-bounces@redhat.com>)
id 1K3o0m-0004CJ-7X
for tom@linux-archive.org; Wed, 04 Jun 2008 11:06:24 +0300
Received: from listman.util.phx.redhat.com (listman.util.phx.redhat.com [10.8.4.110])
by hormel.redhat.com (Postfix) with ESMTP id 3BABE618792;
Wed, 4 Jun 2008 04:06:22 -0400 (EDT)
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
[172.16.52.254])
by listman.util.phx.redhat.com (8.13.1/8.13.1) with ESMTP id
m5486KSM013289 for <fedora-list@listman.util.phx.redhat.com>;
Wed, 4 Jun 2008 04:06:20 -0400
Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32])
by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m5486Jfr031838
for <fedora-list@redhat.com>; Wed, 4 Jun 2008 04:06:19 -0400
Received: from mars.math-info.univ-paris5.fr (mars.math-info.univ-paris5.fr
[193.48.200.18])
by mx3.redhat.com (8.13.8/8.13.8) with ESMTP id m5485hxm024318
for <fedora-list@redhat.com>; Wed, 4 Jun 2008 04:05:43 -0400
Received: from [127.0.0.1] (mars.math-info.univ-paris5.fr [127.0.0.1])
by mars.math-info.univ-paris5.fr (8.14.1/jtpda-5.4) with ESMTP id
m5485fxr019578
for <fedora-list@redhat.com>; Wed, 4 Jun 2008 10:05:42 +0200
Message-ID: <48464CD5.4070300@math-info.univ-paris5.fr>
Date: Wed, 04 Jun 2008 10:05:41 +0200
From: =?UTF-8?B?RnJhbsOnb2lzIFBhdHRl?=
<francois.patte@math-info.univ-paris5.fr>
User-Agent: Thunderbird 2.0.0.14 (X11/20080501)
MIME-Version: 1.0
To: For users of Fedora <fedora-list@redhat.com>
References: <1212395200.2495.49.camel@ipex.local> <4843BAAE.7020709@math-info.univ-paris5.fr> <1212452769.2495.62.camel@ipex.local> <4844F116.2040805@math-info.univ-paris5.fr> <1212481029.2495.66.camel@ipex.local> <1212495061.2495.75.camel@ipex.local> <484565DE.60305@math-info.univ-paris5.fr>
<1212534197.2495.102.camel@ipex.local>
In-Reply-To: <1212534197.2495.102.camel@ipex.local>
X-Enigmail-Version: 0.95.6
Content-Type: text/plain; charset=utf-8; format=flowed
X-Miltered: at mars.math-info.univ-paris5.fr with ID 48464CD5.000 by Joe's
j-chkmail (http : // j-chkmail dot ensmp dot fr)!
X-j-chkmail-Score: MSGID : 48464CD5.000 on mars.math-info.univ-paris5.fr :
j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000
X-j-chkmail-Status: Ham
X-RedHat-Spam-Score: -0.038
X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254
X-Scanned-By: MIMEDefang 2.63 on 172.16.48.32
X-loop: fedora-list@redhat.com
Subject: Re: iptables help needed
X-BeenThere: fedora-list@redhat.com
X-Mailman-Version: 2.1.5
Precedence: junk
Reply-To: For users of Fedora <fedora-list@redhat.com>
List-Id: For users of Fedora <fedora-list.redhat.com>
List-Unsubscribe: <https://www.redhat.com/mailman/listinfo/fedora-list>,
<mailto:fedora-list-request@redhat.com?subject=unsubscribe>
List-Archive: <https://www.redhat.com/archives/fedora-list>
List-Post: <mailto:fedora-list@redhat.com>
List-Help: <mailto:fedora-list-request@redhat.com?subject=help>
List-Subscribe: <https://www.redhat.com/mailman/listinfo/fedora-list>,
<mailto:fedora-list-request@redhat.com?subject=subscribe>
Sender: fedora-list-bounces@redhat.com
Errors-To: fedora-list-bounces@redhat.com
Content-Transfer-Encoding: quoted-printable

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 04.06.2008 01:03, Simon Slater a =C3=A9crit :

|> The evolution request has been done from the desktop, not from the
|> laptop. Am I right? Packets are dropped because port 110 is not allowe=
d
|> by the script, but, up to now this is not the problem.
|
| Yes, Evolution runs on the desktop. I added port 110 to your script
| under the SMPT and NEWS section last night and those packets are not
| being logged now.

And you can retrieve your mails!?


| I hope I have filled in the blanks for you. Following are the logs fro=
m
| the desktop this morning when i started the laptop and ran firefox. Th=
e
| web page it is looking for is http://start.fedoraproject.org/ . Hope
| this helps:

|
| <SNIP>
|
| Jun 4 08:49:51 ipex kernel: [IPTABLES DROP] : IN=3D OUT=3Dppp0
| SRC=3D59.101.220.253 DST=3D203.8.183.1 LEN=3D108 TOS=3D0x00 PREC=3D0xC0=
TTL=3D64
| ID=3D1346 PROTO=3DICMP TYPE=3D3 CODE=3D3 [SRC=3D203.8.183.1 DST=3D59.10=
1.220.253
| LEN=3D80 TOS=3D0x00 PREC=3D0x00 TTL=3D252 ID=3D5354 DF PROTO=3DUDP SPT=3D=
53 DPT=3D39780
| LEN=3D60 ]

icmp packets are not allowed by the script and it is not a good idea
(sorry!) at least for these type=3D3. After:

$IPTABLES -A INPUT -i lo -j ACCEPT
$IPTABLES -A OUTPUT -o lo -j ACCEPT

add this to the script

#paquets icmp
#ping accept=C3=A9 en sortie mais pas en entr=C3=A9e
$IPTABLES -A INPUT -p icmp --icmp-type 0 -s 0/0 -j ACCEPT
$IPTABLES -A OUTPUT -p icmp --icmp-type 8 -d 0/0 -j ACCEPT

#"network unreachable"
$IPTABLES -A INPUT -p icmp -s 0/0 --icmp-type 3 -j ACCEPT
$IPTABLES -A OUTPUT -p icmp -d 0/0 --icmp-type 3 -j ACCEPT

And in the LAN part, after #"forwarding":

#icmp
$IPTABLES -A FORWARD -o $INTERNAL_DEVICE -i $EXTERNAL_DEVICE -p icmp
- --icmp-type 0 -s 0/0 -j ACCEPT
$IPTABLES -A FORWARD -i $INTERNAL_DEVICE -o $EXTERNAL_DEVICE -p icmp
- --icmp-type 8 -d 0/0 -j ACCEPT
$IPTABLES -A FORWARD -o $INTERNAL_DEVICE -i $EXTERNAL_DEVICE -p icmp
- --icmp-type 3 -s 0/0 -j ACCEPT
$IPTABLES -A FORWARD -i $INTERNAL_DEVICE -o $EXTERNAL_DEVICE -p icmp
- --icmp-type 3 -d 0/0 -j ACCEPT


Also uncomment this line:

#$IPTABLES -t nat -A POSTROUTING -o $EXTERNAL_DEVICE -j LOG --log-prefix
"[IPTABLES MASQ]"

rerun the script. If some requests to the Internet come from your
laptop, there will some lines like this in the logs of your desktop:

<quote>
Jun 4 09:45:44 dipankar kernel: [IPTABLES MASQ]IN=3D OUT=3Dppp0
SRC=3D192.168.1.4 DST=3D213.251.134.188 LEN=3D76 TOS=3D0x00 PREC=3D0x00 T=
TL=3D63
ID=3D0 DF PROTO=3DUDP SPT=3D123 DPT=3D123 LEN=3D56
</quote>

Here the 192.168.1.4 computer makes an ntp request to 213.251.134.188


Also, on your desktop run:

lsmod | grep -i masquerade

There should be some kernel modules for masquerade (ipt_MASQUERADE,
nf_nat, ...)

FP
- --
Fran=C3=A7ois Patte
UFR de math=C3=A9matiques et informatique
Universit=C3=A9 Paris Descartes
45, rue des Saints P=C3=A8res
F-75270 Paris Cedex 06
T=C3=A9l. +33 (0)1 44 55 35 61
http://www.math-info.univ-paris5.fr/~patte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFIRkzVdE6C2dhV2JURAhNNAKCtTFddCYoPY4OH27TRML 6FKzFxmACgiEMg
eAJmvVmZrFtQ86ZpY0iUINY=3D
=3DTp7J
-----END PGP SIGNATURE-----

--=20
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 06-04-2008, 08:15 AM
Guillermo Mulliert Carlín
 
Default how to display on another machine

Hello,

On Wed, 4 Jun 2008, abdelkader belahcene wrote:

|> Hi everybody,
|> I want to run a program and display the graph on another machine.
|> I declared :
|> export DISPLAY=192.168.10.10:0.0
|> ran on the local machine ( which not 192.168.10.10 )
|> gedit
|>
|> I want to receive the output on the remote machine. The first
|> problem is to give probably password, ( the machine 192.168.10.10 must
|> accept the display) ,

Have you tried the command xhost?
In the computer that accept the display, type "xhost computer
that send the display"

Hope this help

Guillermo Mulliert


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 06-04-2008, 08:17 AM
Matthew Macdonald-Wallace
 
Default how to display on another machine

On Wed, 4 Jun 2008 08:47:17 +0100
"abdelkader belahcene" <abelahcene@gmail.com> wrote:

> I want to receive the output on the remote machine. The first
> problem is to give probably password, ( the machine 192.168.10.10 must
> accept the display) ,

on the machine you want to display the output, type:

ssh -C -X <username>@<machine that runs the software> "command"

if the above doesn't make sense to you, I suggest the man pages for ssh
or googling "ssh XForwarding"

Kind regards,

Matt
--
|Matthew Macdonald-Wallace
|Tiger Computing Ltd
|"The Linux Specialists"
|
|Tel: 0330 088 1511
|Web: http://www.tiger-computing.co.uk
|
|Registered in England. Company number: 3389961
|Registered address: Wyastone Business Park,
| Wyastone Leys, Monmouth, NP25 3SR


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 06-07-2008, 07:17 AM
Kevin Mark
 
Default how to display on another machine

On Wed, Jun 04, 2008 at 08:47:17AM +0100, abdelkader belahcene wrote:
> Hi everybody,
> I want to run a program and display the graph on another machine.
> I declared :
> export DISPLAY=192.168.10.10:0.0
> ran on the local machine ( which not 192.168.10.10 )
> gedit
>
> I want to receive the output on the remote machine. The first
> problem is to give probably password, ( the machine 192.168.10.10 must
> accept the display) ,
>
>
> thanks for help
Would this help:
server A: 192.168.10.1
server B: 192.168.10.10
if you open an xterm on server B and run:
----------------------------
server_b% ssh -X myuser@192.168.10.1
server_a% mygraphicsprogram
----------------------------
the output would display on server B.
you would need to have an ssh server on server A
and an ssh client on server B.
--kev
--
| .'`. == Debian GNU/Linux == | my web site: |
| : :' : The Universal |mysite.verizon.net/kevin.mark/|
| `. `' Operating System | go to counter.li.org and |
| `- http://www.debian.org/ | be counted! #238656 |
| my keyserver: subkeys.pgp.net | my NPO: cfsg.org |
|join the new debian-community.org to help Debian! |
|_______ Unless I ask to be CCd, assume I am subscribed _______|


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 05:42 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org