On 6 March 2017 at 12:35, Marko Cupać <marko.cu...@mimar.rs> wrote: > Hi, > > I'd like to start X immediately after login on certain local tty with > ksh as a login shell. >
Hey, the following in .kshrc works for me. if [ "$(tty)" = /dev/ttyC0 ]; then startx fi But I just type "startx" these days. Cheers, Matej