To give a little background to this question. I am running this on a Raspberry Pi the base OS is Debian Raspbian GNU/Linux 10 (buster), Kernel: Linux 4.19.97-v7l+.
Currently the system boots up and runs my custom .exe file with mono on TTY 2. Everything works there but the user interface is very simple and limited (this is done on purpose so people don't mess with things). I would like to have a desktop environment to be running in the background on another tty for easability of working on the executable and tools other then just the terminal.
Currently I am able to go to another tty (I am using 4) and run the command startx /usr/bin/startlxde --:8
and it will boot up LXDE. What I would like it to do is to run this command in the background on tty4 and automatically start LXDE on tty4 so all I would have to do is hit Ctrl+Alt+F4 and there would be LXDE running.
Here is my .xinitrc
file as well:
feh /home/pi/program/loading.jpg &
setterm -blank 0
xset s off
xset -dpms
xinput set-prop 6 'Coordinate Transformation Matrix' -1 0 1 0 1 0 0 0 1
mono /home/pi/program/test-11-20.exe**
startx /usr/bin/startlxde --:8** # this part is not doing what I was hoping it would do.
startx
as youre already running x when.xinitrc
is evaluated. And:8
would start it onTTY8
– rudib Nov 18 '20 at 21:22