specifying user or socketfile for libxmms
Mark Rafn <[email protected]>
| Newsgroups | gmane.comp.multimedia.xmms.devel |
|---|---|
| Message-ID | <[email protected]> |
I'm trying to find a way for an apache server running as nobody to control xmms running for a specific user. I'm using perl and Xmms::Remote, which seems to be a pretty thin wrapper over libxmms. I can specify the session number to connect to, but as far as I can see, there's no way to specify the username to connect to. It appears to use glib's g_get_user_name, with no option to override. Is there any way to override this? I've tried messing with setting my euid and with the USER and LOGNAME environment vars, but xmms is smarter than that. Ideally, there'd be a way to specify the socket filename rather than just the session number. -- Mark Rafn [email protected] <http://www.dagon.net/>