Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Running progs from a different machine with a single command

  • 15-07-2005 1:05pm
    #1
    Registered Users, Registered Users 2 Posts: 37,485 ✭✭✭✭


    Ok, here's the goof...I'm sitting at linbox1 (for example), I want to rlogin to linbox2, set the display to linbox1:0 (xhost permissions are ok), then run korganizer.

    Is it possible to do this in a one liner? Ideally I'd like to just have an icon that I can clickity click.

    Thanks in advance.


Comments

  • Closed Accounts Posts: 6,718 ✭✭✭SkepticOne


    Try

    rsh linbox2

    followed by the commands you want separated by a ";".


  • Registered Users, Registered Users 2 Posts: 3,744 ✭✭✭deRanged


    you'd be better off using ssh than rsh. it's likely rsh won't be installed anyway if they're recent enough distros.

    ssh -X remotemachine command

    this will ask you for your password but you can install ssh keys to
    avoid that.

    you can then create an icon to run that command.


  • Closed Accounts Posts: 6,718 ✭✭✭SkepticOne


    Sorry, I meant to add if you go down the rsh route that the list of commands (separated by the ; character) must be in double quotes.

    e.g. rsh linbox2 "command1 ; command2 ; ...".

    ssh is better.


Advertisement