LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to startup a GUI Console Terminal with boot.local (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-startup-a-gui-console-terminal-with-boot-local-429638/)

Eshindi 03-29-2006 09:26 AM

How to startup a GUI Console Terminal with boot.local
 
Hi im not a complete noob but i am having trouble with a startup issue i want.

This will be running on Suse 10.0 and then im gonna put it into Knoppix Live CD.

i want to start up in runlevel 5 (GUI) and have a command line console / terminal open up on startup every time and inside the console i want a bash file to run with my personal bash script
what can i put in boot.local? or am i wrong right from the beginning?

Thank you

mikshaw 03-29-2006 01:48 PM

It won't work from boot.local, since that script runs as root before you enter the grahical system (and before you log in).
Instead, put it in $HOME/.xinitrc:
xterm -e /path/to/script &

Eshindi 03-30-2006 08:41 AM

ok i can not seem to find the /home/.xinitrc file
is it suppose to be made in home or is it found in the rc.d or init.d directories?

mikshaw 03-30-2006 03:03 PM

$HOME/.xinitrc = ~/.xinitrc = /home/you/.xinitrc

Thinking again about it, I don't know how kdm/gdm works so i'm not sure if it uses .xinitrc. I boot into runlevel 3 and run startx to get into gui

Eshindi 03-30-2006 05:57 PM

yea it didnt work


All times are GMT -5. The time now is 09:31 PM.