“Iscan” only runs as root Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)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

How to bypass password on Windows XP account?

Using et al. for a last / senior author rather than for a first author

How to deal with a team lead who never gives me credit?

I am not a queen, who am I?

How do I mention the quality of my school without bragging

What are 'alternative tunings' of a guitar and why would you use them? Doesn't it make it more difficult to play?

How to find all the available tools in macOS terminal?

3 doors, three guards, one stone

Is above average number of years spent on PhD considered a red flag in future academia or industry positions?

Is it true that "carbohydrates are of no use for the basal metabolic need"?

What is this single-engine low-wing propeller plane?

What's the purpose of writing one's academic bio in 3rd person?

If 'B is more likely given A', then 'A is more likely given B'

What LEGO pieces have "real-world" functionality?

Can inflation occur in a positive-sum game currency system such as the Stack Exchange reputation system?

Right-skewed distribution with mean equals to mode?

Why one of virtual NICs called bond0?

How to draw this diagram using TikZ package?

What happens to sewage if there is no river near by?

How does cp -a work

What are the motives behind Cersei's orders given to Bronn?

Why don't the Weasley twins use magic outside of school if the Trace can only find the location of spells cast?

G-Code for resetting to 100% speed

Why does Python start at index -1 when indexing a list from the end?



“Iscan” only runs as root



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)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

55111




55111












  • 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


















0














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








New contributor




Wang is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















    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/3.0/"u003ecc by-sa 3.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




    567












    • 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













    0














    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








    New contributor




    Wang is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.
























      0














      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








      New contributor




      Wang is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















        0












        0








        0







        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








        New contributor




        Wang is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.










        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








        New contributor




        Wang is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        share|improve this answer



        share|improve this answer






        New contributor




        Wang is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 3 hours ago









        WangWang

        1011




        1011




        New contributor




        Wang is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        Wang is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        Wang is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.



























            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

            Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

            Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

            Torre de la Isleta Índice Véase también Referencias Bibliografía Enlaces externos Menú de navegación38°25′58″N 0°23′02″O / 38.43277778, -0.3838888938°25′58″N 0°23′02″O / 38.43277778, -0.38388889Torre de la Illeta de l’Horta o Torre Saleta. Base de datos de bienes inmuebles. Patrimonio Cultural. Secretaría de Estado de CulturaFicha BIC Torre de la Illeta de l’Horta. Dirección General de Patrimonio Cultural. Generalitat ValencianaLugares de interés. Ayuntamiento del CampelloTorre de la Isleta en CastillosNet.org