LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-29-2006, 10:26 AM   #1
Eshindi
LQ Newbie
 
Registered: Mar 2006
Location: NY
Distribution: Suse, Fedora
Posts: 4

Rep: Reputation: 0
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
 
Old 03-29-2006, 02:48 PM   #2
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
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 &
 
Old 03-30-2006, 09:41 AM   #3
Eshindi
LQ Newbie
 
Registered: Mar 2006
Location: NY
Distribution: Suse, Fedora
Posts: 4

Original Poster
Rep: Reputation: 0
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?
 
Old 03-30-2006, 04:03 PM   #4
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
$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
 
Old 03-30-2006, 06:57 PM   #5
Eshindi
LQ Newbie
 
Registered: Mar 2006
Location: NY
Distribution: Suse, Fedora
Posts: 4

Original Poster
Rep: Reputation: 0
yea it didnt work
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Updataed 10.1 now cannot boot to gui only to console RNT Linux - Newbie 1 01-22-2006 07:00 PM
Terminal or Console? telestudent Linux - General 1 12-28-2005 08:28 PM
Can't reboot via ssh, but can from local terminal xymian Linux - Networking 2 09-05-2005 11:04 AM
Console won't scroll boot log on startup dfowensby Red Hat 0 05-20-2004 10:35 AM
console or gui boot? Vyeperman Linux - Newbie 3 09-21-2003 08:17 AM


All times are GMT -5. The time now is 12:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration