Results 1 to 2 of 2

Thread: Using xfm over ssh?

  1. #1
    Join Date
    Apr 2011
    Beans
    12

    Using xfm over ssh?

    I've managed to stream files over SSH over my LAN. The problem is that some of the pathnames for my files are ridiculously long. I've heard that it's possible to run x-windows apps (e.g. xfm?) over SSH -- how can I go about doing this so that I don't need to use command line to type extremely long and complex pathnames?

  2. #2
    Join Date
    Sep 2006
    Beans
    7,195
    Distro
    Lubuntu Development Release

    forwarding x11

    You can connect to the remote machine using ssh with X11 forwarding (-X) enabled. Then any graphical programs you run on the remote machine will have their output forwarded to the local display.

    Code:
    ssh -X -l raincityrunner othermachine.example.org
    firefox &
    That can be condensed further if you only want to run one program and then exit afterwards.

    Code:
    ssh -X -l raincityrunner othermachine.example.org firefox
    You'll want a fast connection with low latency because it can be a little sluggish otherwise. Usually it is fine over the LAN.

Tags for this Thread

Bookmarks

Posting Permissions

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