On Apr 28, 2010, at 3:18 PM, Alexander Hansen wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 4/28/10 2:59 PM, Stan Sanderson wrote:
>> OS 10.5.8, XQuartz 2.4 (PPC), 2.5 (x86), fink unstable tree, all up- 
>> to-
>> date (except for gnumeric)
>>
>> Alexander Hansen recently suggested how to start kde  
>> using .xinitrc.d.
>>
>> For some time now, my only working startup for Gnome has been
>> through .xinitrc, using
>>> source /sw/bin/init.sh
>>> exec metacity &
>>> exec gnome-panel
>>
>> I have tried a variety of other approaches, hoping to start using
>> gnome-session, with no useful result.
>>
>> A much earlier post mentioned, as did Alexander's post for kde,
>> that .xinitrc was deprecated. I was hoping Alexander or some other
>> helpful soul might post their recipe for Gnome start-up on the OS and
>> platforms mentioned above.
>>
>> TIA,
>>
>> Stan
>>
>>
>>
>>
>
> Try the following (WorksForMe)
>
> 1)  "fink reinstall xinitrc" to make sure that the "xinitrc" structure
> is set up properly to load Fink stuff--it gets clobbered by Xquartz  
> updates.
>
> 2)  Create /sw/etc/xinitrc-last-hook as a superuser, with contents:
>
> #!/bin/sh
> . /usr/X11/lib/X11/xinit/xinitrc.d/98-user.sh
>
> (I'm thinking it might be worth making a Fink package up to do
> that--this is how one sets it up on 10.5 and 10.6, but 10.4 doesn't
> actually have this script and it would need to be created as well)
>
> 3)  Create $HOME/.xinitrc.d
>
> 4)  rename your .xinitrc to keep it from getting loaded
>
> 5)  Create $HOME/.xinitrc.d/74-gnome-session.sh (or something like  
> that)
> with contents
>
> #!/bin/sh
> exec gnome-session
>
> 6)  Make $HOME/.xinitrc.d/74-gnome-session.sh executable via
>
> chmod a+x $HOME/.xinitrc.d/74-gnome-session.sh
>
> The numbering convention is based on that in
>
> /sw/share/doc/xinitrc/numbering.txt
>
> (though 98-user.sh is provided by the system and uses its numbering
> convention; cf.
>
> http://article.gmane.org/gmane.os.macosx.fink.devel/18879
>
> )
> - --
> Alexander Hansen


Thanks. I wish I could report success, but the results indicate I'm in  
a loop. Gnome desktop appears, but the system log is in the mode of  
continuously updating, and Gnome apps respond lethargically.

The significant(?) parts of the system log are below. Note the "could  
not connects"
.
.
Apr 28 16:20:41 Macintosh [0x0-0x5a05a].org.x.X11[11214]: X11.app  
Handing off fd to server thread via DarwinListenOnOpenFD(5)
Apr 28 16:20:41 Macintosh [0x0-0x5a05a].org.x.X11[11214]:  
DarwinListenOnOpenFD: 5
Apr 28 16:20:42 Macintosh [0x0-0x5a05a].org.x.X11[11214]: Calling  
ListenOnOpenFD() for new fd: 5
Apr 28 16:20:42 Macintosh [0x0-0x5a05a].org.x.X11[11214]: X11.app:  
Launching /usr/X11/bin/xterm:
Apr 28 16:20:42 Macintosh [0x0-0x5a05a].org.x.X11[11214]:       argv[0] = / 
bin/sh
Apr 28 16:20:42 Macintosh [0x0-0x5a05a].org.x.X11[11214]:       argv[1] = -c
Apr 28 16:20:42 Macintosh [0x0-0x5a05a].org.x.X11[11214]:       argv[2] = / 
usr/X11/bin/xterm
Apr 28 16:20:43 Macintosh org.x.privileged_startx[11241]: font_cache:  
Done
Apr 28 16:20:43 Macintosh org.x.startx[11229]: Couldn't determine full  
name for MT Extra
Apr 28 16:20:43 Macintosh org.x.startx[11229]: Couldn't get family  
name for MT Extra
Apr 28 16:20:44 Macintosh gnome-session[11369]: WARNING: Could not  
connect to ConsoleKit: Failed to connect to socket /sw/var/run/dbus/ 
system_bus_socket: Socket operation on non-socket
Apr 28 16:20:44: --- last message repeated 1 time ---
Apr 28 16:20:44 Macintosh org.x.startx[11229]: gnome-session[11369]:  
WARNING: Could not connect to ConsoleKit: Failed to connect to socket / 
sw/var/run/dbus/system_bus_socket: Socket operation on non-socket
Apr 28 16:20:45: --- last message repeated 1 time ---
Apr 28 16:20:45 Macintosh org.x.startx[11229]: Window manager warning:
Apr 28 16:20:45 Macintosh org.x.startx[11229]: Failed to read saved  
session file /Users/ssanders/.config/metacity/sessions/ 
107b7a846af0d6d814127248964470409300000113690011.ms: Failed to open  
file '/Users/ssanders/.config/metacity/sessions/ 
107b7a846af0d6d814127248964470409300000113690011.ms': No such file or  
directory
Apr 28 16:20:45 Macintosh org.x.startx[11229]: font_cache: Updating FC  
cache
Apr 28 16:20:48 Macintosh org.x.startx[11229]: ** Message:  
Initializing gksu extension...
Apr 28 16:20:48 Macintosh org.x.startx[11229]: ** (nautilus:11422):  
WARNING **: Could not connect to system bus: Failed to connect to  
socket /sw/var/run/dbus/system_bus_socket: Socket operation on non- 
socket
Apr 28 16:20:49 Macintosh org.x.startx[11229]: ** Message:  
Initializing gksu extension...
Apr 28 16:20:49 Macintosh org.x.startx[11229]: ** (nautilus:11430):  
WARNING **: Could not connect to system bus: Failed to connect to  
socket /sw/var/run/dbus/system_bus_socket: Socket operation on non- 
socket
Apr 28 16:20:49 Macintosh org.x.startx[11229]: ** Message:  
Initializing gksu extension...
Apr 28 16:20:49 Macintosh org.x.startx[11229]: ** (nautilus:11432):  
WARNING **: Could not connect to system bus: Failed to connect to  
socket /sw/var/run/dbus/system_bus_socket: Socket operation on non- 
socket
.
.
etc., continued until I manually shut down the X server.

Stan




------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to