It is currently Mon, 30 Mar 2020 22:19:32 GMT



 
Author Message
 xdm does not execute /etc/profile!
ok, so I just switched to using xdm.  

my problem is, a lot of my initialization programs in
fvwm are not loaded anymore because they cannot be
found, because the PATH is not set, because
xdm does not load /etc/profile !!!

what else do I need to do in order to have the path set
correctly ?

please email response if possible

thanks in advance

jerry



 Fri, 03 Jul 1998 03:00:00 GMT   
 xdm does not execute /etc/profile!
In article <4de9rd$...@ftp.netgate.net>, syje...@netgate.net says...

Where ever you start your xterms, you need to pass the -ls command line
option.  This will indicate that the shell xterm runs is to be a login shell
and will run /etc/profile, etc.  See the man page for xterm for details.

Gerry
ge...@blue.intele.net



 Mon, 06 Jul 1998 03:00:00 GMT   
 xdm does not execute /etc/profile!

I think he's talking about the path that the window manager and X programs
spawned from it have.  There's a resource or two that sets it.
Try:
DisplayManager.DISPLAY.userPath: <somecolonseparatedpath>

You can also put it in some files.  It's in the manpage.
--



 Wed, 08 Jul 1998 03:00:00 GMT   
 xdm does not execute /etc/profile!
:ok, so I just switched to using xdm.  
:
:my problem is, a lot of my initialization programs in
:fvwm are not loaded anymore because they cannot be
:found, because the PATH is not set, because
:xdm does not load /etc/profile !!!

I'm not sure that xdm should load a path.  It's not a shell.
Any of your xterms can be set to read your profile (or login/cshrc)
files, if you wish.  See the other followup.

:
:what else do I need to do in order to have the path set
:correctly ?

I just type the pathname into the system.fvwmrc, which works fine.
--
Matt Lundberg                   m...@sixpack.wustl.edu



 Wed, 08 Jul 1998 03:00:00 GMT   
 xdm does not execute /etc/profile!

Why don't you put it in ~/.xsession?

What you need is to set up the PATH before starting applications such
as 'fvwm'.  They are done in ~/.xsession.  If there is no such file,
a system default file will be run.  You may modify that system default
file instead.

--
Lee Sau Dan

-------------------------------------------------------------------------------
URL: http://www.cs.hku.hk/~sdlee
e-mail: sd...@cs.hku.hk



 Wed, 08 Jul 1998 03:00:00 GMT   
 xdm does not execute /etc/profile!
you need to set up a .Xdefaults or .Xresources file, with the following
line:
*Xterm*loginShell:      "true"
In your system xinitrc file, that starts your X Window manager, you need
to see which file your system is reading for your X-window resource
enviornment.  The command line that uses this file would look something
like this
xrdb -merge ~/.Xdefaults
or
xrdb -merge ~/.Xresources.
If you read the man page on xrdb, it will explain what this is doing.
        Rich Hart

--
#define WHO   "Richard Hart  rh...@csn.net"
#define WHERE "SUPERNET INC. WEB Development Team"
#define WHY   "When I know it all, I will retire"
#include <std_disclamer.h>



 Tue, 21 Jul 1998 03:00:00 GMT   
 
   [ 6 post ] 

Similar Threads

1. /etc/profile is not executed

2. xdm : /etc/profile not sourced?

3. root can not edit /etc/hosts or /etc/profile, can not create directory

4. ksh not reading /.profile or /etc/profile

5. root can not edit /etc/profile or /etc/hosts or make directory

6. /etc/profile, xdm and a .xsession file


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software