Re: [systemd-devel] Howto get the original TTY in a service

2016-01-26 Thread Martin Vogt
On Tue, Jan 26, 2016 at 2:35 PM, Mantas Mikulėnas wrote: > On Tue, Jan 26, 2016 at 3:31 PM, Martin Vogt wrote: > >> >> I need the console in a shutdownselect.service file (and in the script) >> where the user pressed CTRL+ALT+DEL. >> >> I cannot figure out ho

[systemd-devel] Howto get the original TTY in a service

2016-01-26 Thread Martin Vogt
Hello list, in a desktop session it is common behaviour to have a pop up dialog if the user presses CTRL+ALT+DEL. If the user press cancel, the original desktop is resumed. I like to have the same functionality on a virtual console. If the user hits CTRL+ALT+DEL on /dev/tty2 I can display a dialo

Re: [systemd-devel] Add User to group "video"

2015-05-07 Thread Martin Vogt
On Thu, May 7, 2015 at 11:44 AM, Simon McVittie < simon.mcvit...@collabora.co.uk> wrote: > On 07/05/15 10:30, Martin Vogt wrote: > > I try to give any user rw permissions on /dev/nvidia*. > > > > Usually this is done by adding the user to group "video", but &g

[systemd-devel] Add User to group "video"

2015-05-07 Thread Martin Vogt
Hello, I try to give any user rw permissions on /dev/nvidia*. Usually this is done by adding the user to group "video", but here the group is configured on NIS and I cannot change it. So my idea was, to add every user to group "video" during login. (Or change the permissions to 666 on /dev/nvidi