Re: [systemd-devel] Systemd not correctly handle audio device acls for the active session?

2014-03-31 Thread Colin Guthrie
'Twas brillig, and Kawing Chiu at 29/03/14 02:13 did gyre and gimble: So, is that simply not achievable in systemd? I mean, since logind has no way to know about my session on vt7, then what about I *tell* it explicitly? Maybe through some cmdline tools, for example, something like: `loginctl

[systemd-devel] Systemd not correctly handle audio device acls for the active session?

2014-03-28 Thread Kawing Chiu
I get no sound in my desktop when using the following way to start the desktop: from a virtual terminal, say vt2, run: (setsid startx -- vt7 ). That is, startx in a virtual terminal other than the current one. The setsid is not relevant here, without it, (startx -- vt7 ) won't work, either.

Re: [systemd-devel] Systemd not correctly handle audio device acls for the active session?

2014-03-28 Thread Colin Guthrie
'Twas brillig, and Mantas Mikulėnas at 28/03/14 15:22 did gyre and gimble: You have already found the correct way to fix this – start X on the /same/ vt that you logged in (e.g. `startx -- vt2` or `startx -- vt$XDG_VTNR`). Yes, and indeed most distros patch their startx to do this for you

Re: [systemd-devel] Systemd not correctly handle audio device acls for the active session?

2014-03-28 Thread Kawing Chiu
Thanks, now I understand where does the problem come from. So, is that simply not achievable in systemd? I mean, since logind has no way to know about my session on vt7, then what about I *tell* it explicitly? Maybe through some cmdline tools, for example, something like: `loginctl add-vt vt7