gnome starter

Keith J. Schultz keithjschultz at web.de
Fri Dec 3 04:29:51 PST 2010


Hi All,

	But all this is the crux! Under SL and L we are not suppose to use
	.xinitrc. Then again using .xinitrd.d scripts do not help either.

	The goal is not to get a different window manager, but instead
	gnome running.

	There seem to be conflicts between launchd handles things and X-vanilla.

	Also, what goes belongs in .xinitrc and what does not.
	I can find absolutely no documentation on the matter of .xinitrc and .xinitrc.d
	
	I have figured out that .xinitrc.d scripts live in a environment of their own using just a script with
	set > /users/quayjay/test.out !! See the end of the post.

	As you can wd is / !! PATH is minimal and does correspond to the PATH in the resulting my xterm.
	The xterm PATH variable matches the one set by .profile!

	I set a variable in a .xinitrc.d script that is not passed or unset to the xterm.
	
	So to start metacity I have to use a full path, then the process that metacity are not launchd
	So I add MacPorts paths to the PATH in the startup script. Then I get a launch_msg("Check-in") Operation not permitted.
	sudoing does not help!

	Evidently, sockets are not being setup correctly, or the environment for startx X is not able work with the way
	launchd handles things. 

	So what is needed. plists for lauchd. What do they have to look like. 
	Do we need to pass dbus something. which dbus-demon must the processes connect to
	user or system?

	Where is the DISPLAY be set?  Has to be something like /tmp/lauch.... where do I get it from?

	I will get around to try .xinitrc, but the guessing game starts all over.

	The big question is how do I get a starting up environment in which gnome finds everything it needs!

	regards
		Keith   

Apple_PubSub_Socket_Render=/tmp/launch-74eXCW/Render
BASH=/bin/sh
BASH_ARGC=([0]="1" [1]="1")
BASH_ARGV=([0]="/Users/quayjay/.xinitrc.d/99-wm.sh" [1]="/opt/X11/lib/X11/xinit/xinitrc.d/98-user.sh")
BASH_LINENO=([0]="3" [1]="49" [2]="0")
BASH_SOURCE=([0]="/Users/quayjay/.xinitrc.d/99-wm.sh" [1]="/opt/X11/lib/X11/xinit/xinitrc.d/98-user.sh" [2]="/opt/X11/lib/X11/xinit/xinitrc")
BASH_VERSINFO=([0]="3" [1]="2" [2]="48" [3]="1" [4]="release" [5]="x86_64-apple-darwin10.0")
BASH_VERSION='3.2.48(1)-release'
DBUS_LAUNCHD_SESSION_BUS_SOCKET=/tmp/launch-WsQpB6/unix_domain_listener
DIRSTACK=()
DISPLAY=:0
EUID=502
GROUPS=()
HOME=/Users/quayjay
HOSTNAME=QuayJayOneX.local
HOSTTYPE=x86_64
IFS=' 	
'
LOGNAME=quayjay
MACHTYPE=x86_64-apple-darwin10.0
OPTERR=1
OPTIND=1
OSTYPE=darwin10.0
PATH=/opt/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin
PIPESTATUS=([0]="0")
POSIXLY_CORRECT=y
PPID=642
PS4='+ '
PWD=/
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments:posix
SHLVL=2
SSH_AUTH_SOCK=/tmp/launch-bLfuDp/Listeners
TERM=dumb
TMPDIR=/var/folders/Vc/VcZUyfBjG-ed4UBMe1TlzE+++TM/-Tmp-/
UID=502
USER=quayjay
X11_PREFS_DOMAIN=org.macosforge.xquartz.X11
XAUTHORITY=/Users/quayjay/.Xauthority
_=']'
__LAUNCHD_FD=32
f=/Users/quayjay/.xinitrc.d/99-wm.sh
sysmodmap=/opt/X11/lib/X11/xinit/.Xmodmap
sysresources=/opt/X11/lib/X11/xinit/.Xresources
usermodmap=/Users/quayjay/.Xmodmap
userresources=/Users/quayjay/.Xresources


Am 02.12.2010 um 18:39 schrieb Daniel J. Luke:

> On Dec 2, 2010, at 12:26 PM, io wrote:
>> 
>> According to a suggestion from Andrea, I used a simple .xinitrc:
>> 
>> exec twm
>> /opt/local/bin/metacity &
>> 
>> Then in MacOsX terminal by command startx below I had:
>> 
>> To execute a file of the current directory use ./
>> io in ~ $ startx
> 
> I don't think you want to use startx. Instead, just run xterm (or some other x app) and the X11.app will open automatically.
> 
> I just tried with just 'exec twm' in my ~/.xinitrc and it worked (I get twm as my window manager).
> 



More information about the macports-users mailing list