[SOLVED] systemd problem: scanimage works only as root
Hello,
I can list the scanner with lsusb, and it works with no error messages when I run scanimage. But the image file I get is corrupted. However if I do it as root, then the file is OK.
I've just changed to systemd and I wonder if that might have something to do with it.
Any help with this problem would be greatly appreciated. Thank you.
Last edited by troncoso (2012-09-05 20:05:03)
troncoso wrote: I added my private group to those listed in the 'SystemGroup' directive in cupsd.conf, and that fixed it.
Thank you for your comment. My line nuber 13 of cupsd.conf looks now like this and sort of fixed the issue.
SystemGroup sys root users
Scanimage -L works without complain, but it takes much longer time then before. There is huge delay fore the scanning starts.
If I stop cups by issuing /etc/rc.d/cupsd stop The problem starts again, however there is no delay.
The corrupted scan image file has got the "Failed cupsGetDevices" at the very beginning of it added. That is why it is corrupted.
If I do scanning using xsane, there is no delay nor corrupted file. It just works fine without cupsd running.
Is there any way I can fix this issue and don't let cups to delay the scanning nor add the "Failed cupsGetDevices" at the beginning of the file ?
Is there a way to say scanimage not to use cups at all?
Last edited by xsouku04 (2012-09-30 21:40:37)
Similar Messages
-
[SOLVED] startx works only as root
Hi to all,
I just installed arch on a vaio SVS13A with EFI and dual graphics, both HD4000 and nvidia. I am having troubles running X, startx works and shows the minimal environment only if I'm running it as root, if I'm running it as a normal user only a black screen appears and nothing happens, but there are no errors in Xorg.log. What's happening?
A thing I noticed is that if I try to run
Xorg -configure
it is not able to do it because it says there are two screens and only one device or something like that (I'm sorry I can't remember well but I'll check next time). Maybe Xorg is not able to find the correct screen (?) when I'm running it as normal user?
On the laptop there's a switch between "stamina" and "speed" to enable the discrete graphics card, I'm doing everything with the graphics disabled but the nvidia card seems to be recognized corretly anyway, maybe it's only a sw thing?
Thank you in advance!
p.s. I searched trough the forum and google but wasn't able to find a solution to my problem.
Last edited by Mocco (2012-07-24 13:24:23)I added the configuration file for the two graphic cards but startx for the normal user is still terribly slow to start and I'm not able to use gdm.
I don't want to use both graphic cards or use nvidia optimus or something like that for now, I just want to access gnome and use X. I'm using the intel integrated graphics since it seems the other is not working (if I configure xorg to use it it's not able to run). From xorg.log it seems intel i915 module is able to recognize the card but for some reason gdm is still not working and whowing me only black screen with the clock instead of mouse cursor. To me it seems HD4000 is recognized but for some reason gdm is not working.
The situation is: two graphic cards (intel HD4000 and nvidia) and one monitor (my laptop monitor). I'm using nouveau and intel. No Ati and no dual screen.
Where can I find some logs in order to find the problem? daemons.log says there's a problem with dbus: no such file or directory but it seems dbus is up and running.
Last edited by Mocco (2012-07-24 11:32:59) -
I want to sync tasks in Outlook with my iPhone. I have tried Toodledo (not good) and Todo. Todo works, but it cuts off most of the text. I only get the beginning of my (long) lists. Any ideas how I can solve this problem? I starting to regret that I switched to iPhone...
Usually if you have some kind of hardware failure there is some beeping during POST or most motherboards now have LED indicators to produce and error message based on the type of failure
So if its bad memory, not place properly, mismatched, processor not inserted properly, mismatched voltage or voltage connector not present etc it beeps or generates the error id.
Power supplies can be tested for failure. There are some walk throughs for testing just them with a switch, paperclip or a jumper (I'd suggest not doing this if you are not familiar with the dangers of electricity).
Memory can be tested with memory diagnostics programs like Memtest+
Processors can overheat if the proper precautions have not been taken usually you will get a POST beep or error code for that.
If the motherboard has no response then do the basics first:
Check power connectors and power supply. Once you determine that is not the case move on to other items like graphics cards in all the way or memory. -
The nice man Joseph Shen helped me with my google problem on my iPhone and worked for 2 days and now not working again please help me solve this problem were I can retrieve my messages on the I phone when I am not at home on my wi Fi is the only time it works correct. Bill. [email protected] 708 752 3667
http://lifehacker.com/5852948/what-to-do-if-youve-forgotten-your-iphones-passcod e
-
My iPad stop working suddenly i see black screen only pressing the home and sleep button dose not solve the problem please help ?
Frozen or unresponsive iPad
Resolve these most common issues:
• Display remains black or blank
• Touch screen not responding
• Application unexpectedly closes or freezes
http://www.apple.com/support/ipad/assistant/ipad/
iPad Frozen, not responding, how to fix
http://appletoolbox.com/2012/07/ipad-frozen-not-responding-how-to-fix/
iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
Black or Blank Screen on iPad or iPhone
http://appletoolbox.com/2012/10/black-or-blank-screen-on-ipad-or-iphone/
What to Do When Your iPad Won't Turn On
http://ipad.about.com/od/iPad_Troubleshooting/ss/What-To-Do-When-Your-Ipad-Wo-No t-Turn-On.htm
iOS: Not responding or does not turn on
http://support.apple.com/kb/TS3281
Home button not working or unresponsive, fix
http://appletoolbox.com/2013/04/home-button-not-working-or-unresponsive-fix/
Fixing an iPad Home Button
http://tinyurl.com/om6rd6u
iPad: Basic troubleshooting
http://support.apple.com/kb/TS3274
Cheers, Tom -
My airport turns off by itself and I have to restart the computer for it to work again and it only turns off again. I have Mac OS X version 10.6.8. What can I do to solve this problem?
Usually the HDD is the frist place to look. Use the original install disk and start up the MBP with the C key down. Go through the installation process until you see on the display a menu bar on top.
Click on UTILITIES.
From the drop down menu select Disk Utility.
Open Disk Utility>First Aid and run Verify and Repair.
What are the results?
Also look at these articles:
https://discussions.apple.com/docs/DOC-3521
http://www.thesafemac.com/mpg/
Ciao. -
Hi, my mail applicatin is not working properly. It says cannot get main...the connection to the server failed but everything else is working ok. How can I solve this problem?
The connectivity test indicated that there was a problem with the user's ActiveSync folder, typically fixed by checking the box "Allow inheritable permissions ...".
Since it already was checked and even by removing the inherited permissions and then re-inheriting them didn't do the trick, I ended up just deleting the whole thing and then made a new duplicate account and blank mailbox. That was pretty drastic
but it fixed the problem. After restoring his mailbox contents from backup, the user is now a happy camper.
The connectivity test tool was helpful because the external URL was blank so I filled in the URL. But ActiveSync was working fine for everybody without the URL before although I don't know why it did work without it.
The other funny thing is on one of my iPads I am able to synch my mailbox and also the user's mailbox but on another iPad it just wouldn't synchronize when it worked before I added the external URL. The iPads have the same OS version so I
just don't understand it. Oh well.
Thanks for your help. That was a good tip!
WC -
How can i solve this problem???
Try a reset. Hold down on the sleep and home buttons at the same time until the Apple logo appears on the screen. Let go of the buttons and let the iPad start up.
-
[SOLVED] Unexpected problems after installing systemd
Hi there,
Since I read that Arch is going to start using systemd I decided to install it. I followed the systemd wiki article (https://wiki.archlinux.org/index.php/Sy … g_to_start) and at first sight everything seemed OK and I didn't have much problems with it. My only serious problem was that the network-manager plasmoid in KDE was not working properly - it stated that Network Manager was not started. After searching the forums I found out that the problem was due to my pam login file for lightdm not configured properly and I managed to fix the problem. However after several days of use I found out the following additional problems:
1. Removable drives not working - before usb flash drives and sd cards were automounted by KDE when i inserted them. Now nothing happens (I tested with a usb flash drive and an sd memory card).
2. My laptop's touchpad feels very slugish and scroll is not working. After I tried to check the touchpad settings in the KDE control centre I found out while all the touchpad settings are present, they are greyed out and can't be changed.
3. Sound is extremely choppy in wine games. In native linux games (Faster Than Light for example) it is OK. It is also OK in other native linux applications like clementine and mplayer. I am using pulseaudio which i've set up in accordance with the pulseaudio wiki article.
I tried to recall any problems I may have had while setting up systemd and the onlything ordinary i can thing about was that when i tried to do "systemctl enable dbus.service" (because the systemd wiki article advised me to "systemctl enable" all daemons listed in my former rc.conf) I got the following output: "The unit files have no [Install] section. They are not meant to be enabled using systemctl.". On the other hand the dbus.service seems to be running just fine:
"dbus.service loaded active running D-Bus System Message Bus"
Has anyone encounter similar problems when using systemd?
Best regards!
Last edited by hellfire[bg] (2012-10-14 19:36:59)I had some time to tweak my system and i have an update on my problems - the 1st and 2nd problems were solved by reverting back to initscripts and setting up systemd again. I can swear i followed the same instructions (on the arch linux wiki page) as before but somehow after it did it those problems disappeared. I am now running a pure systemd system and everything appears to be OK. Regarding the 3rd problem it turned out that it was a pulseaudio issue. After I set up pulseaudio initialy I checked wine and it was running fine but apparently I have tweaked my pulseaudio setup since then and this broke wine. Systemd being the biggest change to my system before i detected the problem, i assumed that it was the reaseon. However it seems that pulseaudio was the culprit and after a little tweking with its configuration file it seems to be OK now. If anyone has the problem, this setting described in the arc wiki was the reason for my problem - https://wiki.archlinux.org/index.php/Pu … _crackling . Using the default set up (as opposed to the option described in the wiki) solved my problem.
Pse, here's the output of what you requested, ran as a normal user (in pastebin):
http://pastebin.com/w5A1F9jf
Last edited by hellfire[bg] (2012-10-14 19:39:30) -
[SOLVED] [no] Problem [at all] with NTFS after switch to systemd
Hi.
I've recently switched to systemd (thanks for this great Wiki page!). All is right except automount of NFTS partions. In old config, I don't have any entry in fstab, but there is a rule for udev:
KERNEL!="sd[a-z][0-9]", GOTO="media_by_label_auto_mount_end"
# Import FS infos
IMPORT{program}="/sbin/blkid -o udev -p %N"
# Get a label if present, otherwise specify one
ENV{ID_FS_LABEL}!="", ENV{dir_name}="%E{ID_FS_LABEL}"
ENV{ID_FS_LABEL}=="", ENV{dir_name}="usbhd-%k"
# Global mount options
ACTION=="add", ENV{mount_options}="relatime"
# Filesystem-specific mount options
#ACTION=="add", ENV{ID_FS_TYPE}=="vfat|ntfs", ENV{mount_options}="$env{mount_options},utf8,gid=100,umask=002"
ACTION=="add", ENV{ID_FS_TYPE}=="vfat|ntfs", ENV{mount_options}="$env{mount_options},utf8,gid=100,uid=fran,umask=000"
# Mount the device
#ACTION=="add", RUN+="/bin/mkdir -p /media/%E{dir_name}", RUN+="/bin/mount -o $env{mount_options} /dev/%k /media/%E{dir_name}"
ACTION=="add", RUN+="/bin/mkdir -p /media/%E{dir_name}", RUN+="/bin/mount -t ntfs-3g -o $env{mount_options} /dev/%k /media/%E{dir_name}"
# Clean up after removal
ACTION=="remove", ENV{dir_name}!="", RUN+="/bin/umount -l /media/%E{dir_name}", RUN+="/bin/rmdir /media/%E{dir_name}"
# Exit
LABEL="media_by_label_auto_mount_end"
I think this rule should work with systemd. It seems to work, because:
[root@HermesT rules.d]# systemctl list-units | grep 'media'
media-Almacen.mount loaded active mounted /media/Almacen
media-COMPAQ.mount loaded active mounted /media/COMPAQ
media-SYSTEM.mount loaded active mounted /media/SYSTEM
But:
[root@HermesT media]# ls
ls: cannot access COMPAQ: Transport endpoint is not connected
ls: cannot access Almacen: Transport endpoint is not connected
ls: cannot access SYSTEM: Transport endpoint is not connected
Almacen COMPAQ MIO SYSTEM almacen hdusb usbhd-sda3 usbhd-sda4 usbhd-sdb1 usbhd-sdb2 usbhd-sdb5 usbhd-sdb6 usbhd-sdc1 usbhd-sdc2 usbhd-sdc5 usbhd-sdc6
¿some ideas?
Thanks.
Last edited by HermesT (2012-10-27 20:20:41)Thanks aking9:
It seems there is no difference whether fstab entry (a very old one, comented a long time ago) is active or not. None of both below helps to solve it.
/dev/sda5 /media/Almacen ntfs-3g defaults,users,umask=002 0 0
#/dev/sda5 /media/Almacen ntfs-3g defaults,users,locale=es_ES.UTF-8,umask=002 0 0
Despite of great work done by Arch team, systemd is an "esoteric" world for me.
Where can I now configure such thing?
Added:
journalctl log for ntfs-3g.
First, fstab with locale (deprecated?). Second fstab with nls. Third, no fstab entry:
Oct 26 18:30:04 HermesT ntfs-3g[700]: Unmounting /dev/sda5 (Almacen)
Oct 26 18:30:31 HermesT ntfs-3g[225]: Version 2012.1.15 external FUSE 29
Oct 26 18:30:31 HermesT ntfs-3g[225]: Mounted /dev/sda5 (Read-Write, label "Almacen", NTFS 3.1)
Oct 26 18:30:31 HermesT ntfs-3g[225]: Cmdline options: rw,noexec,nosuid,nodev,locale=es_ES.UTF-8,umask=002,users
Oct 26 18:30:31 HermesT ntfs-3g[225]: Mount options: rw,noexec,nosuid,nodev,users,allow_other,nonempty,relatime,fsname=/dev/sda5,blkdev,blksize=4096,default_permissions
Oct 26 18:30:31 HermesT ntfs-3g[225]: Global ownership and permissions enforced, configuration type 7
Oct 26 19:10:41 HermesT ntfs-3g[225]: Unmounting /dev/sda5 (Almacen)
Oct 26 19:57:45 HermesT ntfs-3g[229]: [101B blob data]
Oct 26 20:06:53 HermesT ntfs-3g[229]: Unmounting /dev/sda5 (Almacen)
Oct 26 20:07:15 HermesT ntfs-3g[279]: Version 2012.1.15 external FUSE 29
Oct 26 20:07:15 HermesT ntfs-3g[279]: Mounted /dev/sda5 (Read-Write, label "Almacen", NTFS 3.1)
Oct 26 20:07:15 HermesT ntfs-3g[279]: Cmdline options: rw,noexec,nosuid,nodev,nls=utf8,umask=002,users
Oct 26 20:07:15 HermesT ntfs-3g[279]: Mount options: rw,noexec,nosuid,nodev,nls=utf8,users,allow_other,nonempty,relatime,fsname=/dev/sda5,blkdev,blksize=4096,default_permissions
Oct 26 20:07:15 HermesT ntfs-3g[279]: Global ownership and permissions enforced, configuration type 7
Oct 26 20:08:37 HermesT ntfs-3g[279]: [101B blob data]
Oct 26 20:24:30 HermesT ntfs-3g[279]: Unmounting /dev/sda5 (Almacen)
Oct 26 20:26:05 HermesT ntfs-3g[795]: Version 2012.1.15 external FUSE 29
Oct 26 20:26:05 HermesT ntfs-3g[795]: Mounted /dev/sda5 (Read-Write, label "Almacen", NTFS 3.1)
Oct 26 20:26:05 HermesT ntfs-3g[795]: Cmdline options: rw,nodev,nosuid,uid=1002,gid=100,dmask=0077,fmask=0177,uhelper=udisks
Oct 26 20:26:05 HermesT ntfs-3g[795]: Mount options: rw,nodev,nosuid,uhelper=udisks,allow_other,nonempty,relatime,fsname=/dev/sda5,blkdev,blksize=4096,default_permissions
Oct 26 20:26:05 HermesT ntfs-3g[795]: Global ownership and permissions enforced, configuration type 7
None of them solved the problem.
Last edited by HermesT (2012-10-26 18:58:02) -
I can't work in Gmail since I use firefox 4. The button "New Contacts" doesn't appear. I've tried everything to solve this problem: thrown away history, cookies and ad-ons. In firefox save modus it works. In IE9 it works. Only not in firefox4.
In the former editions of firefox there were no problems.Extend wireless is simply no longer required as an option. Apple have assumed it will be extended and it is on by default.
With your main base setup.. I gather you are using the A1408??
Simply factory reset the TC..
Then when you do the setup.. extend wireless is the option that will automatically be offered to you.
I am just going to do it.. Other way around.. but it is the same thing.
So here we go..
I have factory reset the airport extreme.. and it takes a couple of min for it to come up.
You can also see it in wifi.
You can click on it in either place and get into the auto setup function.
I have no network connection at all on the extreme.. it is simply powered on and close to the computer.
It will automatically offer a name.. for reasons I won't go into here but see C9 http://pondini.org/TM/Troubleshooting.html
Give the Extending router a name that is short, no spaces and pure alphanumeric.. you can do it immediately here.
Go next..
Magically it is done..
Now fix up the errors..
Default password.. in my home this is not an issue.. and I don't want to change it ..
So I ignore it.
Second error is firmware is old.
But I much prefer 7.6.1 So I have no intention of giving that up.. -
In IOS7 none of my YouTube movies show up on my site build with iWeb and its YouTube widget. On an iPad running IOS6 the site still works fine, and all movies play well. What is going on,and what can I do to solve this problem ???
It's only Safari/iOS7. Chrome iOS7 works fine.
Solution?
Go to YT and grab the code.
Paste it in a HTML Snippet. -
I only edit videos every few months and the last time I edited a video was around 6-9 months ago. At that time, I noticed AME was only using a single core of the CPU and contacted Adobe who instructed me to disable core parking, which worked. After disabling core parking AME used 100% of all 12 logical cores to process the video and all was good. Then last week, I decided to edit another video and noticed AME was very slow and checked and it was again only using a single core to process the video, but core parking is still turned off. By slow I mean that a 10 minute video with the lens distortion correction preset and one video transition effect is estimated to take nearly 3 hours to complete. For comparison, the GoPro software processed the same clip with the same effects in 20 minutes. Also, through troubleshooting with Adobe over the last few days, I have also tried downloading previous versions of the software but the prior versions have the same issue.
The video I'm trying to edit was shot on a GoPro Hero 4 Black with 1080p Wide at 60 frames per second. The default video format for GoPro is .mp4. The output settings I'm using when I export from Premiere Pro to AME are H.264 with the YouTube 1080p HD.
My system:
ASUSSabertooth X79
Intel core i7 4930k (6 physical cores, 12 logical cores)
16GB DDR3 Quad channel RAM
Samsung 830 SSD 128GB
NVIDIA GeForce GTX 460 (not CUDA compatible, I know)
Please ask if you need any additional information to help solve this problem.This has been driving me CRAZY... so going over the message boards from 2 to 5 am this morning I found the best explanation I have seen. The problem is that Adobe Creative Cloud is NOT "Processor Group Aware". Windows parses any more than 36 cores into "Processor Groups" and while the Pro version of Windows 7 & 8 can handle 256 threads they have to spread them across multiple processor groups.
Simple Version: AREA | How many cores does 3ds Max support?
Microsoft's Explanation: Processor Groups (Windows)
Clearly, this is an Adobe Problem... If any engineers are reading this PLEASE review the below and incorporate it into your next build of Creative Cloud!!!
https://msdn.microsoft.com/en-us/library/windows/hardware/dn653313%28v=vs.85%29.aspx
Again, I bought a VERY expensive machine based on your white paper that recommended Dual Xeon Workstations. Please, Please Give us the product you PROMISED!!!
Michael -
I bought CS6 creative suite. As of now i need to work each application in separate separate system. Can any one please help me how to solve this problem.
I saw the below quote on Adobe forum
"You may install software on up to two computers. These two computers can be Windows, Mac OS, or one each."
If i install each application in single single system the system count is more than two. In this case, are we have any license issue? Please advice how the problem will solve?
If possible please send the advise to my mail id: <Removed by Moderator>
Thanks
Uvaraj SI already answered that. If you purchased a Suite then you can only install and activate it on two machines. Even if you only insdtall one of the applications of that suite, it counts as one activation of the suite. You cannot take the six or seven different applications that might be in a suite and install and activate them in six or seven different machines... only two machines.
If your scenario will allow for it, one thing you can do is install the programs on all the different machines and only activate two of the machines at any given time. If you need to activate a program on a third machine then you need to deactivate on one of the currently activate machines first so that you have an open activation to use again. I do not remember if there is a limit to the total number of activations you can process for the life of the software. -
A message cannot be seen on my incoming emails. I can only view the message if I click on reply. Also any links attached to email will not open. I have tried everything to solve the problem but not able to.
Try closing the Mail app completely and see if it works properly when you re-open the app : from the home screen (i.e. not with the Mail app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Mail app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
If that doesn't work also do a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.
Maybe you are looking for
-
hello , i have jabber installed at pcs , but i noticed that when users sleep their computer then wake it up again the jabber stay logged in but the status go offline ,relogging at the jabber solve the problem , but is that a bug that the jaber dosent
-
Problems while compiling a project that uses Database Adapter
Hi, I am working on a small WebService that uses the Database Adapter to connect with the Oracle-Lite database. The process is a synchronous process which has client and DatabaseService as the partner link. The goal of this project is to get two inpu
-
Where is the De-interlace in Adobe Media Encoder CS4?
How do you de-interlace video Using the Adobe Media Encoder in CS4? In CS3 there was a de-interlace check box in the video Output Tab but there is not one in CS4? I am using 720x486 SD interlaced 29.97fps footage editing it and exporting the final pr
-
Remove the toolbar for the LSO Content Player Window.
Hi All, We are implementing SAP LSO. In the BSP Application HCM_Learning, I am able to run the course by clicking on link 'Start Now'. The BSP page related to this is "Training Home.htm". Now a new window popup up ( ie) the content player pop
-
SMS receive on N80 with Cingular/AT&T Wireless
Anybody have issues with Cingular blue? For me I just don't receive SMS on time. cingular tells me it's because I'm using an unlocked phone on their network but I know that's rubbish. Does anybody know exactly how my phone picks up SMS messages? It's