Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» MacOSX - forked.net   » Ported Packages   » Problem using XDarwin 1.0a3

UBBFriend: Email this page to someone!    
Author Topic: Problem using XDarwin 1.0a3
ShizChris
Junior Member
Member # 163

posted October 17, 2001 09:49 PM      Profile for ShizChris   Email ShizChris   Send New Private Message      Edit/Delete Post  Reply With Quote 
Here's the error I get when trying to launch XDarwin....

quote:

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 http://www.XFree86.Org/FAQ)
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 ]


Posts: 14 | Registered: Oct 2001  |  IP: Logged
apex
Administrator
Member # 1

posted October 18, 2001 03:21 AM      Profile for apex   Email apex   Send New Private Message      Edit/Delete Post  Reply With Quote 
If you have a line such as PATH=$PATH:/usr/X11R6/bin:/usr/local/bin already in your ~?.xinitrc file, try adding
code:
export PATH

below that and relogin.

optionally you can run these commands on the commandline by themselves, then type rehash and try to start x again.


Posts: 307 | From: Alaska | Registered: Aug 2001  |  IP: Logged
ShizChris
Junior Member
Member # 163

posted October 18, 2001 03:20 PM      Profile for ShizChris   Email ShizChris   Send New Private Message      Edit/Delete Post  Reply With Quote 
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?

quote:

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 http://www.XFree86.Org/FAQ)
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.


Posts: 14 | Registered: Oct 2001  |  IP: Logged
ShizChris
Junior Member
Member # 163

posted October 18, 2001 04:00 PM      Profile for ShizChris   Email ShizChris   Send New Private Message      Edit/Delete Post  Reply With Quote 
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...

quote:

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...

quote:

#!/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 ]


Posts: 14 | Registered: Oct 2001  |  IP: Logged
apex
Administrator
Member # 1

posted October 20, 2001 04:23 AM      Profile for apex   Email apex   Send New Private Message      Edit/Delete Post  Reply With Quote 
Chris, I added some parts of your post to the FAQ. Thank! and I hope you dont mind
Posts: 307 | From: Alaska | Registered: Aug 2001  |  IP: Logged
hypoflux
Junior Member
Member # 176

posted October 20, 2001 06:55 AM      Profile for hypoflux   Email hypoflux   Send New Private Message      Edit/Delete Post  Reply With Quote 
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


Posts: 4 | From: Florida | Registered: Oct 2001  |  IP: Logged
ShizChris
Junior Member
Member # 163

posted October 20, 2001 09:33 AM      Profile for ShizChris   Email ShizChris   Send New Private Message      Edit/Delete Post  Reply With Quote 
quote:
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.


Posts: 14 | Registered: Oct 2001  |  IP: Logged

All times are Pacific Time  

Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Hop To:

Contact Us | macosx.forked.net

Powered by Infopop Corporation
Ultimate Bulletin BoardTM 6.1.0.2