“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;
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
add a comment |
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
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, theadduser
answer fails to help too.
– pbhj
Jan 17 at 22:55
add a comment |
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
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
scanner sane
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, theadduser
answer fails to help too.
– pbhj
Jan 17 at 22:55
add a comment |
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, theadduser
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
add a comment |
2 Answers
2
active
oldest
votes
Maybe just add yourself to the saned
group
aswell.
sudo adduser [YOU] saned
sudo adduser [YOU] scanner
thank you , I've added my login to both groups. That didn't work.
– Pierre
Dec 13 '12 at 21:42
add a comment |
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
New contributor
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Maybe just add yourself to the saned
group
aswell.
sudo adduser [YOU] saned
sudo adduser [YOU] scanner
thank you , I've added my login to both groups. That didn't work.
– Pierre
Dec 13 '12 at 21:42
add a comment |
Maybe just add yourself to the saned
group
aswell.
sudo adduser [YOU] saned
sudo adduser [YOU] scanner
thank you , I've added my login to both groups. That didn't work.
– Pierre
Dec 13 '12 at 21:42
add a comment |
Maybe just add yourself to the saned
group
aswell.
sudo adduser [YOU] saned
sudo adduser [YOU] scanner
Maybe just add yourself to the saned
group
aswell.
sudo adduser [YOU] saned
sudo adduser [YOU] scanner
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
add a comment |
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
add a comment |
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
New contributor
add a comment |
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
New contributor
add a comment |
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
New contributor
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
New contributor
New contributor
answered 3 hours ago
WangWang
1011
1011
New contributor
New contributor
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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, theadduser
answer fails to help too.– pbhj
Jan 17 at 22:55