[techtalk] XDM and xinitrc

Malcolm Tredinnick malcolm at commsecure.com.au
Sun Aug 6 11:03:45 EST 2000


On Sat, Aug 05, 2000 at 08:44:47PM -0400, Subba Rao wrote:
> 
> I use XDM to start my X-Window sessions. My window manager is FVWM2.
> I have $HOME/.fvwm2rc which is being read when FVWM starts. I have my
> .xinitrc in $HOME, which is not being read. I have some customizations
> which are not being executed. When I try to modify the global xinitrc,
> then after login I get one xclock, the wallpaper and nothing else.
> 
> What should I do or check to get $HOME/.xinitrc to be executed?

On most xdm installations I have seen, the system 'xinitrc' files are
run and then the Xsession script checks for $HOME/.xinitrc and
$HOME/.Xclients (in that order). If either of these exist _and_ are
exectuable, then they are run as shell scripts.

Consequently, you could set up a link from $HOME/.xsession to
$HOME/.xinitrc and make sure that .xinitrc is executable. Alternatively,
just copy .xinitrc over to .xsession -- this approach being preferable
if there are things you do when starting from xdm that you don't when
starting from a prompt with startx.

Cheers,
Malcolm

-- 
Malcolm Tredinnick            email: malcolm at commsecure.com.au
CommSecure Pty Ltd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://linuxchix.org/pipermail/techtalk/attachments/20000806/b17d76ba/attachment.pgp


More information about the Techtalk mailing list