systemd help was: Re: Rawhide rc.local fails to start

Samuel Sieb samuel at sieb.net
Mon Sep 17 17:48:12 UTC 2012


Frank Murphy wrote:
>
> [Service]
> Type=oneshot
> ExecStart=/usr/bin/setxkbmap -model pc104 -layout gb
>
A couple of suggestions.  The DISPLAY variable will not be set, so you will need 
the -display parameter, most likely "-display :0".  Also, you will probably need 
to run it as whatever user the dm runs as.  E.g. for gdm, it's the gdm user.


More information about the test mailing list