Hello Lars,

Details follow:

Ubuntu 10.04
cups 1.4.3-ubuntu3
system-config-printer-gnome 1.2.0+20100408-0ubuntu5.2
system-config-printer ran as a regular user (cups permissions setup 
accordingly...)

I know that cupsUser should return only one user name but apparently it
does not. It returns a \n separated list of users instead. This a sample
from the cups log where 3 users were returned:

D [21/Dec/2011:12:06:22 +0000] add_job: requesting-user-name="dep5
 cinf
 dep1"

You can see the line breaks on the cups log.

System-config-printer was probably tested on workstations with a single
user logged in at once (login via physical console...) whereas the
scenario we found problems with is a desktop VM where multiple users can
be logged via SSH or RDP (xrdp).

To reproduce this you may have to setup xrdp and open sessions for at
least 2 users at once.

Anyway it seems that would be better to have system-config-printer use a
method that simply returns the calling user, rather than depend on a
Cups function that does something less trivial and fails under certain
conditions.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/908667

Title:
  system-config-printer can't determine username if multiple users are
  logged in

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/system-config-printer/+bug/908667/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to