How to start gnome ?

Jasper Frumau jasperfrumau at gmail.com
Tue Jan 17 03:53:14 PST 2012


I created ~/xinitrc.d/90-gnome.sh and added

# make the freedesktop menu entries work
export XDG_DATA_DIRS=/opt/local/share
export XDG_DATA_HOME=/opt/local/share
export XDG_CONFIG_DIRS=/opt/local/etc/xdg

# enable sound
export ESPEAKER=localhost

# use GNOME's window manager
exec metacity &

# start GNOME
exec gnome-session

then I tried gnome-session again and I got

 gnome-session
Failed to start message bus: launch_msg("CheckIn") IPC failure: Operation
not permitted

EOF in dbus-launch reading address from bus daemon

Anybody other tips?




On Mon, Jan 16, 2012 at 10:51 PM, Jasper Frumau <jasperfrumau at gmail.com>
wrote:
>
> would love to hear that too. Just installed Gnome and was under the
impression I already fixed dbus a long time ago. But when I run Gnome
Session I get:
>
> $gnome-session
> Failed to start message bus: launch_msg("CheckIn") IPC failure: Operation
not permitted
>
> When I used sudo I got:
>
> sudo gnome-session
> Password:
>
> Failed to start message bus: launchd's environment variable
DBUS_LAUNCHD_SESSION_BUS_SOCKET is empty, but should contain a socket path.
>
> EOF in dbus-launch reading address from bus daemon
>
> But I see this is ongoing here: https://trac.macports.org/ticket/29409
>
>
>
>
>
> On Mon, Jan 16, 2012 at 4:50 PM, Keith J. Schultz <keithjschultz at web.de>
wrote:
>>
>> Hi Micheal,
>>
>> I hate to discourage you, but you may not be able to run a
>> gnome-session. I have tried before. But failed miserably.
>>
>> Even with the instructions give and having dbus started correctly,
>> every time I tried starting a gnome-session the system log showed
>> execution rights problems and would not successfully launch. Though
launchd
>> continuously tried to restart everything. I had to kill things manually
and restart.
>>
>> I ask for help, but never got any suggestions on getting gnome up and
running!
>> Nobody, even said they had gnome running!!
>>
>> Since my interest was for fun I gave up on pursuing the matter.
>>
>> I you do get a gnome-session running it would be nice if you report back.
>> The documentation needs to be updated, too.
>>
>> regards
>>        Keith.
>>
>> Am 15.01.2012 um 20:57 schrieb Michael Parchet:
>>
>> > Hi,
>> >
>> > I have read this page but I need assistance to configure gnome
>> >
>> > I have copy and past the line below in a file named 90-gnome.sh
>> > # make the freedesktop menu entries work
>> > export XDG_DATA_DIRS=/opt/local/share
>> > export XDG_DATA_HOME=/opt/local/share
>> > export XDG_CONFIG_DIRS=/opt/local/etc/xdg
>> >
>> > # enable sound
>> > export ESPEAKER=localhost
>> >
>> > # use Apple's window manager
>> > exec quartz-wm &
>> >
>> > # start GNOME
>> > exec dbus-launch gnome-session
>> >
>> > The file's PATH is
>> >
>> > /usr/X11/lib/X11/xinit/xinitrc.d
>> >
>> >
>> > when I start x11 I have thess lines below
>> >
>> > startx
>> > font_cache: Scanning user font directories to generate X11 font caches
>> > font_cache: Updating FC cache
>> > xauth:  file /var/root/.serverauth.1194 does not exist
>> > xauth:  file /var/root/.Xauthority does not exist
>> > xauth:  file /var/root/.Xauthority does not exist
>> >
>> > launch_msg("CheckIn") IPC failure: Operation not permitted
>> > Xquartz: Unable to locate waiting server: org.x.X11
>> > Xquartz: X11.app = /Applications/Utilities/X11.app/Contents/MacOS/X11
>> > Xquartz: Starting X server:
/Applications/Utilities/X11.app/Contents/MacOS/X11 --listenonly
>> > X11.app: main(): argc=2
>> >    argv[0] = /Applications/Utilities/X11.app/Contents/MacOS/X11.bin
>> >    argv[1] = --listenonly
>> > Waiting for startup parameters via Mach IPC.
>> > X11.app: No launchd socket handed off, unsetting DISPLAY
>> > X11.app: do_start_x11_server(): argc=6
>> >    argv[0] = /usr/X11/bin/X
>> >    argv[1] = :0
>> >    argv[2] = -nolisten
>> >    argv[3] = tcp
>> >    argv[4] = -auth
>> >    argv[5] = /var/root/.serverauth.1194
>> > Xquartz starting:
>> > X.Org X Server 1.10.3
>> > Build Date: 20110922
>> > X11.app: DarwinProcessFDAdditionQueue_thread: Sleeping to allow
xinitrc to catchup.
>> > (EE) Error loading keymap /usr/X11/share/X11/xkb/compiled/server-0.xkm
>> > (EE) XKB: Failed to load keymap. Loading default keymap instead.
>> > font_cache: Done
>> > /usr/X11/bin/xinit: XFree86_VT property unexpectedly has 0 items
instead of 1
>> >
>> > and if I start gnome ?
>> >
>> > gnome-session
>> > Failed to start message bus: launchd's environment variable
DBUS_LAUNCHD_SESSION_BUS_SOCKET is empty, but should contain a socket path.
>> >
>> > EOF in dbus-launch reading address from bus daemon
>> >
>> > Can you help me please ?
>> >
>> > Best regards
>> >
>> > mparchet
>> >
>>
>> _______________________________________________
>> macports-users mailing list
>> macports-users at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120117/133cea85/attachment.html>


More information about the macports-users mailing list