Problem using XDarwin 1.0a3

Discuss installation and usage of the packages from macosx.forked.net.

Problem using XDarwin 1.0a3

Postby ShizChris » Thu Oct 18, 2001 4:49 am

Here's the error I get when trying to launch XDarwin....


Mac OS X Version 10.1 (Build 5G64)
Setting priority of main task to 10000
Warning: no access to tty (Inappropriate ioctl for device).
Thus no job control in this shell.

This is a pre-release version of XFree86, and is not supported in any
way. Bugs may be reported to XFree86@XFree86.Org and patches submitted
to fixes@XFree86.Org. Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs)

XFree86 Version 4.1.99.1 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: xx September 2001
If the server is older than 6-12 months, or if your hardware is
newer than the above date, look for a newer version before
reporting problems. (See <A HREF="http://www.XFree86.Org/FAQ)" TARGET=_blank>http://www.XFree86.Org/FAQ)</A>
Operating System: Darwin
Using keymapping provided in /System/Library/Keyboards/USA.keymapping.
Display mode: Full screen Quartz
Screen 0 added: 1280x1024 @ (0,0)
xinit: Command not found.
2001-10-18 00:46:03.335 XDarwin[763] X client process terminated with status 1.
Quitting XDarwin...


Why can't it find xinit? Do I have the path set incorrectly? I followed the instructions about setting the correct path in the .xinitrc file, but that didn't help me out. I also can't get xFree86 to start using the startx command, and am assuming that I need a .cshrc configured for this.

Has anyone successfully been able to startup xFree86 from the >console login using a Window manger? I can get it going in Mac OS X Server 10.0.4 but cannot get it to run in Mac OS X 10.1 client.

Anyhow, let me know what's up here. Any help would be highly appreciated. Thanks.

[ October 17, 2001: Message edited by: ShizChris ]
ShizChris
 
Posts: 14
Joined: Sun Oct 14, 2001 7:00 pm

Re: Problem using XDarwin 1.0a3

Postby apex » Thu Oct 18, 2001 10:21 am

If you have a line such as PATH=$PATH:/usr/X11R6/bin:/usr/local/bin already in your ~?.xinitrc file, try adding <BLOCKQUOTE><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><HR><pre>export PATH</pre>[/quote] below that and relogin.

optionally you can run these commands on the commandline by themselves, then type rehash and try to start x again.
apex
 
Posts: 355
Joined: Sun Aug 05, 2001 7:00 pm

Re: Problem using XDarwin 1.0a3

Postby ShizChris » Thu Oct 18, 2001 10:20 pm

Apex:

Still get problems with "xinit not found", even though xinit is properly installed in my X11R6 directory. XDarwin dumps and bails after is fails to run "xinit". What's going on here?

XFree86 Version 4.1.99.1 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: xx September 2001
If the server is older than 6-12 months, or if your hardware is
newer than the above date, look for a newer version before
reporting problems. (See <A HREF="http://www.XFree86.Org/FAQ)" TARGET=_blank>http://www.XFree86.Org/FAQ)</A>
Operating System: Darwin
Using keymapping provided in /System/Library/Keyboards/USA.keymapping.
Display mode: Full screen Quartz
Screen 0 added: 1280x1024 @ (0,0)
Warning: no access to tty (Inappropriate ioctl for device).
Thus no job control in this shell.
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list!
xinit: Command not found.
2001-10-18 18:17:32.545 XDarwin[632] X client process terminated with status 1.
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list!
Quitting XDarwin...


The font paths aren't there because I didn't install them.
ShizChris
 
Posts: 14
Joined: Sun Oct 14, 2001 7:00 pm

Re: Problem using XDarwin 1.0a3

Postby ShizChris » Thu Oct 18, 2001 11:00 pm

PROBLEM RESOLVED...

This info might help others who have problems getting XDarwin to run on their Mac OS X 10.1 systems. Here's what I did to get xFree86 to finally run on top of Aqua...

First, create a .cshrc file in your home directory. Place the following in the .cshrc file...

setenv MANPATH "${MANPATH}:/usr/X11R6/man:/usr/local/man"

setenv PATH "${PATH}:/usr/X11R6/bin"


After saving the file in Pico or vi, run the following command in the terminal window...

%> source ~/.cshrc

I changed my .xinitrc file to look like this...

#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi

# start some nice programs

twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login


Go back into the terminal, if you're not already there, and type startx -- -quartz. The .xinitrc file will fire up twm, a crappy window manager (which can be replaced by a WM of your choice), and a few terminal windows to boot. This is the only process that solved my problem where "xinit" couldn't be found! Hope this helps those who are having problems. Good luck!

[ October 18, 2001: Message edited by: ShizChris ]
ShizChris
 
Posts: 14
Joined: Sun Oct 14, 2001 7:00 pm

Re: Problem using XDarwin 1.0a3

Postby apex » Sat Oct 20, 2001 11:23 am

Chris, I added some parts of your post to the FAQ. Thank! and I hope you dont mind [img]images/icons/grin.gif"%20border="0[/img]
apex
 
Posts: 355
Joined: Sun Aug 05, 2001 7:00 pm

Re: Problem using XDarwin 1.0a3

Postby hypoflux » Sat Oct 20, 2001 1:55 pm

Also, I've found XDarwin would quit if you have no xinitrc file. IF you're using windowmaker, locate the directory holding its files, and type in ./wmaker.inst
it'll create a .xinitrc file for you - works just fine for me on 10.1 - running X rootless

~Eric
hypoflux
 
Posts: 4
Joined: Sat Oct 20, 2001 7:00 pm
Location: Florida

Re: Problem using XDarwin 1.0a3

Postby ShizChris » Sat Oct 20, 2001 4:33 pm

Chris, I added some parts of your post to the FAQ. Thank! and I hope you dont mind


No problem! I just hope that bit of info will help out those who experience similar problems to what I was having while trying to start up XDarwin on top of Quartz in Mac OS X v10.1.

Keep in mind that I had a previous release of xFree86 installed (I had to update to xFree86 4.1 before attempting to run XDarwin 1.0a3), and that I had already created and sourced a .cshrc file for my previous release of xFree86, which I had to run from the console environment (logged in as >console in Mac OS X). My problems occurred after trying to throw all of the environment settings in the .xinitrc file; for some reason or another the paths weren't acknowledged.

Once the .cshrc and .xinitrc file were configured properly, I had no troubles running the Window Managers (well, I still can't get enlightenment to work) or anything else in X.
ShizChris
 
Posts: 14
Joined: Sun Oct 14, 2001 7:00 pm

Re: Problem using XDarwin 1.0a3

Postby rafaeldt » Sun Jun 12, 2005 6:16 pm

rm Library/Preferences/org.xfree86.XDarwin.plist

at your home.

it should fix this problem!

[img]images/icons/grin.gif"%20border="0[/img]
rafaeldt
 
Posts: 1
Joined: Sun Jun 12, 2005 7:00 pm


Return to Ported Packages

Who is online

Users browsing this forum: Google [Bot] and 8 guests

cron