Thanks for the suggestions. I tried to redirect the output to .xinitrc.log and 
here is what it gives:
----------------------------------------------------------------------------------------------------------------
+ /opt/local/bin/metacity
+ /opt/local/bin/gnome-sessionWindow manager warning: Locale not understood by 
C library, internationalization will not work
(metacity:64195): Gtk-WARNING **: Locale not supported by C library.        
Using the fallback 'C' locale.
(process:64197): Gtk-WARNING **: Locale not supported by C library.        
Using the fallback 'C' locale.gnome-session-is-accelerated: No composite 
extension.gnome-session-is-accelerated: No GLX_EXT_texture_from_pixmap 
support.Jan 13 23:51:43 Administrators-MacBook-Pro.local gnome-session[64194] 
<Warning>: WARNING: Could not connect to ConsoleKit: Failed to connect to 
socket /opt/local/var/run/dbus/system_bus_socket: No such file or directoryJan 
13 23:51:43 Administrators-MacBook-Pro.local gnome-session[64194] <Warning>: 
WARNING: Unable to find required component 'gnome-shell'Jan 13 23:51:43 
Administrators-MacBook-Pro.local gnome-session[64194] <Warning>: WARNING: 
Unable to find required component 'gnome-settings-daemon'Window manager 
warning: Missing composite extension required for compositing(process:64209): 
Gtk-WARNING **: Locale not supported by C library.        Using the fallback 
'C' locale.
(gst-plugin-scanner:64224): Clutter-WARNING **: Locale not supported by C 
library.Using the fallback 'C' locale.Window manager warning: Log level 16: 
metacity: Fatal IO error 35 (Resource temporarily unavailable) on X server :0.
glibtop: pid 64211 received 
eof.----------------------------------------------------------------------------------------------------------------

X11 exits with a grey screen displaying an error message in the middle (see 
attachment).
My .xinitrc file is limited to the absolute minimum:

#!/bin/sh
set -xexec 2>$HOME/.xinitrc.log
# start some nice programs
/opt/local/bin/gnome-session & /opt/local/bin/metacity


Any ideas at this point?
 

     On Thursday, January 8, 2015 11:53 PM, Trond Kandal <[email protected]> 
wrote:
   

 
> On 07 Jan 2015, at 22:16, René J.V. Bertin <[email protected]> wrote:
> 
> On Wednesday January 07 2015 12:00:26 [email protected] wrote:
>> I created the ~/.xinitrc.d/90-gnome.sh script to launch Gnome. But it does 
>> not work. If I execute the script, I see in the Dock the X11.app bouncing, 
>> then quitting, then starting again to bounce with no end. Only a logout can 
>> stop it.
>> 
>> Can anyone describe the steps to configure and run Gnome, once it is 
>> installed through MacPorts?
> 

[ … ]

> 
> and looking at the output. Alternatively edit your ~/.xinitrc file by adding 
> a single ( above the 1st line that's not a comment, and after the last line, 
> adding
> 
> ) > $HOME/.xinitrc.log 2>&1
> 

Good evening.

Xquartz may use your $HOME/.xinitrc if you have one, otherwise it will use a 
default.
If you have $HOME/.xinitrc, I would add the following as the 3 first lines in 
$HOME/.xinitrc.

#! /bin/sh
set -x
exec 2>$HOME/.xinitrc.log
…

This will trace the whole bootstrap-sequence for Xquartz to $HOME/.xinitrc.log

Hope that will help you.

Regards

Trond.
-- 
Trond Kandal                  Org. og Info.avd.
Applikasjonsseksjonen  NTNU                    mobile:+47 91897110
NTNU IT                            7491 Trondheim  fax:  +47 73598200
http://www.ntnu.no/adm/it

"Simplicity is prerequisite for reliability",  Edsger W. Dijkstra


   
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to