Jump to content

Boot into Web Browser instead of desktop


dee098

Recommended Posts

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

 

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines