auto login with xfce?
samuel
samuel.verstraete at gmail.com
Mon Feb 11 15:35:18 CET 2008
On Feb 8, 2008 2:01 PM, Joost Kremers <joostkremers at fastmail.fm> wrote:
> On Fri, Feb 08, 2008 at 01:28:03PM +0100, samuel wrote:
> > i have something similar in one of my init scripts... (the last script)
> > problems: hal related stuff is f* up...
> >
> > - can't shutdown (sometimes it asks a password, sometimes shutdown and
> > restart are greyed out)
> > - can't mount removable stuff
> >
> > i have something like: su -c "cd && startxfce4" samuel
> > i needed the "cd" command otherwise thunar and terminal would start in
> > / instead of /home/samuel...
>
> but if this is the command you're really using, it's not unexpected to have
> errors. as someone already pointed out, you need to add a dash to the su
> command, so that the environment is properly set up for user samuel:
>
> su - samuel -c /usr/bin/startxfce4
>
> cd shouldn't be necessary anymore. just 'su' changes user in the current
> working dir, 'su -' runs a login shell as the new user.
>
>
This didn't help either... your init resulted in exactly the same error
> --
>
> Joost Kremers
> Life has its moments
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce
> http://www.xfce.org
>
More information about the Xfce
mailing list