Re: send command
From: Victor Wagner (vitus_at_45.free.net)
Date: 05/20/04
- Next message: Rob Strover: "Re: Basic Info"
- Previous message: Jerry: "send command"
- In reply to: Jerry: "send command"
- Next in thread: Bruce Hartweg: "Re: send command"
- Reply: Bruce Hartweg: "Re: send command"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 20 May 2004 08:50:33 +0000 (UTC)
Jerry <very_very_blue@hotmail.com> wrote:
: Is there any way to get around needing to use xhost- and clearing the
: xhost table in order to use the tcl "send" command. I have no network
: security issues to worry about and need to allow other machines to be able
: to run Xapps on the machine that needs to be using the send command for
: other applications.
use xauth command instead of xhost. xauth let you to allow access to
your display to any app you have rights to start.
man xauth would tell you everything you need to allow access to your X
display without compromising its security (and so interfere with send
command). There are a lot of ways to make this access grant completely
transparent to you.
Typically you need to login to other machine anyway in order to run X
app on it. If you use ssh to log in, you can use ssh X forwarding - it
would do everything for you. If you use rlogin or rsh, you can get
foreign_xterm/foreign_xapp scripts from my site
(http://45.free.net/~vitus/ice/works/x11.html) which would do neccessary
things to allow X app authenticate itself with your display, and then
run it. See also xsu script on the same page, which allows you to
connect to your display as root.
If you use telnet, consider switching to rsh/ssh - they are much easier
to use. Don't know what can be done with rexec - never used it.
Other way around is to use common (NFS mounted) home directory on all
machines you need to run X apps on.
If program is started from session with same home directory as your X
login session, it would pick up your .Xauthority file automatically
and transparently.
--
- Next message: Rob Strover: "Re: Basic Info"
- Previous message: Jerry: "send command"
- In reply to: Jerry: "send command"
- Next in thread: Bruce Hartweg: "Re: send command"
- Reply: Bruce Hartweg: "Re: send command"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|