![]() |
installing gnome
how do install gnome
i have installed Xdarwin Fink Dev. Tools Wmaker I al lost in what to do next to install gnome:confused: |
bundle-gnome
bahamutX
This is easy but fink will take a while to compile it. 1) In the terminal type Code:
fink selfupdate-cvs2)type Code:
fink update-all3) type Code:
fink install bundle-gnome4) type Code:
cdCode:
# Window Maker default X session startup script The file you just created/modified tells XDarwin what you need started for your x11 session. The last item should not have the ampersand as when it returns (logout or exit) XDarwin will quit. You should be good to go. Willy |
Do you really need to explicitly have Wmaker launch in .xinitrc if you already have it selected via Gnome settings (except for the first run of Gnome of course)?
|
bahamutX,
Be prepared for a long install. Once you have installed gnome, even before you write it in your .xinitrc file, you can call it in windowmaker from an x-term by running : gnome-session & rusto, If you have selected windowmaker via Gnome-settings, you don't need it. Just writing : exec gnome-session in your .xinitrc file will do it. Cheers... |
now XDarwin can't run... lol
could someone provide step by step instructions from installing fink to Xdarwin to gnome? Thanks! |
Hey bahamutX,
Before we start, please give me the details of the following : MacOS X version Developer Tools version Fink version XFree86 version XDarwin version Also what you did till now that XDarwin can't run ? Cheers... BTW, are you in Singapore right now ? |
yo! sao,
i'm using OS X 10.1.4 server now.... i just initialized my HD so it's now 'clean', I hope to get instructions to install the stuff i mentioned i'm 15 years old been using macs since young around 5 but i just started using X so i'm quite confused with stuff like these and I'm living in Singapore ~ Yishun |
bahamutX,
Wow, my son is about your age, also a mac user since quite a few years. As you might have guessed by now, I'm a little older than you. BTW, we are near 'Great World City' shopping Center. I will write a small guide for you to make the installations, if you follow them step by step, you will do fine. Give me some time, I will come back later. Cheers... |
Thanks!
|
1-Go and download from the fink web site the fink Binary Release:
http://fink.sourceforge.net/download/bindist.php Fink 0.4.0 Binary Installer - 8.4 MB, compressed .dmg disk image 2-Install Fink 3-Now, we will set your PATH environment : If you're using tcsh (default in MacOS X) open the terminal.app and type: pico .cshrc the editor will create a new file named .cshrc, then type : source /sw/bin/init.csh Press Control o , then press return, then Control X Now you will have saved the file(invisible) in your home directory. At the prompt type exit, close the terminal and open a new one. 4-Installing XFree86 4.2.0 . Type in the terminal.app : fink install xfree86-base When the installation is finished, type rehash and press return. 5-Installing XFree86-rootless package. Type the following: fink install xfree86-rootless When installation is finished, type rehash and press return. 6-Now type the following: cd ~/Library mkdir init cd init mkdir tcsh cd tcsh pico path When the editor opens, type the following: set path=( $path /usr/X11R6/bin ) Then, press Control o , then press return, then Control X. Now we just have saved the file path here: ~/Library/init/tcsh/path 7-Next, to copy the xinitrc file, type the following and after press return: cp /usr/X11R6/lib/X11/xinit/xinitrc ~/.xinitrc 8-Installing the system-xfree86 placeholder package. Type in terminal: fink install system-xfree86 when installation is finished type rehash and press return. Please do till here and come back for more when you finished or if you have any problems. Cheers... |
I followed step 4 of your instructions - fink install xfree86-base
Welcome to Darwin! [bahamut:~] root# fink install xfree86-base Reading package info... Information about 427 packages read in 2 seconds. curl -f -L -s -S -O http://prdownloads.sourceforge.net/fink/X420src-1.tgz curl -f -L -s -S -O http://prdownloads.sourceforge.net/fink/X420src-2.tgz curl -f -L -s -S -O http://prdownloads.sourceforge.net/fink/X420src-3.tgz mkdir -p /sw/src/xfree86-base-4.2.0-4 tar -xzf /sw/src/X420src-1.tgz gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error exit delayed from previous errors ### tar failed, exit code 2 Unpacking the tarball X420src-1.tgz of package xfree86-base-4.2.0-4 failed. The most likely cause for this is a corrupted or incomplete download. Do you want to delete the tarball and download it again? [Y/n] and i get this what lools like an error message...... I will select yes for now..... and i get 3 other similar error message and then i select no at last |
bahamutX,
Sorry I'm late to answer, today is sunday and had to stay with the family. Yes, I wrote my last post very late last night. Before you do step 4, please run : fink seflupdate-cvs then if it works, continue with the other installations. When you are finished, come back for more. Cheers... |
[bahamut:~/Library/init/tcsh] root# fink install system-xfree86
Reading package info... Information about 556 packages read in 6 seconds. rm -rf /sw/src/root-system-xfree86-4.1-5 mkdir -p /sw/src/root-system-xfree86-4.1-5/sw mkdir -p /sw/src/root-system-xfree86-4.1-5/DEBIAN mkdir -p /sw/src/root-system-xfree86-4.1-5/sw/share/doc/system-xfree86 echo "system-xfree86 is a bundle package that doesn't install any files of its own." >/sw/src/root-system-xfree86-4.1-5/sw/share/doc/system-xfree86/README rm -f /sw/src/root-system-xfree86-4.1-5/sw/info/dir /sw/src/root-system-xfree86-4.1-5/sw/info/dir.old /sw/src/root-system-xfree86-4.1-5/sw/share/info/dir /sw/src/root-system-xfree86-4.1-5/sw/share/info/dir.old Writing control file... Writing package script preinst... dpkg-deb -b root-system-xfree86-4.1-5 /sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system dpkg-deb: building package `system-xfree86' in `/sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/system-xfree86_4.1-5_darwin-powerpc.deb'. ln -sf /sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/system-xfree86_4.1-5_darwin-powerpc.deb /sw/fink/debs/ rm -rf /sw/src/root-system-xfree86-4.1-5 dpkg -i /sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/system-xfree86_4.1-5_darwin-powerpc.deb Selecting previously deselected package system-xfree86. dpkg: regarding .../system-xfree86_4.1-5_darwin-powerpc.deb containing system-xfree86: xfree86-base conflicts with x11 system-xfree86 provides x11 and is to be installed. dpkg: error processing /sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/system-xfree86_4.1-5_darwin-powerpc.deb (--install): conflicting packages - not installing system-xfree86 Errors were encountered while processing: /sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/system-xfree86_4.1-5_darwin-powerpc.deb ### dpkg failed, exit code 1 Failed: can't install package system-xfree86-4.1-5 error message at step 8:confused: |
bahamutX,
Don't worry about it. It looks you don't need it. Next, run the following : fink install windowmaker When the installation is finished, type rehash. Next, run: pico .xinitrc When it opens, write at the end of the file : exec wmaker Then press Control o, then return, then press Control x For the moment, till you know what you are doing, don't write anything else in your .xinitrc file. Please check now (let me know what it says): fink --version Then, write 'exit' and close the terminal. Run an x session and and let me know if it works fine. Cheers... |
[bahamut:~] root# fink --version
Package manager version: 0.9.11 Distribution version: 0.4.0.cvs9 and X works fine so what to do next? |
BahamutX,
This is a list of the packages related to gnome: Code:
(i) control-center 1.4.0.4-3 GNOME Control CenterYou can see the ones I installed, in order to have a working gnome system running. I would start by installing: fink install gnome-core Then make sure you have: gnome-libs gnome-print gnome utils gnome-audio gnome-applets gnome-print bonobo bonobo-conf control-center then check against this list what more you need. Take your time, as this are long installations. Come back if you have problems. Good luck. Cheers... |
I might be missing something obvious here. But as I interpret the original question I would suggest:
$ sudo apt-get install gnome-bundle |
osxpez,
I guessed from above, after WillyT advice to run 'fink install bundle-gnome' didn't work for BahamutX, that was better probably, to install gnome by separate packages, as I also installed it that way. Unfortunately, I never use apt-get. Either way, he can get a working gnome. Cheers... |
Looks like a long download for me.... I'll see what I can do after I come back from school
Thanks guys!:D |
I still advice you to try apt-get. Update apt-get sources first:
$ sudo apt-get update Then install gnome-bundle: $ sudo apt-get install This should be less to download and there's no compiling to wait and hope for. |
osxpez,
Thanks for your advice. Will tell BahamutX, to do it that way, then. BahamutX, If you want less to download with no compiling, follow osxpez advice. you can also do it this way : 'sudo apt-get update' and when finished run : 'sudo apt-get install gnome-bundle' If you have any problems, let me know. Cheers... |
I tried the 'other' package :
bundle-gnome---------1.4-3 ---------GNOME convenience package with the fink install command. Although, it installed some packages, it finally failed to install when compiling failed with the package rep-gtk-0.15-3 In file included from rep-types.c:24: rep-gtk.h:28: rep.h: No such file or directory make: *** [rep-types.lo] Error 1 ### make failed, exit code 2 Failed: compiling rep-gtk-0.15-3 failed But now my gnome installation, looks like this: Code:
(i) control-center 1.4.0.4-3 GNOME Control Centerosxpez, I'm curious, can you run 'fink list gnome' and post what you have installed (of course, check the other packages too, like bonobo, control-center). Thanks. Cheers... |
Sorry I'm late
BahamutX and sao
Couldn't stay online more than 10 min at a time yesterday. Yes the "fink selfupdate -cvs" is critical for the new prdowndoads setup I think most of the packages are being updated. Researching a problem I had, I found this is from the Gnome website FAQ Q: In what order do I compile the Gnome packages? A: This order has been reported to work well: Compilation order for GNOME 1. Compile glib. 2. Compile gtk+. 3. Compile imlib. 4. Compile ORBit. 5. Compile audiofile. 6. Compile esound. 7. Compile libxml. 8. Compile gnome-libs. 9. Compile gdk-pixbuf. 10. Compile libghttp. 11. Compile libglade. 12. Compile libgtop. 13. Compile gnome-print. 14. Compile control-center. 15. Compile gnome-core. After this, the order is less important. You should be able to compile the remaining GNOME applications in any order. I really don't know if this is critical but fink probably forces this with the dependencies. rusto I'll try leaving out the wm in my .xinitrc I think you are right and gnome will start it for me. BTW if you try to run something with the .xinitrc script and it fails XDarwin either won't start or it starts and dies. So double check spelling and quotes and make sure everything suspect is # comented out. Willy |
WillyT,
If you install the fink package, deborphan 1.0-1 (Orphaned package finder), and you call it with: --show-deps 'packagename' it will show a list of dependencies for packages that have them. For example: Code:
155 [Sao @/Users/pm] % deborphan --show-deps gnome-libsCode:
153 [Sao @/Users/pm] % deborphan --show-deps gnome-coreCode:
157 [Sao @/Users/pm] % deborphan --show-deps bonoboCode:
158 [Sao @/Users/pm] % deborphan --show-deps control-centerCode:
159 [Sao @/Users/pm] % deborphan --show-deps gnome-printAnd so on. There are several other options, check the man pages. Cheers... |
I used the 'sudo apt-get install bundle-gnome' command and everything seems to be done properly - there were no errors....
so what next? this are the packages installed... i bundle-gnome 1.4-3 GNOME convenience package fvwm2-no-gnome 2.4.6-2 X11 wind. man., large virtual desktop, v2, ... i gnome-applets 1.4.0.5-2 Various applets for GNOME panel i gnome-audio 1.4.0-3 Audio files for Gnome. i gnome-core 1.4.0.6-3 Common files for Gnome core apps. gnome-core-dev 1.4.0.6-3 Common files for Gnome core apps. i gnome-core-shli 1.4.0.6-3 Common files for Gnome core apps. (i) gnome-games 1.4.0.3-6 GNOME games collection. gnome-games-dev 1.4.0.3-6 GNOME games collection. gnome-games-shl 1.4.0.3-6 GNOME games collection. i gnome-libs 1.4.1.4-3 Base libraries for GNOME i gnome-libs-dev 1.4.1.4-3 Base libraries for GNOME i gnome-libs-shli 1.4.1.4-3 Base libraries for GNOME gnome-pim 1.4.0-1 Calendar and address book for GNOME. i gnome-print 0.35-3 Gnome Print - Printing libraries for GNOME. i gnome-print-dev 0.35-3 Gnome Print - Printing libraries for GNOME. i gnome-print-shl 0.35-3 Gnome Print - Printing libraries for GNOME. i gnome-user-docs 1.4.1.1-2 General GNOME User Documentation i gnome-utils 1.4.1.2-2 GNOME utility programs i gnome-vfs 1.0.3-2 The GNOME virtual file-system libraries gnome-vfs-ssl 1.0.3-2 The GNOME virtual file-system libraries, wi... gnomemm 1.2.2-3 C++ interface for the GNOME libraries gnomemm-shlibs 1.2.2-3 C++ interface for the GNOME libraries |
Do you have a .xinitrc file? Does it mention gnome at all? Mine has the following lines in it:
Code:
WINDOW_MANAGER=sawfish |
bahamutX,
Let's follow up osxpez for now. Remember the .xinitrc file you created before, when we tested the XFree86 installation ? Ok, now type : pico .xinitrc when the file opens, delete the part that reads : exec wmaker and type insted what ospez says, that will make XFree start directly with gnome: WINDOW_MANAGER=sawfish exec gnome-session Then, press Control o, then return and last press Control x. Type exit at the prompt, close the terminal. Now you can start an X session. Test and tell me how it went. Cheers... |
I added the lines :
WINDOW_MANAGER=sawfish exec gnome-session and X works fine, still the same old greenish windows BTW sao, how was the game you watched today? |
Greenish windows? Sawfish is rather themeable so you should be able to style the windows to your fancy. Enlightenment also works well with gnome. If it's just the terminal windows you want to jazz up I can recommend Eterm. One of the few terminal apps that are a bit fast under XonX:
Code:
sudo apt-get install eterm |
bahamutX,
Yeah, Uruguay won 2-1. Yeahhhh! Urugauy! But Singapore played great, they would have deserved to equalize in the second half. They really impressed me as a great young team. Of course, 6 of the best uruguayan players stayed in Japan, so they didn't play with their best team. Ok, I see your problem, then let's do it my way then. But first let's thanks osxpez for all his help. Thanks, osxpez ! Let's install some more window managers, run : fink install icewm when it's finished, type rehash and then run : fink install enlightenment when finished, type rehash, and then run : fink install blackbox-rootless when finished type rehash, close terminal and come for more. question: How are you starting XFree86, from the XDarwin.app ? Cheers... |
yep, I starting XFree86 from XDarwin, and thank you for trying to help me osxperz
|
Back from school!
Ok sao, I installed everything but when i tried to install blackbox-rootless i get this erroe message: [bahamut:~] root# fink install blackbox-rootless Reading package info... Information about 556 packages read in 4 seconds. curl -f -L -s -S -O ftp://portal.alug.org/pub/blackbox/0...-0.61.1.tar.gz curl: (10) the username and/or the password are incorrect ### curl failed, exit code 10 Downloading the file "blackbox-0.61.1.tar.gz" failed. (1) Give up (2) Retry How do you want to proceed? [2] |
bahamutX,
Ok, let's forget about blackbox-rootless for the moment. We will come back later to that. Please, run : sudo fink list and tell me which version of the following you have installed: Code:
i gtk+ 1.2.10-10 The Gimp Toolkit |
I guess these are the ones installed
i gtk+ 1.2.10-10 The Gimp Toolkit i gtk+-data 1.2.10-10 The Gimp Toolkit i gtk+-shlibs 1.2.10-10 The Gimp Toolkit gtk+extra 0.99.16-2 Useful set of widgets for creating GUI's us... gtk-doc 0.9-1 GTK+ DocBook Documentation Generator gtk-gnutella 0.85-3 Gtk+ based gnutella client gtkglarea 1.2.3-2 OpenGL widget for GTK+ i gtkhtml 1.0.1-3 HTML rendering/printing/editing engine. i gtkhtml-dev 1.0.1-3 HTML rendering/printing/editing engine. i gtkhtml-shlibs 1.0.1-3 HTML rendering/printing/editing engine. gtkmm 1.2.8-2 C++ interface for the gtk+ library gtkmm-shlibs 1.2.8-2 C++ interface for the gtk+ library |
BahamutX,
Sorry, I had been busy till now with other things. Ok, please install the following: fink install gtkglarea and fink install gtk-engines Then, just write at the end of your .xinitrc file only this : exec gnome-session (delete WINDOW_MANAGER=sawfish ) Start XDarwin full screen mode and tell me what you see. Cheers... |
Panels?
BahamutX
Are you now seeing the Gnome panels? Did you get a splash screen while Gnome was loading? Did you install sawfish? Can you show us your present .xinitrc file? It sounds from your description that you still have TWM running. Willy |
all right WillyT, this is my .xintic file...
#!/bin/sh # $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld 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 WINDOW_MANAGER=sawfish exec gnome-session And no, I'm not seeing the gnome panels or anything loading..... |
BahamutX,
For a beginner, you don't need all those things in the .xinitrc file. Please, could you do a .xinitrc with this only, just for testing : Code:
# Window Maker default X session startup scriptSorry, it's my mistake, when I told you to copy the xinitrc default file I should have told you to erase all and write it as above. I wrongly figured you knew about it. Cheers... |
Ah, now I understand where those greenish windows come from. =) Well it should be easy to get rid of them. Just delete the "twm &" row from your .xinitrc. Twm is a really basic window manager. Confusing too!
|
BahamutX & sao
Yep it surely sounded like twm. gnome-session will run WITHOUT a windowmanager and one can be selected from the menu Settings GNOME Control Center Just click and release DON'T drag the menus. This will actually be fun! Lots of GUI configuration stuff in here. Willy PS I will get some sleep now so I don't get grumpy. |
Ummm, it would surprise me if gnome -session runs without a window manager. I think rather that it will pick a default window manager if you have not specified one. (Academic difference, but I would like to know if gnome really runs without a window manager.)
|
Yes, the green world of twm was coming up.
Now, if you followed what I said above, and start XDarwin, you should see the gnome installation coming up to greet you. When we confirm that, you can then start to configure. Also, you can start learning how to call gnome-session from other window-managers. You can use enlightenment, icewm, windowmaker, etc. Then, we could install some new gtk new themes, so you can have a variety of choice. I came this way, as I think is interesting you learn to install from source too. It takes time, but slowly you learn more. Cheers... |
Well, soon we will know.
Before, this confusion about the .xinitrc file, I wanted that BahamutX, start an X session with 'exec enlightenment' and then configure the window manager to work with gnome. The same I wanted to do with windowmaker. If you do it that way, even icewm works, and you 'only' need to write in your .xinitrc: exec gnome-session I use it everyday in that way. And that's what rusto was telling WillyT in the beginning of the post. But when there are too many people cooking the same soup, it gets a bit messy. Cheers... |
Not that many cooks here, is there? :) I don't doubt a second that gnome works without the user specifying a window manager. It was just surprising to hear that gnome wouldn't need a window manager at all.
But I am curious about one more thing. Why do you guys insist on using the fink command instead of apt-get? My experience is that things are a lot less messy using apt-get to get things done. Not to mention the speed difference. Well, maybe this is not the right thread to discuss this in. But it's in this thread this reluctance to utilize apt-get has been the most obvious. |
osxpez,
No, to use apt-get is very fine indeed. It's just me, I like to install from source. I'm a bit fanatic about it. I learned a lot with the 'fink install' command. And I really prefer that way, sorry about that. Things building slowly, taking time, digesting the errors, trying again. Till I find a way, sometimes days, waiting for the answer. I like that. Again, is just me. Cheers... |
going to school now... i'll see what i can do when i get home.
Anyway, thanks guys!:D |
sao: Sounds like you like the pain. :) Have you thought about offering your assistance to those guys who build the apt-get packages? That way much of the time you spend waiting and tweaking with getting compiles through could be utilized by us lazy apt-get dudes.
|
haha, i'm in school now, actually i can't get what was displayed in the terminal when programs were installed in the 'fink install' command. But i find it very fun to see the terminal processing.:D
|
BahamutX,
Again, I made several mistakes. Please, do the following, go to terminal and type: wmaker.inst This creates and will set up the .xinitrc automatically to use windowmaker, in the user's home directory. To change to a different window manager, change the line that says 'exec wmaker' to exec somemthing else, for example 'exec icewm' or 'exec blackbox' After you did this, open your ~/.xinitrc file and it should be just like this: Code:
# Window Maker default X session startup scriptAfter this, open XFree86 with XDarwin and you should be greeted by the windowmaker icons. Now, to start gnome for the first time, let's do as ospez said: Delete 'exec wmaker' in your /~.xinitrc file, and write: WINDOW_MANAGER=sawfish exec gnome-session Start, XFree and you should get a gnome-session running. (You should see the panels, etc) Cheers... |
my .xintic looks different.. but I'll run Xdarwin now
#!/bin/sh # $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld 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 WINDOW_MANAGER=sawfish exec gnome-session |
BahamutX,
This is weird. 1-Did you run from terminal wmaker.inst ? 2- Are you looking to your ~/.xinitrc (in your home directory, /Users/pm/.xinitrc) or xinitrc at /private/etc/X11/xinit/xinitrc I say it one more time, change your home directory ~/.xinitrc file to look like this: Code:
# Window Maker default X session startup scriptor like this: Code:
# Window Maker default X session startup scriptCheers... |
I've been following this thread, trying to get the gnome and XDarwin to run on my machine, and so far all of the installations have gone fine (thanks to all your detailed instructions), but for some reason, when I launch XDarwin, it doesn't launch a window manager, or if it does, there are no windows or terminals or anything I can use. It's just a blanck screen.
It seems like it's not even looking at my .xinitrc file, or even the /etc/X11/xinitrc file. Two things that might be causing this problem, as best I can tell: I had a previous installation of the complete Xfree86 4.2 package (downloaded from Apple's site), which I removed (from /usr and /etc) before following the instructions in this thread. I had been using OroborOSX as my window manager, but I wanted to start fresh and get the gnome working. I don't think it should matter, but I'm running bash instead of tcsh. I made sure all the appropriate directories are in my $PATH (/usr/X11R6/bin, /sw/bin, etc). Just to see if this was in fact the problem, I tried running tcsh before I launched XDarwin. To make sure I'm doing this part right, the command I've been typing is either XDarwinStartup -rootless or simply XDarwin Either way, it launches and gives this output: 2002-05-23 11:23:30.109 XDarwin[9080] XDarwin 1.1 Running rootless inside Mac OS X window server. XFree86 Version 4.2.0 / X Window System (protocol Version 11, revision 0, vendor release 6600) Release Date: 18 January 2002 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. _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root Display mode: Rootless Quartz Screen 0 added: 1056x771 @ (0,21) Screen 0 placed at X11 coordinate (0,0). From there I can switch to XDarwin, but there's nothing but a mouse cursor and the menus. My .xinitrc calls twm (as does /etc/X11/xinitrc), but I get no windows. What am I doing wrong? thanks! tar |
tar,
1-Have you installed a window manager ? 2-Can you please post yor ~/.xinitrc file ? 3- I you use bash, set your environment in .profile with: /sw/bin/init.sh 4-When you deleted your previous XFree86 installation did you run: sudo rm -rf /usr/X11R6 /etc/X11 /Applications/XDarwin.app Cheers... |
my ~/.xinitrc:
# Window Maker default X session startup script PATH="$PATH:/sw/bin" # If you login from xdm, uncomment this to make error messages appear # in the console window. # # tail -f /Users/travis/.xsession-errors > /dev/console & exec wmaker I did install windowmaker (it's in /sw/bin), and twm exists in /usr/X11R6/bin. I also ran wmaker.inst, which is why my ~/.xinitrc looks like it does. I was already calling /sw/bin/init.sh in my ~/.bashrc file (which is called by ~/.profile). All those directories appear in my path, so I know that's working right. When I deleted the other installations, I did remove the entire directories with root access. Fink wouldn't install on top of an old installation, so I had to remove it before it would go any further. I just moved the old XDarwin.app to the trash though. One thing that was strange, the new installation of XDarwin didn't appear as an application in the Finder. It had the .app extension, but it showed up as a folder. If I navigated to the actual file (XDarwin/Contents/MacOS), it didn't have the right files in it, nor would it launch if I tried to click on it. It was just a document. I ended up putting the one that I had trashed back in /Applications to replace it, and it started launching again. It's the same version, so it should be okay, right? thanks for your help! tar |
I get a permission denied...
[bahamut:~] root# ~/.xinitrc /private/var/root/.xinitrc: Permission denied. any ideas? |
where i opened my home directory, i saw a 'GNUstep' folder I i remember correctly, it' something to do with the windowmaker right?
|
tar,
Do you have the April Dev Tools installed ? Cheers... |
sao -
I do have the April Developer tools installed. I just downloaded and installed it a few days ago. Did I shoot myself in the foot by doing so? tar |
oh yeah.... sao, i forgot one thing. I'm always logged in as root. Is there anything wrong with that? I feel like i'v done something wring by making all my installations in root
|
Bahamutz,
Forget about the xinitrc file in /private/etc/X11/xinit. !!! If you don't answer correctly, I can't help you. Did you run: wmaker.inst in terminal ? Yes or no. If you did, this should have put you a .xinitrc (invisible file) in your home directory, same as tar tells us in the post above. And in this xinitrc file, which you can open with pico, you will then see the following: Code:
# Window Maker default X session startup scriptDo you have this ? Cheers... |
yes i did install wmaker.inst, that i'm sure of,
but how do i see the .xinitrc file ? |
Ok, the open the terminal and type:
pico .xinitrc when the file opens copy what you see and let me know what it says. to close the file, just type Control x. Cheers... PS: I know you did 'fink install windowmaker', what I want to know is, if you also run after 'wmaker.inst' |
tar,
Run this command and let me know what it says : ls -al /usr/bin/gcc Cheers... |
I posted my .xinitrc a few post ago, but here's the same one..
UW PICO(tm) 2.3 File: .xinitrc Modified #!/bin/sh # $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld 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 WINDOW_MANAGER=sawfish exec gnome-session |
Bahamutz,
Last time, go to the terminal and type: wmaker.inst Cheers... |
I've typed it and I replaced all the files when they ask me to as i have installed it...
these were the last few lines:::: Sorry, font coding or locale en_US not recognized. Type wsetfont with no arguments for list of supported font codings... Found Window Maker to already be your default window manager. Installation Finished There are menus in 2 different file formats. The plain text format and the property list format. The plain text format is more flexible, but the menu in the property list format can be edited graphically. The menu that will be used by default is the property list one. Read /private/var/root/GNUstep/Library/WindowMaker/README for information on how to change it. [bahamut:~] root# :::: |
tar,
look at the following do you have the same?: [chris@dale:~$]> ls -al /usr/bin/gcc lrwxr-xr-x 1 root wheel 4 Apr 28 20:44 /usr/bin/gcc -> gcc2 If that says gcc is a link to gcc2, that's okey. If it says gcc3, just do "gcc_select 2" and that will set gcc2 up. Cheers... |
BahamutX,
Ohhh, we get from bad to worse. When the installer asked you "if you want to edit it by hand, press control C now", you only had to just press return and it will have done it automatically. Ok, let's clean up. Open terminal and just type : ls -Ahl let me know what it says. Cheers... |
sao -
Indeed, it's pointing to gcc2. I have gcc3 in /usr/bin as well, but gcc is linked to gcc2. I noticed when I was installing things that it mentioned gcc v2.95, I believe. gcc3 is still a beta, is that what you were worried about? Any other ideas as to why XDarwin's behaving so strangely? tar |
No, there are several things that bother me:
1-I don't know the implications of changing the (folder) of XDarwin.app with the application you had in the trash. I already knew of instances that this happened before, and the solutions had been different. For example, from the fink lists: Solution that worked fine by Jeff Whitaker: ----------------------------------------------------------- Do you have the April Dev Tools installed? If so, you can install the binary xfree86-rootless package to workaround this problem. -Jeff On Sun, 12 May 2002, Duncan Smith wrote: > I've pasted what happens below. I'll also point out that XDarwin.app is > recognized as a folder, not an application, so I cannot just open it. > > (from fink list) > > i xfree86-base 4.2.0-5 XFree86 libraries, utilities, clients > > and d... > > i xfree86-rootles 4.2.0-2 MacOS X/Darwin XFree86 display server. > > (what happens) > > [localhost:~] cyborg% startx > > > > > > XFree86 Version 4.2.0 / X Window System > > (protocol Version 11, revision 0, vendor release 6600) > > Release Date: 18 January 2002 > > 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. > > _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root > > Display mode: IOKit > > Failed to connect to the HID System as the window server! > > > > Fatal server error: > > Quit the Mac OS X window server or use the -quartz option. > > > > OsVendorFatalError > > AbortDDX > > Quitting XDarwin... > > giving up. > > xinit: Connection refused (errno 61): unable to connect to X server > > xinit: No such process (errno 3): Server error. > > [localhost:~] cyborg% startx -- -quartz > > > > 2002-05-12 09:12:45.491 XDarwin[21976] No Info.plist file in > > application bundle or no NSPrincipalClass in the Info.plist file, > > exiting > > giving up. > > xinit: Connection refused (errno 61): unable to connect to X server > > xinit: No such process (errno 3): Server error. ------------------------------------------------------------ Another one: ----------------------------------------------------------- the machine is a brand new G4 PB with those "April" Dev Tools installed, here are the posts i sent, again reply straight to me please until i can straighten out whatever problem is happening: -------- fink install xfree86-rootless resulted in a folder in my my OS X Applications folder called XDarwin. in that folder are: XDarwin/Contents/MacOS/XDarwin the last is file, a document, not an app. what happened? what should i do? Solutions offered: 1-(This should work I suppose -- but I'm not sure). If I'm correct, you need to get the .app folder recognized as an application, and my guess it's just a privileges problem: chown -R username:staff the .app folder, and then chmod -R 777 the whole thing. If that doesn't work, I vaguely remember more things on how to get an .app bundle recognized, but I'm certain others on this list know it better. 2-I read something on the Apple Discussion Boards about the problem where an app turns into a folder, and their fix (of course provided the folder has the .app extension) was to delete the three files in your ~/Library/Preferences that start in 'LS' (i.e. rm ~/Library/Preferences/LS*). Then restart, which will recreate these files which apparently manage extension associations. Just another idea. --------------------------------------------------------------- So, Im not sure you have a sound installation. Although your errors messages are not grave at all. Have you installed any other window manager ? Cheers... |
tar,
At this stage, I would try: fink rebuild xfree86-rootless and if that doesn't work I would probably try to remove the packages and do as osxpez suggested before and use apt-get: 'sudo apt-get install xfree86-base' and 'sudo apt-get install-xfree86-rootless' And move again from there. Cheers... |
sao,
oh my.... looks like i'm screwed up... lol :::::: [bahamut:~] root# ls -Ahl ls: illegal option -- h usage: ls [-1ACFLRSTWacdfgiklnoqrstux] [file ...] :::::: what's this supposed to mean?> |
BahamutX,
Why are you root ? Please just do : ls Tell me what you get. Cheers... |
yep, i see the file:
.CFUserTextEncoding .cshrc .nsmbrc Documents .DS_Store .cvspass .tcsh_history GNUstep .FBCIndex .forward .xinitrc Library .FBCLockFolder .mozilla Desktop Music |
sao -
I'll rebuild xfree86-rootless and let you know how it goes. I noticed that when the XDarwin application turned into a folder that there were also some files missing from the folder that were there in the regular application when I examined the package contents. These files: In the folder XDarwin/Contents: Info-org.plist PkgInfo pbdevelopment.plist Info.plist and then the Resources folder was also missing. All that was present in the weird folder-XDarwin was the file XDarwin/Contents/MacOS/XDarwin. I also did a chmod so that it looked like this: drwxrwxr-x 4 root admin but it didn't help. I think it was the missing files that really caused the problem, but I don't know why they would be missing. I'm rebuilding now, so we'll see what happens. I might just have to start this whole process over. As I watch it rebuild, it is definitely using GCC 2.95. tar |
BahamutX,
At this point I would stop the pain, delete and reinstall everything. To delete fink, run: sudo rm -rf /sw And to get rid of XFree86 and the XDarwin.app : sudo rm -rf /usr/X11R6 /etc/X11 /Applications/XDarwin.app Then, I would get the 'XFree86 Install Guide' from MacOS X Hints : http://homepage.mac.com/rgriff/xdarwin.html and follow it to install again with what you already know. Good luck. Cheers... |
sao -
okay, this is getting kind of ridiculous. i deleted xfree86 completely, and then i deleted and reinstalled fink. after appropriately updating all the indexes and whatnot, i reinstalled xfree86-base and -rootless using apt-get instead of fink. i then reinstalled windowmaker again. i checked my ~/.xinitrc, and it is still the standard windomaker .xinitrc. just to be safe, i logged out of the terminal, and logged back in. then, when i type startx, i get this: [tar@chile tar]$ startx -rootless XFree86 Version 4.2.0 / X Window System (protocol Version 11, revision 0, vendor release 6600) Release Date: 18 January 2002 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. _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root Display mode: IOKit Failed to connect to the HID System as the window server! Fatal server error: Quit the Mac OS X window server or use the -quartz option. OsVendorFatalError AbortDDX Quitting XDarwin... giving up. xinit: Connection refused (errno 61): unable to connect to X server xinit: No such process (errno 3): Server error. and when i type XDarwinStartup -rootless, i get this: [tar@chile tar]$ XDarwinStartup -rootless 2002-05-24 14:44:55.132 XDarwin[28215] XDarwin 1.1 Running rootless inside Mac OS X window server. XFree86 Version 4.2.0 / X Window System (protocol Version 11, revision 0, vendor release 6600) Release Date: 18 January 2002 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. _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root Display mode: Rootless Quartz Screen 0 added: 1056x771 @ (0,21) Screen 0 placed at X11 coordinate (0,0). at this point, the program launches, but with the same problem, where it shows no terminals or windows, or any other indication that a window manager has been executed. i've looked over the install guide you pointed BahamutX to, but it didn't seem to offer any additional insight. should i try to uninstall the April Developer's Tools? do you think that's what's causing the problems? thanks! tar |
root problems
BahamutX
Almost 100% of your problems are root# You will probably be best off at this point by reformating your OS X partition and starting over. Everyone, DO NOT LOG IN AS ROOT You will only succeed in turning your system into a basket case! In the 1 year+ I have been running OS X I have been logged in as root 3 times. I needed to be logged in as root 0 times. I messed things up 2 times. I got lucky 1 time. Total time logged in as root 30 minutes. Real power comes from being able to suppress the urge to be all powerful. Willy |
tar,
Look at one of my posts above. You will see one example with the same errors as you have now. So, Don't remove the April Dev Tools. Just run now: 'sudo apt-get update' and then again: 'sudo apt-get install xfree86-rootless' Hopefully, that will solve your problems. Let me know. Cheers... |
BahamutX,
I agree with WillyT 100%. Don't login as root unless it's absolutely necessary. And don't give up. Take a brake and start again. Cheers... |
:D Ok, sao! I'll listen to you, I'll try everything all over again tonight!
|
sao -
well, all that stuff sort of worked. i had to remove and update and reinstall xfree86-rootless a few times, but finally, windowmaker appears. at least, i think it's doing it right. it only launches when i type XDarwinStartup -rootless. startx and just XDarwin do exactly what they've always done, either come up with an error message, or launch without a window manager. i'm going to start installing the gnome now, and see how that affects windowmaker. thanks again for all your help! tar |
tar,
If you have the same problem after installing gnome, try deleting in your home directory .gnome, .gnome-desktop and .gnome-private. See how it goes and let me know. Cheers... |
How long should it take?
I've been following this thread, and am trying to work through the installation of GNOME. I ran the fink install like sao suggested, but I've been waiting for a freaking long time for it to compile (like 5+ hours). Should it take this long?
I think next time I'll use apt-get instead ;) Thanks, M@ |
depends on your iron. it's a long compile on some older rigs. is it still rolling? is the process cpu bound?
it runs faster if you don't watch it. -- Abe Lincoln was asked how long a man’s legs should be. His answer: "Long enough to reach the ground!" |
Still going!
I'm using a 500 mHz G4 powerbook. It is still trucking right along. I'll try not to watch it ;)
Thanks, M@ |
mdale7,
Quoting myself from another thread: <<It's normal. Depending on what kind of computer you're running (an old iMac, or the latest G4, etc) and what you're installing, this can be done in a matter of minutes or it can take well over a day. Depends on the number & the kinds of packages: generally, mozilla, nautilus, evolution, and gnome all take a long time, while others are very fast. Installing binaries is faster, but if you install from source you have the advantage to usually get newer software, and if you can leave it working overnight, then it shouldn't bother you so much.>> Cheers... |
Done compiling
Thanks guys,
It finally finished last night at 8:30. Now I just have to get it working M@ |
mdale7,
Let us know if you have any problems. Good luck. Cheers... |
Still troubled
Sorry to be a bother.
When I try to run gnome-session from an xterm window within XDarwin, I get the message: Gnome-ERROR **: Could not create per-user Gnome directory </Users/mattdale/.gnome/accels> - aborting aborting... Gnome-ERROR **: Could not create per-user Gnome directory </Users/mattdale/.gnome/accels> - aborting aborting... Abort Here's fink list gnome: Information about 606 packages read in 2 seconds. i bundle-gnome 1.4-3 GNOME convenience package fvwm2-no-gnome 2.4.6-2 X11 wind. man., large virtual desktop, v2, ... i gnome-applets 1.4.0.5-2 Various applets for GNOME panel i gnome-audio 1.4.0-3 Audio files for Gnome. i gnome-core 1.4.0.6-3 Common files for Gnome core apps. i gnome-core-dev 1.4.0.6-3 Common files for Gnome core apps. i gnome-core-shli 1.4.0.6-3 Common files for Gnome core apps. i gnome-games 1.4.0.3-6 GNOME games collection. i gnome-games-dev 1.4.0.3-6 GNOME games collection. i gnome-games-shl 1.4.0.3-6 GNOME games collection. i gnome-libs 1.4.1.4-3 Base libraries for GNOME i gnome-libs-dev 1.4.1.4-3 Base libraries for GNOME i gnome-libs-shli 1.4.1.4-3 Base libraries for GNOME gnome-pim 1.4.0-1 Calendar and address book for GNOME. i gnome-print 0.35-3 Gnome Print - Printing libraries for GNOME. i gnome-print-dev 0.35-3 Gnome Print - Printing libraries for GNOME. i gnome-print-shl 0.35-3 Gnome Print - Printing libraries for GNOME. i gnome-user-docs 1.4.1.1-2 General GNOME User Documentation i gnome-utils 1.4.1.2-2 GNOME utility programs i gnome-vfs 1.0.3-5 The GNOME virtual file-system libraries i gnome-vfs-dev 1.0.3-5 The GNOME virtual file-system libraries i gnome-vfs-shlib 1.0.3-5 The GNOME virtual file-system libraries gnome-vfs-ssl 1.0.3-5 The GNOME virtual file-system libraries, wi... gnome-vfs-ssl-d 1.0.3-5 The GNOME virtual file-system libraries, wi... gnome-vfs-ssl-s 1.0.3-5 The GNOME virtual file-system libraries, wi... gnomemm 1.2.2-3 C++ interface for the GNOME libraries gnomemm-shlibs 1.2.2-3 C++ interface for the GNOME libraries From this, I take it that the files are installed correctly. Also, the file Users/mattdale/.gnome/accels exists, but I cannot cd to it. Here are the file permissions, are they correct? [5:24pm][~] mattdale% ls -la | grep .gnome drw------- 4 mattdale staff 264 Jul 14 16:57 .gnome drwx------ 2 mattdale staff 264 Jun 30 11:38 .gnome_private I am using windowmaker as my window manager, if that helps. So sorry to bother y'all again, thanks so much for the help so far! M@ |
mdale7,
Haven't seen this error before. When you get the error, are you in rootless or fullscreen mode? What cames out when you start gnome from the ~/.xinitrc file? Code:
# Window Maker default X session startup script Cheers... |
Quote:
i think the .gnome dir need x access: Code:
% chmod u+x ~/.gnome |
mdale7,
You can try also to just remove all your ~/.gnome and ~/.gnome_private directories and start XDarwin again. Let me know. Cheers... |
It all works!
Thanks everyone,
When I changed the permissions for the files it worked! I am posting this on mozilla running in GNOME. Also, last night, I was able to get KDE working as well. Yahoo! Thanks! M@ |
| All times are GMT -5. The time now is 06:19 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.