Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-12-2003, 06:39 PM
|
#1
|
Member
Registered: Jun 2003
Posts: 62
Rep:
|
.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?
|
|
|
07-12-2003, 06:51 PM
|
#2
|
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
Do you use startx to start your gui or the GUI login?
It works if you use startx. The gui login ignores this file.
|
|
|
07-12-2003, 11:02 PM
|
#3
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
As fancy pointed out, the GUI
logins ignore .xinitrc ... however,
you oculd just rename the file to
.xsession :)
Cheers,
Tink
|
|
|
07-13-2003, 01:42 AM
|
#4
|
Member
Registered: Apr 2003
Location: Juneau, Alaska
Posts: 251
Rep:
|
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!
|
|
|
07-14-2003, 09:23 AM
|
#5
|
Member
Registered: Jun 2003
Posts: 62
Original Poster
Rep:
|
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?
|
|
|
08-06-2003, 03:53 AM
|
#6
|
Member
Registered: Jun 2003
Posts: 62
Original Poster
Rep:
|
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:53 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|