I've got a little problem. I need 2 programs to start automatically in virtual consoles after I start the system.
Till now all my attepts have failed. I'll try to describe the process in few words and maybe someone could help me do it.
My enviroment builds like this: (I use compilation with kernel 3.2)
I do as follow:
Ubuntu server default installation with server ssh and next:
I add auto-login to /etc/lightdm/lightdm.conf
aptitude install xserver-xorg xserver-xorg-core xserver-xorg-input-evdev xserver-xorg-video-ati lightdm unity-greeter openbox roxterm
echo 'export DISPLAY=:0' >> ~/.bashrc
aptitude install build-essential dkms unzip
aptitude build-dep fglrx
next I install Catalyst from AMD site
usermod -a -G nopasswdlogin my_username
next openssh server configuration and everything works fine.
amdconfig --adapter=all --initial -f
Programs I use work in terminal and now I do this:
After system starts I run roxterm and with
I create virtual console and run first of my programs, next "CTRL+A+D". After that I create second session and run second program, "CTRL+A+D" and that"s it.
Thanks to that I can login through ssh and use screen to check on my programs. But I need those 2 programs run automatically in virtual consoles after I start the system to make my server headness
Please let me know if you have any solution. Your help will be very apprecieated.