I've tried to reproduce this again, with multiple users logged in and
printing at the same time, cupsUser always returns just one username for
me.

I've looked at the implementation of cupsUser, and it returns whatever
has been set by cupsSetUser(), by default the contents of $CUPS_USER or
$USER if the former is not set.

Since system-config-printer doesn't set cupsUser to something with a
newline, I assume that the $USER or $CUPS_USER environment variable in
your setup contain newlines. Please check.

I don't think any software should have to deal with newlines in a
username. So I'm closing this bug in system-config-printer. Please feel
free to reopen this bug on the rdp software you are using if it turns
out that it constructs those weird user names.

** Changed in: system-config-printer (Ubuntu)
       Status: Incomplete => Invalid

-- 
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