On Tue, Jul 5, 2011 at 11:09 AM, noman <no...@woodsdomain.org> wrote: > Thank you for the reply Patrick. I forgot to say that, I did try that, and > after that the laptop wouldn't give me a login when I booted anymore, I > don't know why. But that made it impossible to do anything local on the > laptop. And I don't care if it boots into X, in fact I prefer not to, but I > do need to get X working.
With the macppc you can either run in console mode or in X. Unlink i386 where you can switch between the two at will. So, if you want X, you need to set ttyC0 status 'off', start X from your rc.conf.local with something like xdm(1) (i.e., placing "xdm_flags=" in your /etc/rc.conf.local file). Once you have these in place, you reboot and xdm(1) will be started and will prompt you for login. If you are currently in the state where you have ttyC0 set to 'off' and are not able to login, try to ssh into your g4 box if you have sshd enabled on it. If not, reboot into single user mode (e.g., at the openfirmware prompt also add the "-s" option to your boot string/command). Once logged in, fsck /, remount it, edit /etc/ttys using ed(1) (which is a bit intimidating if you have never used it before). Making a backup copy of /etc/ttys might be a good idea before using ed on it. /ttyC0 .s/off/on/ wq that should restore /etc/ttyC0 so the machine will boot in console mode again. HTH, --patrick > On 7/5/2011 12:44 PM, patrick keshishian wrote: >> >> have you read the bit in the README file under /usr/X11R6 (I believe) >> that talks about changing status value of /dev/ttyC0 to 'off'? >> >> >> http://www.openbsd.org/cgi-bin/cvsweb/xenocara/distrib/notes/README.macppc?re v=1.8 >> >> >> On Tue, Jul 5, 2011 at 8:58 AM, noman<no...@woodsdomain.org> wrote: >>> >>> I have OpenBSD 4.9 installed on a 2001 PowerBook G4 M7952LL/A. So far so >>> good, but I can't get X to work. If I simply run startx or xinit the >>> screen >>> fades to white. I tried using the xorg.conf files I found here: >>> http://mac.linux.be/content/xorgconf-powerbook-g4500-15-inch-ati-rage-128 >>> But with them I get the following error: >>> xinit: giving up >>> xinit: unable to connect to X Server: Connection refused >>> xinit: server error >>> >>> I did add my computer name to the localhost line in the host file. I >>> tested >>> turning pf off to make sure that wasn't blocking something. At this >>> point >>> I'm kind of stuck. >>> >>> Any ideas what I should try next? Thank you for your help!