Jump to content

Recommended Posts

Posted

Is it possible boot into Web Browser instead of desktop ?

`/usr/sbin/lightdm` is set in `/etc/X11/default-display-manager`
can i replace it with `/usr/bin/chromium` ?

Posted

yes, absolutely yes you can. but not your way.

 

my method is use ~/.xinitrc, add your browser to it.

and start X by getty@tty1.service.. no display maneger.

getty@tty1.service --> tty1 login --> read .profile --> startx by .profile --> read .xinitrc --> start your broswer here.

 

 

cat .bash_profile 
if [ $(tty) = "/dev/tty1" ] && [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
  exec startx
fi
cat /etc/systemd/system/getty@tty1.service.d/override.conf 
[Service]
ExecStart=
ExecStart=-/sbin/agetty  --autologin root --noclear %I $TERM

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines