Find the answer to your Linux question:
Results 1 to 3 of 3
hi. there is a lan of computers that all run sarge with kdm. two of these computers are remote and at the moment they can be accessed by ssh. all ...
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Posts
    3

    start programms remotely

    hi. there is a lan of computers that all run sarge with kdm. two of these computers are remote and at the moment they can be accessed by ssh.
    all of the computers have IPs in the range of 192.168.1.x
    i would like to be able to start a couple programms in both of the computers remotely. could someone tell me how to do that? also one the programms are started how do i see them or the desktop? i understand that vnc might help but that means that i have to be logged on to the remote computer and that is confusing since the remote pCs run kdm and awaiting someone to login. some hints please?

  2. #2
    Linux User
    Join Date
    Aug 2005
    Location
    Italy
    Posts
    401
    You can use ssh X11 forwarding... (see -X flag). You will start the program remotely, but you will se the graphical window on your desktop (where you executie ssh client).
    When using Windows, have you ever told "Ehi... do your business?"
    Linux user #396597 (http://counter.li.org)

  3. #3
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    You can run xdmcp, but it's not a great solution. the best way to do it is X forwarding through SSH. You will just need to enable it in /etc/sshd_config on the host machine first and restart the ssh daemon.

Posting Permissions

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