LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   .xinitrc isn't executed (https://www.linuxquestions.org/questions/linux-software-2/xinitrc-isn%27t-executed-72205/)

hampel 07-12-2003 06:39 PM

.xinitrc isn't executed
 
Hello!

X11R6 does not execute the commands in .xinitrc!
What could be the reason?

Which file must i edit to execute .xinitrc?

fancypiper 07-12-2003 06:51 PM

Do you use startx to start your gui or the GUI login?

It works if you use startx. The gui login ignores this file.

Tinkster 07-12-2003 11:02 PM

As fancy pointed out, the GUI
logins ignore .xinitrc ... however,
you oculd just rename the file to
.xsession :)

Cheers,
Tink

camelrider 07-13-2003 01:42 AM

After .xinitrc was created, did you chmod it to make it executable?
You can check the permissions by typing:
ls -al .xinitrc in your home directory.

For info on how to make it executable see:
man chmod

Good sailing!

hampel 07-14-2003 09:23 AM

Hello!

Thanks for your answers. Now i'm using file .xsession but it doesn't work! Here something about this file:

$ ls -l .xsession
-rwxrwxr-x 1 user user 40 Jul 14 16:12 .xsession

$less .xsession
#! /bin/sh
xmodmap /home/user/.xmodmaprc

Where is the error?

hampel 08-06-2003 03:53 AM

Doesn't anyone have an idea, why .xsession is not be runned?
Does this only work with startx, too?

greets


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