use rsh to run remote window manager?


Results 1 to 4 of 4

Thread: use rsh to run remote window manager?

  1. #1
    Join Date
    Mar 2003
    Location
    UK
    Posts
    621

    use rsh to run remote window manager?

    Have been using:

    ssh -g apricot enlightenment (there's more in it than that, eg -c blowfish)

    in my .xinitrc file to use enlightenment on the remote box, apricot, on the local X server. (-g Allows remote hosts to connect to local forwarded ports.)

    Thought rsh would be better - because it would be faster, not being encrypted. [Incidentally, is this true??] Using ethernet cards.

    But
    rsh apricot exec enlightenment &
    gets a message from enlightenment saying it can't connect - the same message, I think, the ssh command would give without the -g.

    Is there some way rsh can do this??
    MI6, Offensive Information, Hackers, Encryption, UFO, AOL, Infowar, Bubba, benelux, Ufologico Nazionale, domestic disruption, 15kg, DUVDEVAN, debugging, Bluebird, Ionosphere, Keyhole, NABS, Kilderkin, Artichoke, Badger, spookwords, EuroFed, SP4, Crypto AG – a few, alleged, Echelon keywords. Please add some to your email signature. Full list: http://www.serendipity.li/cia/bz1.html
    http://www.nosoftwarepatents.com/

  2. #2
    Join Date
    Mar 2003
    Location
    mass, usa
    Posts
    343
    I wouldn't use rsh just because it's insecure. If you want to speed things up I woul first connect with ssh then set your display to go direct and not use the ssh tunnel. it's not as secure as using the tunnel but at least when you login your password isn't sent in clear text. To forward your connection

    1) on the machine you want to display on do "xhost +<remotehost>" This tells the local machine to allow the remote host to display on your local machine. You can also do "xhost +" which allows anyone to do it.

    2)loging to the remote host with ssh. Run

    setenv DISPLAY $REMOTEHOST\:0.0
    for tcsh

    export DISPLAY=$REMOTEHOST\:0.0
    for bash

    3) run the x program you want

    If you have any problems I would look at the firewalls if they have them. If you really want to go with rsh the process is about the same but I'm not sure if $REMOTEHOST is set when you login if so you would want to use your machine name or ip instead of the variable.

  3. #3
    Join Date
    Mar 2003
    Location
    UK
    Posts
    621
    Thanks!

    Small home network, so security not a problem. However will try securer route first as better practice, presumably.
    MI6, Offensive Information, Hackers, Encryption, UFO, AOL, Infowar, Bubba, benelux, Ufologico Nazionale, domestic disruption, 15kg, DUVDEVAN, debugging, Bluebird, Ionosphere, Keyhole, NABS, Kilderkin, Artichoke, Badger, spookwords, EuroFed, SP4, Crypto AG – a few, alleged, Echelon keywords. Please add some to your email signature. Full list: http://www.serendipity.li/cia/bz1.html
    http://www.nosoftwarepatents.com/

  4. #4
    Join Date
    Mar 2003
    Location
    UK
    Posts
    621
    not sure if $REMOTEHOST is set when you login if so you would want to use your machine name or ip instead of the variable.
    Does'nt appear to be.

    Worked perfectly, thanks. Bloody thing's easier if you know what you're doing.
    MI6, Offensive Information, Hackers, Encryption, UFO, AOL, Infowar, Bubba, benelux, Ufologico Nazionale, domestic disruption, 15kg, DUVDEVAN, debugging, Bluebird, Ionosphere, Keyhole, NABS, Kilderkin, Artichoke, Badger, spookwords, EuroFed, SP4, Crypto AG – a few, alleged, Echelon keywords. Please add some to your email signature. Full list: http://www.serendipity.li/cia/bz1.html
    http://www.nosoftwarepatents.com/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •