Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136316 - /etc/X11/xinit/xinitrc, line 35, typo
Summary: /etc/X11/xinit/xinitrc, line 35, typo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-10 12:59 UTC by samLT
Modified: 2006-06-11 10:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
executable-test-fix.patch (executable-test-fix.patch,366 bytes, patch)
2006-06-10 13:04 UTC, samLT
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description samLT 2006-06-10 12:59:37 UTC
First I have to say I modified startx in order to use /etc/X11/xinit/xinitrc instead of just ~/.xinitrc if existing.

====code=====
$ startx
xauth:  creating new authority file /home/sam/.serverauth.11302

X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.17-rc5 i686
Current Operating System: Linux bang 2.6.17-rc5 #2 PREEMPT Thu Jun 1 23:48:16 CEST 2006 i686
Build Date: 05 June 2006
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Jun 10 21:33:15 2006
(==) Using config file: "/etc/X11/xorg.conf"

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
/etc/X11/xinit/xinitrc: line 35: /home/truc/.xinitrc: Permission denied
/etc/X11/xinit/xinitrc: line 35: exec: /home/truc/.xinitrc: cannot execute: Success

waiting for X server to shut down FreeFontPath: FPE "/usr/share/fonts/misc:unscaled" refcount is 2, should be 1; fixing.


Couldnt get a file descriptor referring to the console
====code====

in /etc/X11/xinit/xinitrc:

line 31:     if [ -e $XINITRC ]; then

should be 

line 31:     if [ -x $XINITRC ]; then
Comment 1 samLT 2006-06-10 13:04:37 UTC
Created attachment 88857 [details, diff]
executable-test-fix.patch

probably uneeded patch for such a small typo, but it just makes things clear
Comment 2 Joshua Baergen (RETIRED) gentoo-dev 2006-06-11 10:40:28 UTC
Fixed, thanks.