Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /etc/x11/xinit/xinitrc



On 2007/02/18 06:47, David Robinson wrote:
> ok, changes are in and here is the list of commands from the terminal
> 
> david-robinsons-power-mac-g5:~ daverobinson1uk$ cd ~
> david-robinsons-power-mac-g5:~ daverobinson1uk$ mv .xinitrc
> .xinitrc-problems
> david-robinsons-power-mac-g5:~ daverobinson1uk$ ls
> Desktop         Incomplete      Music           Shared
> Documents       Library         Pictures        Sites
> GNUstep         Movies          Public          nreal
> david-robinsons-power-mac-g5:~ daverobinson1uk$ ls -all
> total 72
> drwxr-xr-x   25 daverobi  daverobi   850 Feb 18 11:41 .
> drwxrwxr-t    7 root      admin      238 Feb 18 08:49 ..
> -rw-r--r--    1 daverobi  daverobi     3 Feb 15 07:44 .CFUserTextEncoding
> -rw-r--r--    1 daverobi  daverobi  6148 Feb 18 08:52 .DS_Store
> drwx------    3 daverobi  daverobi   102 Feb 15 09:37 .MacOSX
> drwx------    2 daverobi  daverobi    68 Feb 18 08:59 .Trash
> -rw-------    1 daverobi  daverobi     0 Feb 16 20:23 .Xauthority
> -rw-------    1 daverobi  daverobi  2522 Feb 18 10:23 .bash_history
> -rw-r--r--    1 daverobi  daverobi   361 Feb 15 09:37 .bashrc
> -rw-r--r--    1 daverobi  daverobi   357 Feb 15 09:37 .cshrc
> -rw-r--r--    1 daverobi  daverobi   407 Feb 16 19:38 .profile
> -rw-------    1 daverobi  daverobi  1255 Feb 16 21:12 .viminfo
> -rw-r--r--    1 daverobi  daverobi   595 Feb 18 10:41 .xinitrc-problems
> drwx------    8 daverobi  daverobi   272 Feb 18 08:59 Desktop
> drwx------   26 daverobi  daverobi   884 Feb 16 11:18 Documents
> drwxr-xr-x    6 daverobi  daverobi   204 Feb 18 08:50 GNUstep
> drwxr-xr-x    4 daverobi  daverobi   136 Feb 15 10:03 Incomplete
> drwx------   31 daverobi  daverobi  1054 Feb 15 11:54 Library
> drwx------    3 daverobi  daverobi   102 Feb 15 07:44 Movies
> drwx------    5 daverobi  daverobi   170 Feb 15 08:52 Music
> drwx------    4 daverobi  daverobi   136 Feb 15 07:44 Pictures
> drwxr-xr-x    4 daverobi  daverobi   136 Feb 15 07:44 Public
> drwxr-xr-x    4 daverobi  daverobi   136 Feb 15 10:01 Shared
> drwxr-xr-x    5 daverobi  daverobi   170 Feb 15 07:44 Sites
> drwxrwxrwx    4 daverobi  daverobi   136 Feb 15 09:39 nreal
> david-robinsons-power-mac-g5:~ daverobinson1uk$ ls
> Desktop         Incomplete      Music           Shared          xinitrc
> Documents       Library         Pictures        Sites
> GNUstep         Movies          Public          nreal
> david-robinsons-power-mac-g5:~ daverobinson1uk$ ls -all
> total 80
> drwxr-xr-x   26 daverobi  daverobi   884 Feb 18 11:43 .
> drwxrwxr-t    7 root      admin      238 Feb 18 08:49 ..
> -rw-r--r--    1 daverobi  daverobi     3 Feb 15 07:44 .CFUserTextEncoding
> -rw-r--r--    1 daverobi  daverobi  6148 Feb 18 08:52 .DS_Store
> drwx------    3 daverobi  daverobi   102 Feb 15 09:37 .MacOSX
> drwx------    2 daverobi  daverobi    68 Feb 18 08:59 .Trash
> -rw-------    1 daverobi  daverobi     0 Feb 16 20:23 .Xauthority
> -rw-------    1 daverobi  daverobi  2522 Feb 18 10:23 .bash_history
> -rw-r--r--    1 daverobi  daverobi   361 Feb 15 09:37 .bashrc
> -rw-r--r--    1 daverobi  daverobi   357 Feb 15 09:37 .cshrc
> -rw-r--r--    1 daverobi  daverobi   407 Feb 16 19:38 .profile
> -rw-------    1 daverobi  daverobi  1255 Feb 16 21:12 .viminfo
> -rw-r--r--    1 daverobi  daverobi   595 Feb 18 10:41 .xinitrc-problems
> drwx------    8 daverobi  daverobi   272 Feb 18 08:59 Desktop
> drwx------   26 daverobi  daverobi   884 Feb 16 11:18 Documents
> drwxr-xr-x    6 daverobi  daverobi   204 Feb 18 08:50 GNUstep
> drwxr-xr-x    4 daverobi  daverobi   136 Feb 15 10:03 Incomplete
> drwx------   31 daverobi  daverobi  1054 Feb 15 11:54 Library
> drwx------    3 daverobi  daverobi   102 Feb 15 07:44 Movies
> drwx------    5 daverobi  daverobi   170 Feb 15 08:52 Music
> drwx------    4 daverobi  daverobi   136 Feb 15 07:44 Pictures
> drwxr-xr-x    4 daverobi  daverobi   136 Feb 15 07:44 Public
> drwxr-xr-x    4 daverobi  daverobi   136 Feb 15 10:01 Shared
> drwxr-xr-x    5 daverobi  daverobi   170 Feb 15 07:44 Sites
> drwxrwxrwx    4 daverobi  daverobi   136 Feb 15 09:39 nreal
> -rw-r--r--    1 daverobi  daverobi   567 Feb 18 11:43 xinitrc
> david-robinsons-power-mac-g5:~ daverobinson1uk$ clear
> 
> david-robinsons-power-mac-g5:~ daverobinson1uk$ sudo cp xinitrc
> /etc/x11/xinit/xinitrc
> Password:
> david-robinsons-power-mac-g5:~ daverobinson1uk$ cd /etc/x11/xinit
> david-robinsons-power-mac-g5:/etc/x11/xinit daverobinson1uk$ sudo chmod
> 0444 xinitrc
> david-robinsons-power-mac-g5:/etc/x11/xinit daverobinson1uk$ ls -la
> total 16
> drwxr-xr-x    4 root  wheel  136 Feb 18 11:44 .
> drwxr-xr-x   13 root  wheel  442 Feb 18 08:45 ..
> -rw-r--r--    1 root  wheel  608 Feb 18 08:45 .xinitrc
> -r--r--r--    1 root  wheel  567 Feb 18 11:44 xinitrc
> david-robinsons-power-mac-g5:/etc/x11/xinit daverobinson1uk$

Looks pretty much OK.  Your xinitrc (that I sent) seems to have lost a byte
somewhere along the way; probably a final newline, which shouldn't be an issue
(we'll see what happens next).  But you have an extra .xinitrc in
/etc/x11/xinit.  I don't think it's your problem, but it would be wise to get
rid of it before running X11 again:

	cd /etc/x11/xinit
	sudo rm  -f .xinitrc
	ls -la

Now try running X11 again and tell us what happens.

Mark
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden

References: 
 >changes (From: David Robinson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.