auto login with xfce?

Mike Massonnet mmassonnet at gmail.com
Fri Feb 8 00:04:25 CET 2008


On Thu, Feb 07, 2008 at 05:45:43PM -0500, Arthur H. Johnson II wrote:
> Enrico Tröger wrote:
> > #!/bin/sh
> >
> > su enrico -c /home/enrico/apps/xfce-svn/bin/startxfce4
> >
> > (the above is an untested example for my system, you probably want to
> > change username and path ;-)). Maybe there are better ways, maybe it's
> > better to use sudo instead of su.
> >
> > Ideas are welcome, I'm planning to do this too.
> >
> > Regards,
> > Enrico
> >
> >   
> 
> Put this at the end of rc.local:
> 
> su username -c "startx"
> 
> That should do it.

Thanks to refer to the mail from Brian, which points about the unusual
'-' just after the command su.

mike



More information about the Xfce mailing list