# Rest of the profile run only if login is from linux console [[ "$(tty)" != /dev/tty* ]] && return # Start music player daemon mpd ~/.config/mpd/mpd.conf # Start email synchronization ~/.local/sbin/syncemail # And if we are on first terminal also automatically start x server [ "$(tty)" = "/dev/tty1" ] && exec startx -- vt1