Hi,

I'd like to start X immediately after login on certain local tty with
ksh as a login shell.

In tcsh on FreeBSD I do it by adding the following to my .tcshrc:

if ($tty == ttyv4) then
  startx
  logout
endif

What would be equivalent in ksh on OpenBSD? Also, should I put it
in .profile or .kshrc?

Thank you in advance,
--
Before enlightenment - chop wood, draw water.
After  enlightenment - chop wood, draw water.

Marko Cupać
https://www.mimar.rs/

Reply via email to