LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-10-2003, 09:15 AM   #1
zeppelinrs
LQ Newbie
 
Registered: Jun 2003
Distribution: Slackware 9.0, Red Hat 9.0, Conectiva 9.0
Posts: 10

Rep: Reputation: 0
sawfish


hi, i load red hat 8.0, with sawfish.
i need startup automatic netscape, after login.
thanks.
 
Old 06-10-2003, 09:29 AM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Do you use a console login and startx? If so, then you can use a file in your home directory, .xinitrc to start it.

Code:
# Duron 950 box "uilleann" user fancy .xinitrc file
# Start stuff I want to run when I startx
exec netscape &
exec gnome-session
#exec kde
#Esetroot ~/backgrounds/linux.png &
#gkrellm -w &
#xscreensaver &
#exec fluxbox
If you use a gui login, it's the same way but you use another config file and I don't know what it is offhand.
 
Old 06-10-2003, 09:48 AM   #3
zeppelinrs
LQ Newbie
 
Registered: Jun 2003
Distribution: Slackware 9.0, Red Hat 9.0, Conectiva 9.0
Posts: 10

Original Poster
Rep: Reputation: 0
sawfish

well i use the kde login manager. how use a console login and startx?
 
Old 06-10-2003, 10:14 AM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
I am assuming you are in your user accound running X.

Open up an x terminal and give these commands
Code:
[phil@uilleann phil]$ su -
Password: 
[root@uilleann root]# pico -w /etc/inittab
You just gained root powers and opened up a file to edit. Look for this line
Code:
id:5:initdefault:
Change it to read
Code:
id:3:initdefault:
Save the file. Now you will boot the the command line login screen. Then you start the gui like this
Code:
Red Hat Linux release 7.3 (Valhalla)
Kernel 2.4.18-3 on an i686

tinwhistle login: phil
Password:
Last login: Tue Apr 29 17:07:21 on tty6
[phil@uilleann phil]$ startx
 
Old 06-10-2003, 08:15 PM   #5
zeppelinrs
LQ Newbie
 
Registered: Jun 2003
Distribution: Slackware 9.0, Red Hat 9.0, Conectiva 9.0
Posts: 10

Original Poster
Rep: Reputation: 0
well, in my pc don't have the .xinitrc.
???
 
Old 06-10-2003, 08:22 PM   #6
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
If you have always booted to a GUI login, then you will not have this file by default. I believe that the file you will need to edit if you wish to continue to use a GUI login is .xsession, and that is found in your home directory.

Oh, and I hope I'm not being rude, but I just want to point out that the filename begins with a fullstop - it is not a typo. Files that begin with a dot in *nix are hidden files. You can view them (from a terminal) with ls -a.

HTH
 
Old 06-10-2003, 08:24 PM   #7
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Well, make it, then.

Code:
[phil@uilleann phil]$ touch .xinitrc
or
Code:
[phil@uilleann phil]$ pico -w .xinitrc
and save after you put in it what you want.
 
Old 06-10-2003, 08:25 PM   #8
zeppelinrs
LQ Newbie
 
Registered: Jun 2003
Distribution: Slackware 9.0, Red Hat 9.0, Conectiva 9.0
Posts: 10

Original Poster
Rep: Reputation: 0
i not have, .xinitrc and .xsession.......
 
Old 06-10-2003, 08:33 PM   #9
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Throw a few flags in your ls command.
In your user account, open an x terminal and type this (pasting the contents of my x terminal so it shows the prompt as well):
Code:
[phil@uilleann phil]$ ls -alc
That should show everything in the long form and in color. The colors indicate directories, links, and executable files, all else are files.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with sawfish and gnome 2. Sawfish won't load! the mirror Linux - Software 4 05-14-2011 08:48 PM
sawfish tompouceuh Linux - General 1 10-11-2005 09:13 PM
sawfish spank Linux - Newbie 2 09-01-2003 03:49 AM
sawfish and icon? zeppelinrs Linux - General 5 07-21-2003 08:41 AM
Sawfish InsaneBob Linux - Software 3 06-22-2003 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:46 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