pygame draws as root only

Ask questions about Arch Linux ARM. Please search before making a new topic.

pygame draws as root only

Postby klankschap » Thu Aug 01, 2013 8:59 pm

using text mode (e.g. no x system) the pygame package can draw graphics only as root user.
if logged in as another user, no image will appear.

could that be related to the crashing of the script if launched as a service?

any hints?
Thanks !
.F
klankschap
 
Posts: 5
Joined: Wed Jul 31, 2013 7:49 pm

Re: pygame draws as root only

Postby WarheadsSE » Thu Aug 01, 2013 9:03 pm

Add the user to the video group?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: pygame draws as root only

Postby klankschap » Thu Aug 01, 2013 9:18 pm

the user is part of the video group (as well as the root group) without much success

i guess a service is launched as root as well (if not stated otherwise) ?
klankschap
 
Posts: 5
Joined: Wed Jul 31, 2013 7:49 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 21 guests