“Iscan” only runs as rootRunning a epson Scanner perfection 3170Canon MP280 scanner not workingBrother WLAN Scanner DCP-7055W not working (“invalid argument”)S1300I scanner issues under Ubuntu 16.04 using SaneSANE: sane-find-scanner works (now) scanimage and frontend do notHow do I get Artec e+ 48u to work on Xubuntu 14.10 (amd64)scanimage only recognizes scanner as ADF suddenlyCannot use HP Officejet 4500 scanner except as rootDevice driver for Epson V600 PerfectionEpson Perfection V200 photo scannerEpson V350 Scanner on Ubuntu 17.10

If an object moving in a circle experiences centripetal force, then doesn't it also experience centrifugal force, because of Newton's third law?

Late 1970's and 6502 chip facilities for operating systems

Would Taiwan and China's dispute be solved if Taiwan gave up being the Republic of China?

Is the mass of paint relevant in rocket design?

How do pilots align the HUD with their eyeballs?

Performance for simple code that converts a RGB tuple to hex string

Co-Supervisor comes to office to help her students which distracts me

Is "ln" (natural log) and "log" the same thing if used in this answer?

What's the lowest risk highest reward I can invest in for 5 years?

What can a pilot do if an air traffic controller is incapacitated?

Are lawyers allowed to come to agreements with opposing lawyers without the client's knowledge or consent?

Social leper versus social leopard

What Secular Civic Space Would Pioneers Build For Small Frontier Towns?

Is it true that, "just ten trading days represent 63 per cent of the returns of the past 50 years"?

Strange Sticky Substance on Digital Camera

Going to France with limited French for a day

Meaning of 'ran' in German?

Why are there two fundamental laws of logic?

Writing a letter of recommendation for a mediocre student

What's the next step in this Unequal (Futoshiki) puzzle?

Is it possible to encode a message in such a way that can only be read by someone or something capable of seeing into the very near future?

Hiking with a mule or two?

Hilbert's hotel: why can't I repeat it infinitely many times?

Worms crawling under skin



“Iscan” only runs as root


Running a epson Scanner perfection 3170Canon MP280 scanner not workingBrother WLAN Scanner DCP-7055W not working (“invalid argument”)S1300I scanner issues under Ubuntu 16.04 using SaneSANE: sane-find-scanner works (now) scanimage and frontend do notHow do I get Artec e+ 48u to work on Xubuntu 14.10 (amd64)scanimage only recognizes scanner as ADF suddenlyCannot use HP Officejet 4500 scanner except as rootDevice driver for Epson V600 PerfectionEpson Perfection V200 photo scannerEpson V350 Scanner on Ubuntu 17.10






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I've upgraded to ubuntu 12.04, and I now want to run "iscan" (I've updated the packages like I did before). When I run iscan as a regular user, it says:



"COuld not send command to scanner".


But when I run "sudo iscan", everything is ok, the window of iscan is opened.



How can I fix this to run iscan without being root ?



Thank you,



PS: I'm in the "scanner" group










share|improve this question


























  • unpacking using ALIEN and a .RPM may be the issue? This might be solved using a .DEB file from linux.avasys.jp/drivers/iscan/2.28.1 which is the most recent.

    – Ringtail
    Sep 23 '12 at 16:03











  • As of 2019 this has stopped working for me too. I can use my scanner (Epson SX535WD with skanlite but iscan fails with the above message. However, sudo iscan also fails, the adduser answer fails to help too.

    – pbhj
    Jan 17 at 22:55

















1















I've upgraded to ubuntu 12.04, and I now want to run "iscan" (I've updated the packages like I did before). When I run iscan as a regular user, it says:



"COuld not send command to scanner".


But when I run "sudo iscan", everything is ok, the window of iscan is opened.



How can I fix this to run iscan without being root ?



Thank you,



PS: I'm in the "scanner" group










share|improve this question


























  • unpacking using ALIEN and a .RPM may be the issue? This might be solved using a .DEB file from linux.avasys.jp/drivers/iscan/2.28.1 which is the most recent.

    – Ringtail
    Sep 23 '12 at 16:03











  • As of 2019 this has stopped working for me too. I can use my scanner (Epson SX535WD with skanlite but iscan fails with the above message. However, sudo iscan also fails, the adduser answer fails to help too.

    – pbhj
    Jan 17 at 22:55













1












1








1


1






I've upgraded to ubuntu 12.04, and I now want to run "iscan" (I've updated the packages like I did before). When I run iscan as a regular user, it says:



"COuld not send command to scanner".


But when I run "sudo iscan", everything is ok, the window of iscan is opened.



How can I fix this to run iscan without being root ?



Thank you,



PS: I'm in the "scanner" group










share|improve this question
















I've upgraded to ubuntu 12.04, and I now want to run "iscan" (I've updated the packages like I did before). When I run iscan as a regular user, it says:



"COuld not send command to scanner".


But when I run "sudo iscan", everything is ok, the window of iscan is opened.



How can I fix this to run iscan without being root ?



Thank you,



PS: I'm in the "scanner" group







scanner sane






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 13 '17 at 12:23









Community

1




1










asked Sep 23 '12 at 15:21









PierrePierre

551 silver badge11 bronze badges




551 silver badge11 bronze badges















  • unpacking using ALIEN and a .RPM may be the issue? This might be solved using a .DEB file from linux.avasys.jp/drivers/iscan/2.28.1 which is the most recent.

    – Ringtail
    Sep 23 '12 at 16:03











  • As of 2019 this has stopped working for me too. I can use my scanner (Epson SX535WD with skanlite but iscan fails with the above message. However, sudo iscan also fails, the adduser answer fails to help too.

    – pbhj
    Jan 17 at 22:55

















  • unpacking using ALIEN and a .RPM may be the issue? This might be solved using a .DEB file from linux.avasys.jp/drivers/iscan/2.28.1 which is the most recent.

    – Ringtail
    Sep 23 '12 at 16:03











  • As of 2019 this has stopped working for me too. I can use my scanner (Epson SX535WD with skanlite but iscan fails with the above message. However, sudo iscan also fails, the adduser answer fails to help too.

    – pbhj
    Jan 17 at 22:55
















unpacking using ALIEN and a .RPM may be the issue? This might be solved using a .DEB file from linux.avasys.jp/drivers/iscan/2.28.1 which is the most recent.

– Ringtail
Sep 23 '12 at 16:03





unpacking using ALIEN and a .RPM may be the issue? This might be solved using a .DEB file from linux.avasys.jp/drivers/iscan/2.28.1 which is the most recent.

– Ringtail
Sep 23 '12 at 16:03













As of 2019 this has stopped working for me too. I can use my scanner (Epson SX535WD with skanlite but iscan fails with the above message. However, sudo iscan also fails, the adduser answer fails to help too.

– pbhj
Jan 17 at 22:55





As of 2019 this has stopped working for me too. I can use my scanner (Epson SX535WD with skanlite but iscan fails with the above message. However, sudo iscan also fails, the adduser answer fails to help too.

– pbhj
Jan 17 at 22:55










2 Answers
2






active

oldest

votes


















1
















Maybe just add yourself to the saned group aswell.



sudo adduser [YOU] saned
sudo adduser [YOU] scanner





share|improve this answer

























  • thank you , I've added my login to both groups. That didn't work.

    – Pierre
    Dec 13 '12 at 21:42


















1
















I know this might be very late, but I just encountered the same issue, with my EPSON scanner. The problem is multifaceted.



The sane package has changed a lot. The lib location is changed.



You need to use dpkg -L to check if your package installed the libs into wrong places. For example /usr/lib/sane. If this is true, cd to that location then:



# ln -sfr /usr/lib/sane/libsane-epkowa* /usr/lib/x86_64-linux-gnu/sane


Since the po's scanner still working under root, he should not had this problem.



the new ubuntu updated the scanner policy.



Now a user need to be in saned and scanner group to use scanner. However, just add yourself to those group is not enough. Your scanner has to be properly owned by the scanner group. Otherwise, even you change the device permission to mode 777, it still need root to use scanner. Here is how you can automatically change the scanner's group during hotplugin.



Create a rule for the device



/etc/udev/rules.d $ cat 80-scanner.rules 
# change device EPSON owner group
ATTRSmanufacturer=="EPSON", DRIVERS=="usb", SUBSYSTEMS=="usb", ATTRSidVendor=="04b8", ATTRSidProduct=="0142", GROUP="scanner"


Test the rule



use udevadm control –reload to load your rule.
use lsusb to find your device /dev path
to check if your rule is functioning, test with the follow command:



# udevadm test $(udevadm info -q path -n /dev/bus/usb/<bus>/<device>) 2>&1 | grep -i group --color


If your rule is correct you should see the group changed to scanner from root.



Finally, disconnect your scanner and reconnect it. Then try follow commands without sudo



$ sane-find-scanner
$ scanimage -L


Your scanner should functioning correctly






share|improve this answer



























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );














    draft saved

    draft discarded
















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f192134%2fiscan-only-runs-as-root%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1
















    Maybe just add yourself to the saned group aswell.



    sudo adduser [YOU] saned
    sudo adduser [YOU] scanner





    share|improve this answer

























    • thank you , I've added my login to both groups. That didn't work.

      – Pierre
      Dec 13 '12 at 21:42















    1
















    Maybe just add yourself to the saned group aswell.



    sudo adduser [YOU] saned
    sudo adduser [YOU] scanner





    share|improve this answer

























    • thank you , I've added my login to both groups. That didn't work.

      – Pierre
      Dec 13 '12 at 21:42













    1














    1










    1









    Maybe just add yourself to the saned group aswell.



    sudo adduser [YOU] saned
    sudo adduser [YOU] scanner





    share|improve this answer













    Maybe just add yourself to the saned group aswell.



    sudo adduser [YOU] saned
    sudo adduser [YOU] scanner






    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Dec 13 '12 at 20:23









    grtzgrtz

    567 bronze badges




    567 bronze badges















    • thank you , I've added my login to both groups. That didn't work.

      – Pierre
      Dec 13 '12 at 21:42

















    • thank you , I've added my login to both groups. That didn't work.

      – Pierre
      Dec 13 '12 at 21:42
















    thank you , I've added my login to both groups. That didn't work.

    – Pierre
    Dec 13 '12 at 21:42





    thank you , I've added my login to both groups. That didn't work.

    – Pierre
    Dec 13 '12 at 21:42













    1
















    I know this might be very late, but I just encountered the same issue, with my EPSON scanner. The problem is multifaceted.



    The sane package has changed a lot. The lib location is changed.



    You need to use dpkg -L to check if your package installed the libs into wrong places. For example /usr/lib/sane. If this is true, cd to that location then:



    # ln -sfr /usr/lib/sane/libsane-epkowa* /usr/lib/x86_64-linux-gnu/sane


    Since the po's scanner still working under root, he should not had this problem.



    the new ubuntu updated the scanner policy.



    Now a user need to be in saned and scanner group to use scanner. However, just add yourself to those group is not enough. Your scanner has to be properly owned by the scanner group. Otherwise, even you change the device permission to mode 777, it still need root to use scanner. Here is how you can automatically change the scanner's group during hotplugin.



    Create a rule for the device



    /etc/udev/rules.d $ cat 80-scanner.rules 
    # change device EPSON owner group
    ATTRSmanufacturer=="EPSON", DRIVERS=="usb", SUBSYSTEMS=="usb", ATTRSidVendor=="04b8", ATTRSidProduct=="0142", GROUP="scanner"


    Test the rule



    use udevadm control –reload to load your rule.
    use lsusb to find your device /dev path
    to check if your rule is functioning, test with the follow command:



    # udevadm test $(udevadm info -q path -n /dev/bus/usb/<bus>/<device>) 2>&1 | grep -i group --color


    If your rule is correct you should see the group changed to scanner from root.



    Finally, disconnect your scanner and reconnect it. Then try follow commands without sudo



    $ sane-find-scanner
    $ scanimage -L


    Your scanner should functioning correctly






    share|improve this answer





























      1
















      I know this might be very late, but I just encountered the same issue, with my EPSON scanner. The problem is multifaceted.



      The sane package has changed a lot. The lib location is changed.



      You need to use dpkg -L to check if your package installed the libs into wrong places. For example /usr/lib/sane. If this is true, cd to that location then:



      # ln -sfr /usr/lib/sane/libsane-epkowa* /usr/lib/x86_64-linux-gnu/sane


      Since the po's scanner still working under root, he should not had this problem.



      the new ubuntu updated the scanner policy.



      Now a user need to be in saned and scanner group to use scanner. However, just add yourself to those group is not enough. Your scanner has to be properly owned by the scanner group. Otherwise, even you change the device permission to mode 777, it still need root to use scanner. Here is how you can automatically change the scanner's group during hotplugin.



      Create a rule for the device



      /etc/udev/rules.d $ cat 80-scanner.rules 
      # change device EPSON owner group
      ATTRSmanufacturer=="EPSON", DRIVERS=="usb", SUBSYSTEMS=="usb", ATTRSidVendor=="04b8", ATTRSidProduct=="0142", GROUP="scanner"


      Test the rule



      use udevadm control –reload to load your rule.
      use lsusb to find your device /dev path
      to check if your rule is functioning, test with the follow command:



      # udevadm test $(udevadm info -q path -n /dev/bus/usb/<bus>/<device>) 2>&1 | grep -i group --color


      If your rule is correct you should see the group changed to scanner from root.



      Finally, disconnect your scanner and reconnect it. Then try follow commands without sudo



      $ sane-find-scanner
      $ scanimage -L


      Your scanner should functioning correctly






      share|improve this answer



























        1














        1










        1









        I know this might be very late, but I just encountered the same issue, with my EPSON scanner. The problem is multifaceted.



        The sane package has changed a lot. The lib location is changed.



        You need to use dpkg -L to check if your package installed the libs into wrong places. For example /usr/lib/sane. If this is true, cd to that location then:



        # ln -sfr /usr/lib/sane/libsane-epkowa* /usr/lib/x86_64-linux-gnu/sane


        Since the po's scanner still working under root, he should not had this problem.



        the new ubuntu updated the scanner policy.



        Now a user need to be in saned and scanner group to use scanner. However, just add yourself to those group is not enough. Your scanner has to be properly owned by the scanner group. Otherwise, even you change the device permission to mode 777, it still need root to use scanner. Here is how you can automatically change the scanner's group during hotplugin.



        Create a rule for the device



        /etc/udev/rules.d $ cat 80-scanner.rules 
        # change device EPSON owner group
        ATTRSmanufacturer=="EPSON", DRIVERS=="usb", SUBSYSTEMS=="usb", ATTRSidVendor=="04b8", ATTRSidProduct=="0142", GROUP="scanner"


        Test the rule



        use udevadm control –reload to load your rule.
        use lsusb to find your device /dev path
        to check if your rule is functioning, test with the follow command:



        # udevadm test $(udevadm info -q path -n /dev/bus/usb/<bus>/<device>) 2>&1 | grep -i group --color


        If your rule is correct you should see the group changed to scanner from root.



        Finally, disconnect your scanner and reconnect it. Then try follow commands without sudo



        $ sane-find-scanner
        $ scanimage -L


        Your scanner should functioning correctly






        share|improve this answer













        I know this might be very late, but I just encountered the same issue, with my EPSON scanner. The problem is multifaceted.



        The sane package has changed a lot. The lib location is changed.



        You need to use dpkg -L to check if your package installed the libs into wrong places. For example /usr/lib/sane. If this is true, cd to that location then:



        # ln -sfr /usr/lib/sane/libsane-epkowa* /usr/lib/x86_64-linux-gnu/sane


        Since the po's scanner still working under root, he should not had this problem.



        the new ubuntu updated the scanner policy.



        Now a user need to be in saned and scanner group to use scanner. However, just add yourself to those group is not enough. Your scanner has to be properly owned by the scanner group. Otherwise, even you change the device permission to mode 777, it still need root to use scanner. Here is how you can automatically change the scanner's group during hotplugin.



        Create a rule for the device



        /etc/udev/rules.d $ cat 80-scanner.rules 
        # change device EPSON owner group
        ATTRSmanufacturer=="EPSON", DRIVERS=="usb", SUBSYSTEMS=="usb", ATTRSidVendor=="04b8", ATTRSidProduct=="0142", GROUP="scanner"


        Test the rule



        use udevadm control –reload to load your rule.
        use lsusb to find your device /dev path
        to check if your rule is functioning, test with the follow command:



        # udevadm test $(udevadm info -q path -n /dev/bus/usb/<bus>/<device>) 2>&1 | grep -i group --color


        If your rule is correct you should see the group changed to scanner from root.



        Finally, disconnect your scanner and reconnect it. Then try follow commands without sudo



        $ sane-find-scanner
        $ scanimage -L


        Your scanner should functioning correctly







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 15 at 22:54









        WangWang

        1337 bronze badges




        1337 bronze badges































            draft saved

            draft discarded















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f192134%2fiscan-only-runs-as-root%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Tamil (spriik) Luke uk diar | Nawigatjuun

            Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

            Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?