Scanner via ssh

Asked by Ken

Ubuntu 10.04

Greetings all. I would like to be able to use my scanner from my laptop. I have a desktop machine with an HP Deskjet F380 printer/scanner attached. I am able to connect to that machine from my laptop using an ssh setup and I'm easily able to use the printer as well. I just cannot use the scanner facility from the laptop. Is there any way to do this?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu openssh Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

You could use:

ssh -X user@server

then launch the gui scanning app you normally use. Should work a treat :)

Revision history for this message
Ken (ken-1) said :
#2

Hi actionparsnip! After using ssh -X I get "no devices available". The output following ssh -X is.....

ken@Kens-Laptop:~$ ssh -x ken@10.0.0.100
ken@10.0.0.100's password:
Linux Kens-Desktop 2.6.32-24-generic #42-Ubuntu SMP Fri Aug 20 14:24:04 UTC 2010 i686 GNU/Linux
Ubuntu 10.04.1 LTS

Welcome to Ubuntu!
 * Documentation: https://help.ubuntu.com/

6 packages can be updated.
5 updates are security updates.

Last login: Wed Sep 15 20:59:22 2010 from kens-desktop.local
ken@Kens-Desktop:~$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

thats cool, then run the app you use from that terminal and the app will appear on the system you are sat at but the app will be running on the remote system which is attatched to the scanner

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

-x disables x forwarding
the x must be capitalized.

does the server have an X server ( a desktop )?

Revision history for this message
Ken (ken-1) said :
#5

Hey actionparsnip! (love that name!) ;-)

Sadly, I don't even know what an X server is. As far as I'm concerned, no such thing exists on my equipment. I did use an upper case X but got the same result.

Some background...

I have always had a desktop machine with my adsl router and printer/scanner attached. I then acquired a laptop and needed a means to share files etc between the 2 machines. The solution for me was to set up ssh and that was very successful in that I have the required access to the files, internet and printer. Great! Now all I would like to be able to do is control the printer's scanner feature from the laptop. It's not a train smash if I don't get it. I will, after all, still have to go to the desktop to insert the document into the scanner so I might as well do the scan there and just transfer the result. This is purely a "would like to be able to" kind of thing.

I appreciate you input hugely but please don't lose any sleep over it! :-)

Thanks again.

Ken.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

If the server system has a desktop then you have an X server.

https://help.ubuntu.com/community/ScanningHowTo

Shows how to make your scanner a network scanner :) if your network subnet is not 192.168.1.0/24 then change it (Most home grade routers use 192.16.8.0.0/24 but you will need to apply your networking to the guide).

Can you help with this problem?

Provide an answer of your own, or ask Ken for more information if necessary.

To post a message you must log in.