XWindows Startup: Who starts Red Hat Browser & nxterm???

XWindows Startup: Who starts Red Hat Browser & nxterm???

Post by David Morgenlend » Thu, 29 May 1997 04:00:00



I'm running Red Hat Linux 4.1.  When I start XWindows, the Red Hat browser and a
couple of 'nxterm' windows are started automatically.  I've looked in the usual
places for .xinitrc, etc. files.  But I haven't found anything that starts these
up.  Do you have any idea where these are being started from?

Is there any way to debug the XWindows startup to see which commands are being
executed & from where?

Dave Morgenlender

 
 
 

XWindows Startup: Who starts Red Hat Browser & nxterm???

Post by Victor B. Wagne » Fri, 30 May 1997 04:00:00


Quote:>I'm running Red Hat Linux 4.1.  When I start XWindows, the Red Hat browser and a
>couple of 'nxterm' windows are started automatically.  I've looked in the usual
>places for .xinitrc, etc. files.  But I haven't found anything that starts these
>up.  Do you have any idea where these are being started from?

if you would read global xinitrc (/usr/lib/X11/xinit/xinitrc)
you'll see that it sources file .Xclients in home directory.
This is that very place where nxterms and arena started.

This was done probably becouse you can source it both from
xinitrc and Xsession, so you would have same programs running
regardless of using xdm or not.

But I replace my .Xclients with single line

exec fvwm

and put all customization into ~/.fvwmrc

Quote:>Is there any way to debug the XWindows startup to see which commands are being
>executed & from where?

read man xinit and look to all possible places, where
it's startup scripts are located.

Then read this scripts. Its all, and it is not too complex

>Dave Morgenlender


---------------------------------------------------------------------------
Phone: 7(095)230-80-61          Victor B. Wagner
Fax:   7(095)230-80-42          Dokuchaev Soil Institute, Pyzhevsky lane, 7


 
 
 

XWindows Startup: Who starts Red Hat Browser & nxterm???

Post by Randy Enni » Fri, 30 May 1997 04:00:00



> I'm running Red Hat Linux 4.1.  When I start XWindows, the Red Hat
> browser and a
> couple of 'nxterm' windows are started automatically.  I've looked in
> the usual
> places for .xinitrc, etc. files.  But I haven't found anything that
> starts these
> up.  Do you have any idea where these are being started from?

> Is there any way to debug the XWindows startup to see which commands
> are being
> executed & from where?

Are you running as root?  In any case try the system-wide configuration
files.  Also, it sounds like you're running The Next Level window
manager from the sounds of your startup screen.  Look in
/usr/X11R6/lib/X11/TheNextLevel.  I *think* that's where they live!

I ditched that window manager myself and went back to good ol' FVWM -- I
just found it much easier to configure.  Old habits, I guess...

 
 
 

XWindows Startup: Who starts Red Hat Browser & nxterm???

Post by Amit Chatterje » Fri, 30 May 1997 04:00:00



> I'm running Red Hat Linux 4.1.  When I start XWindows, the Red Hat browser and a
> couple of 'nxterm' windows are started automatically.  I've looked in the usual
> places for .xinitrc, etc. files.  But I haven't found anything that starts these
> up.  Do you have any idea where these are being started from?

> Is there any way to debug the XWindows startup to see which commands are being
> executed & from where?

> Dave Morgenlender


Take a look at .xsession file on the user's home directory. That is
what probably what starts the browser and the nxterms.

Hope this helps.

--
/***************************************************************************
Amit Chatterjee

All opinions are mine, not NORTEL's.
****************************************************************************/

 
 
 

XWindows Startup: Who starts Red Hat Browser & nxterm???

Post by David Kjellquis » Fri, 30 May 1997 04:00:00



> I'm running Red Hat Linux 4.1.  When I start XWindows, the Red Hat browser and a
> couple of 'nxterm' windows are started automatically.  I've looked in the usual
> places for .xinitrc, etc. files.  But I haven't found anything that starts these
> up.  Do you have any idea where these are being started from?

> Is there any way to debug the XWindows startup to see which commands are being
> executed & from where?

> Dave Morgenlender


Dave;
        What's fun about newsgroups is to see the same problem come again. Look
in /etc/X11/TheNextLevel/.fvwm2rc.init You will see a reference to WEB
BROWSER. Comment these lines out and Red Baron will not come up. I also
added a comment reminding me what I did. Also in this file you can
comment out the execution of control-panel when you login as root.

Ive forgotten whether the multiple xterm windows is in this file or in
the other config files. You need to check /etc/X11/fvwm and
/etc/X11/fvwm95-2 diectories (Sorry if these aren't exact I'm doing this
from memory without a Linux system in front of me). Good luck.

PS. Keep a good logbook of what works and then read news groups and help
others.

 
 
 

XWindows Startup: Who starts Red Hat Browser & nxterm???

Post by Randy Enni » Fri, 30 May 1997 04:00:00



> I'm running Red Hat Linux 4.1.  When I start XWindows, the Red Hat
> browser and a
> couple of 'nxterm' windows are started automatically.  I've looked in
> the usual
> places for .xinitrc, etc. files.  But I haven't found anything that
> starts these
> up.  Do you have any idea where these are being started from?

> Is there any way to debug the XWindows startup to see which commands
> are being
> executed & from where?

Are you running as root?  In any case try the system-wide configuration
files.  Also, it sounds like you're running The Next Level window
manager from the sounds of your startup screen.  Look in
/usr/X11R6/lib/X11/TheNextLevel.  I *think* that's where they live!

I ditched that window manager myself and went back to good ol' FVWM -- I
just found it much easier to configure.  Old habits, I guess...

 
 
 

XWindows Startup: Who starts Red Hat Browser & nxterm???

Post by G. Frank Paynte » Mon, 02 Jun 1997 04:00:00


David,

The files that determine how fvwm95-2 come up are in the
/etc/X11/TheNextLevel/ subdirectory.  There are a bunch of files there
called '.fvwm2rc.*' where '*' is 'buttons', 'defines', 'init', etc.
These files are used to generate a config file by running them through
the m4 preprocessor each time fvwm95-2 comes up.  To customize my
desktop, I copied .fvwm2rc.defines, .fvwm2rc.init, and .fvwm2rc.m4 to my
home directory, and then edited them to get what I wanted.  For
instance, in the original .fvwm2rc.init, you will see:

 StartupFunction only gets run at Init, not at Restart.
# It is run after SetupFunction, but before EndSetupFunction
AddToFunc "StartupFunction"
+ "I" Exec COLOR_XTERM +ut -T "HOSTNAME-Main" -n "Main"
+ "I" Exec COLOR_XTERM
syscmd(`test "$USER" = "root"')dnl
ifelse(sysval,0,+ "I" Exec control-panel -geometry -0+0,)
+ "I" Exec WWW_BROWSER

which runs the two color xterms you mentioned, plus a web browser
(exactly *which* web browser is defined in .fvwm2rc.defines where the
environment variable WWW_BROWSER gets set).

I didn't like the web browser coming up at boot time, so I modified my
home directory .fvwm2rc.init to comment out the line that starts the web
browser.

# StartupFunction only gets run at Init, not at Restart.
# It is run after SetupFunction, but before EndSetupFunction
AddToFunc "StartupFunction"
+ "I" Exec COLOR_XTERM +ut -T "HOSTNAME-Main" -n "Main"
+ "I" Exec COLOR_XTERM
syscmd(`test "$USER" = "root"')dnl
ifelse(sysval,0,+ "I" Exec control-panel -geometry -0+0,)
#+ "I" Exec WWW_BROWSER


> I'm running Red Hat Linux 4.1.  When I start XWindows, the Red Hat browser and a
> couple of 'nxterm' windows are started automatically.  I've looked in the usual
> places for .xinitrc, etc. files.  But I haven't found anything that starts these
> up.  Do you have any idea where these are being started from?

> Is there any way to debug the XWindows startup to see which commands are being
> executed & from where?

> Dave Morgenlender


 
 
 

XWindows Startup: Who starts Red Hat Browser & nxterm???

Post by Andrzej Jordano » Mon, 02 Jun 1997 04:00:00


 DM> Is there any way to debug the XWindows startup to see which commands are being
 DM> executed & from where?

        /etc/X11/Xsession or $HOME/.xsession

                                                        j~ordan

 
 
 

XWindows Startup: Who starts Red Hat Browser & nxterm???

Post by G. Frank Paynte » Mon, 02 Jun 1997 04:00:00


David,

The files that determine how fvwm95-2 come up are in the
/etc/X11/TheNextLevel/ subdirectory.  There are a bunch of files there
called '.fvwm2rc.*' where '*' is 'buttons', 'defines', 'init', etc.
These files are used to generate a config file by running them through
the m4 preprocessor each time fvwm95-2 comes up.  To customize my
desktop, I copied .fvwm2rc.defines, .fvwm2rc.init, and .fvwm2rc.m4 to my
home directory, and then edited them to get what I wanted.  For
instance, in the original .fvwm2rc.init, you will see:

 StartupFunction only gets run at Init, not at Restart.
# It is run after SetupFunction, but before EndSetupFunction
AddToFunc "StartupFunction"
+ "I" Exec COLOR_XTERM +ut -T "HOSTNAME-Main" -n "Main"
+ "I" Exec COLOR_XTERM
syscmd(`test "$USER" = "root"')dnl
ifelse(sysval,0,+ "I" Exec control-panel -geometry -0+0,)
+ "I" Exec WWW_BROWSER

which runs the two color xterms you mentioned, plus a web browser
(exactly *which* web browser is defined in .fvwm2rc.defines where the
environment variable WWW_BROWSER gets set).

I didn't like the web browser coming up at boot time, so I modified my
home directory .fvwm2rc.init to comment out the line that starts the web
browser.

# StartupFunction only gets run at Init, not at Restart.
# It is run after SetupFunction, but before EndSetupFunction
AddToFunc "StartupFunction"
+ "I" Exec COLOR_XTERM +ut -T "HOSTNAME-Main" -n "Main"
+ "I" Exec COLOR_XTERM
syscmd(`test "$USER" = "root"')dnl
ifelse(sysval,0,+ "I" Exec control-panel -geometry -0+0,)
#+ "I" Exec WWW_BROWSER


> I'm running Red Hat Linux 4.1.  When I start XWindows, the Red Hat browser and a
> couple of 'nxterm' windows are started automatically.  I've looked in the usual
> places for .xinitrc, etc. files.  But I haven't found anything that starts these
> up.  Do you have any idea where these are being started from?

> Is there any way to debug the XWindows startup to see which commands are being
> executed & from where?

> Dave Morgenlender


 
 
 

XWindows Startup: Who starts Red Hat Browser & nxterm???

Post by Andrzej Jordano » Mon, 02 Jun 1997 04:00:00


 DM> Is there any way to debug the XWindows startup to see which commands are being
 DM> executed & from where?

        /etc/X11/Xsession or $HOME/.xsession

                                                        j~ordan

 
 
 

XWindows Startup: Who starts Red Hat Browser & nxterm???

Post by David Morgenlend » Tue, 03 Jun 1997 04:00:00


Frank,

Thanks for your help.  I copied those files into my home directory, edited them
& it's all working!


>David,

>The files that determine how fvwm95-2 come up are in the
>/etc/X11/TheNextLevel/ subdirectory.  There are a bunch of files there
>called '.fvwm2rc.*' where '*' is 'buttons', 'defines', 'init', etc.
>These files are used to generate a config file by running them through
>the m4 preprocessor each time fvwm95-2 comes up.  To customize my
>desktop, I copied .fvwm2rc.defines, .fvwm2rc.init, and .fvwm2rc.m4 to my
>home directory, and then edited them to get what I wanted.  For
>instance, in the original .fvwm2rc.init, you will see:

> StartupFunction only gets run at Init, not at Restart.
># It is run after SetupFunction, but before EndSetupFunction
>AddToFunc "StartupFunction"
>+ "I" Exec COLOR_XTERM +ut -T "HOSTNAME-Main" -n "Main"
>+ "I" Exec COLOR_XTERM
>syscmd(`test "$USER" = "root"')dnl
>ifelse(sysval,0,+ "I" Exec control-panel -geometry -0+0,)
>+ "I" Exec WWW_BROWSER

>which runs the two color xterms you mentioned, plus a web browser
>(exactly *which* web browser is defined in .fvwm2rc.defines where the
>environment variable WWW_BROWSER gets set).

>I didn't like the web browser coming up at boot time, so I modified my
>home directory .fvwm2rc.init to comment out the line that starts the web
>browser.

># StartupFunction only gets run at Init, not at Restart.
># It is run after SetupFunction, but before EndSetupFunction
>AddToFunc "StartupFunction"
>+ "I" Exec COLOR_XTERM +ut -T "HOSTNAME-Main" -n "Main"
>+ "I" Exec COLOR_XTERM
>syscmd(`test "$USER" = "root"')dnl
>ifelse(sysval,0,+ "I" Exec control-panel -geometry -0+0,)
>#+ "I" Exec WWW_BROWSER


>> I'm running Red Hat Linux 4.1.  When I start XWindows, the Red Hat browser and a
>> couple of 'nxterm' windows are started automatically.  I've looked in the usual
>> places for .xinitrc, etc. files.  But I haven't found anything that starts these
>> up.  Do you have any idea where these are being started from?

>> Is there any way to debug the XWindows startup to see which commands are being
>> executed & from where?

>> Dave Morgenlender


Dave Morgenlender

 
 
 

XWindows Startup: Who starts Red Hat Browser & nxterm???

Post by David Morgenlend » Tue, 03 Jun 1997 04:00:00


Frank,

Thanks for your help.  I copied those files into my home directory, edited them
& it's all working!


>David,

>The files that determine how fvwm95-2 come up are in the
>/etc/X11/TheNextLevel/ subdirectory.  There are a bunch of files there
>called '.fvwm2rc.*' where '*' is 'buttons', 'defines', 'init', etc.
>These files are used to generate a config file by running them through
>the m4 preprocessor each time fvwm95-2 comes up.  To customize my
>desktop, I copied .fvwm2rc.defines, .fvwm2rc.init, and .fvwm2rc.m4 to my
>home directory, and then edited them to get what I wanted.  For
>instance, in the original .fvwm2rc.init, you will see:

> StartupFunction only gets run at Init, not at Restart.
># It is run after SetupFunction, but before EndSetupFunction
>AddToFunc "StartupFunction"
>+ "I" Exec COLOR_XTERM +ut -T "HOSTNAME-Main" -n "Main"
>+ "I" Exec COLOR_XTERM
>syscmd(`test "$USER" = "root"')dnl
>ifelse(sysval,0,+ "I" Exec control-panel -geometry -0+0,)
>+ "I" Exec WWW_BROWSER

>which runs the two color xterms you mentioned, plus a web browser
>(exactly *which* web browser is defined in .fvwm2rc.defines where the
>environment variable WWW_BROWSER gets set).

>I didn't like the web browser coming up at boot time, so I modified my
>home directory .fvwm2rc.init to comment out the line that starts the web
>browser.

># StartupFunction only gets run at Init, not at Restart.
># It is run after SetupFunction, but before EndSetupFunction
>AddToFunc "StartupFunction"
>+ "I" Exec COLOR_XTERM +ut -T "HOSTNAME-Main" -n "Main"
>+ "I" Exec COLOR_XTERM
>syscmd(`test "$USER" = "root"')dnl
>ifelse(sysval,0,+ "I" Exec control-panel -geometry -0+0,)
>#+ "I" Exec WWW_BROWSER


>> I'm running Red Hat Linux 4.1.  When I start XWindows, the Red Hat browser and a
>> couple of 'nxterm' windows are started automatically.  I've looked in the usual
>> places for .xinitrc, etc. files.  But I haven't found anything that starts these
>> up.  Do you have any idea where these are being started from?

>> Is there any way to debug the XWindows startup to see which commands are being
>> executed & from where?

>> Dave Morgenlender


Dave Morgenlender

 
 
 

1. Red Hat 7.1 - Installing Red Hat packages after Red Hat is already installed.

How can I install packages that I forgot to install with the Red Hat
7.1 installation?

Here's my problem:
Various pieces of Red Hat keep saying that I am missing a file and
that it needs to be installed with a certain package (namely most of
the Kontrol Panel).  But I have been unsuccessful at finding where
this is done.  I am still a newbie with Linux, but I would assume that
there should be an "Add/Remove Programs" equivalent with Linux.

Please help!

2. kbhit equivalent?

3. Starting xwindows in linux Red Hat

4. Sendmail5.67b+IDA and UUCP hosts

5. Red Hat 6 & Gnome startup apps

6. laptop and ext monitor

7. Red Hat 6.0 && init messages && new kernel

8. Printing

9. Removing Xwindows from start-up (How???)

10. Problem logging in after upgradation from red hat 8 to red hat 9

11. migrating from red hat 8.0 to red hat 9.0

12. Installing Red Hat packages after Red Hat is already

13. The Red Hats are coming, the Red Hats are coming