user - HouseMDgulanito said:Hi.
I use freebsd as a desktop computer, so I want that when freebsd boots up, automatically login as user and run the X server.
What can I do that?
ttyv1 "/usr/libexec/getty al_HouseMD" cons25r on secure
if ($tty == ttyv1) then startx logout endif
Reaction score: 30
Reaction score: 3,644
su -l myusername -c /usr/local/bin/startx &