PDA

View Full Version : hope right area. . .using kde or gnome


zanyterp
03-01-2003, 01:17 AM
hello, i am quite newbie to using x11 and curious about using gnome and kde, is it possible to run them under apple's x11? it seems that way from other posts, but i am not sure how to do it, or if i am reading things wrong. i tried to modify my ~/.xinitrc file, as looked like supposed to do, and this is what i get

[My-Accounts-Computer:~] myaccoun% startx -gnome.desktop


Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.

OsVendorFatalError
AbortDDX
Quitting XDarwin...


i am running x11 pb0.2.1 and have installed gnome using fink 0.5.1 (i think that the right one). am i just missing something? or is it not possible to get it to work?

thanks!

nick

ps if it matters or means anything, i have gotten gimp to work, so i know that my install works. . .just trying to experience gimp and kde, perhaps others out there. thanks!

cradom
03-01-2003, 07:14 AM
If X11 is already running just type gnome-session in a terminal. Do not put startx in your xinitrc file, it's X11 thats reading this file and is already started.
note: not sure if it's gnome-session or gnomesession,,been a while since I looked.

sao
03-01-2003, 07:20 AM
wrote:
Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.
/tmp/.X0-lock and maybe /tmp/.X11-unix/X0
You have to manually remove these files first before you can start the 'X11.app' again. Read the thread "X11: Frequently Asked Questions", post "34. Apple's X11 won't start anymore" here:

http://forums.macosxhints.com/showthread.php?s=&threadid=8704

wrote:
i tried to modify my ~/.xinitrc file...
To start gnome, write a ~/.xinitrc file in your home directory with this two lines:

source /sw/bin/init.sh
exec gnome-session

Or, to start KDE write in your ~/.xinitrc file:

source /sw/bin/init.sh
/sw/bin/startkde /sw/var/log/kde.log 2>&1

Then, double-click the 'X11.app' to start an X11 session.

zanyterp
03-26-2003, 02:46 AM
i just upgraded to apple's x11 pb 3 and now kde will not start for me. . .i put the code in for it to, but any of the dialogues when it tries to talk to me are above the menu bar. . .i have looked through the x11 faq and have not figured out how to make all windows visible. . .or how to get kde 3 to start up for me (which was installed thru fink).

any help?

thanks!

nick

sao
03-26-2003, 04:05 AM
zanyterp,

After you upgraded to Apple's x11 pb 3, did you also installed with Fink, system-xfree86-4.2-11 or higher?

Please, post the content of your ~/.xinitrc file.

If KDE starts, then you can read the X11-FAQ at the top of the page, "54. KDE window opens with it's title bar hidden underneath X11's menu bar" and try:


to make all the windows open at the center of the screen:

Control Center-->Window Behaviour-->Advanced

-->Enable Xinerama support
-->Enable window placement support

And then:

Window Behaviour-->Moving-->Placement-->Centered

zanyterp
03-26-2003, 07:22 PM
source /sw/bin/init.sh

xterm -geometry 75x34+100+40 &

/sw/bin/startkde /sw/var/log/kde.log 2>&1



got the above code to be able to open xterm visible (played some) and also to have kde start. for the rest, to do the workaround in command center, KDE won't even come up now. i don't have listed system-xfree86-4.2-11 listed (only -5) and have used the update function, but not work to get -11. (how do i get it?)
thanks!!
nick

sao
03-27-2003, 12:58 AM
zanyterp,

Please, run and post the result of:

fink list -i xfree

To upgrade system-xfree86, just run:

From binaries:

sudo apt-get update
sudo apt-get install system-xfree86

or,

From source:

fink selfupdate-cvs
fink install system-xfree86

zanyterp
03-27-2003, 08:03 PM
sorry to bother you again, but the help IS appreciated. . .i tried to run the fink -i xfree as suggested, but either my system broke when i updated to x11 pb3 or system-xfree86 4.2-11 (got it to work). . .kde still doesn't like me. i've tried and i get a screen that lists several links that are expected, but missing (and trying to copy that to here has proved to be unsuccesful, just as trying to launch from terminal.app. is it possible to have both apple's x11 running and the system installed by fink? or is that just asking for trouble?

when using the geometry argument, are the first numbers the size, followed by location? and is it possible to set it so that any window that opens uses that spot or other than the default of 0,0? thanks!!

sao
03-27-2003, 09:33 PM
zanyterp,

Sorry, you answer is not very clear. Try once more to post the result of:

fink -V

fink list -i

zanyterp wrote:
is it possible to have both apple's x11 running and the system installed by fink?
If you are refering to system-xfree86:

If you install Apple's X11 and you want to use Fink to install packages, you "definitely" need to install system-xfree86 (if you have Apple's X11 version 0.3 you need to install system-xfree86 version 4.2-11 or higher)

system-xfree86 doesn't install the whole system again, it's just a 'placeholder package' that Fink uses to recognize your Apple's "X11" installation.

zanyterp wrote:
when using the geometry argument, are the first numbers the size, followed by location? and is it possible to set it so that any window that opens uses that spot or other than the default of 0,0?
Yes, the first is the screen size and the second is the position. It's application dependent.

To learn more about geometry check 'man X' (GEOMETRY SPECIFICATIONS)

I wrote a bit about the -geometry option in this thread:

http://forums.macosxhints.com/showthread.php?s=&threadid=10296

zanyterp
03-28-2003, 12:10 AM
fBad : modifier in $ (/).
i[My-Accounts-Computer:~] myaccoun% fink -V
fink: Command not found.
[My-Accounts-Computer:~] myaccoun% fink list -i
fink: Command not found.
[My-Accounts-Computer:~] myaccoun%


is what happens when i try to run fink from terminal.app, though have no problem installing programs from finkcommander. and i do understand system-xfree86 is just a placeholder, but i had the impression there was a version of X that fink could install itself, that is equivalent to, but not exactly the same as, apple's x11?
thanks!

zanyterp
03-28-2003, 12:33 AM
not exactly sure what i did, or how i did it, but somehow something came up missing from my PATH (there was nothing, so added source /sw/bin/init.csh as recommended elsewhere in the forum list) so, here is the result of fink -V

[My-Accounts-Computer:~] myaccoun% fink -V
Package manager version: 0.11.1
Distribution version: 0.5.1


and fink list -i xfree

[[My-Accounts-Computer:~] myaccoun% fink list -i xfree
Reading package info...
Information about 924 packages read in 11 seconds.

i system-xfree86 4.2-11 Placeholder package for manually installe...

tried to do the fink list -i and could not post due to too many characters.

and still get a white box at the top of my window with just an okay box for me to click. thanks all for the help!

nick

sao
03-28-2003, 05:36 AM
zanyterp,

Glad is working, to do your homework and read the basic information available, always pays off nicely.
wrote:
still get a white box at the top of my window with just an okay box
Which white box?

Does kde start now?

If necessary, you will likely want to disable desktop icons, or else the root window desktop will cover up your Aqua destkop. You can do this by starting the KDE control center, expanding the "Desktop" list, click "Behavior", and uncheck the "Enable icons on desktop" checkbox.

wrote:
but i had the impression there was a version of X that fink could install itself
It is possible to install Apple's X11 and fink xfree86 packages and make them work together. A bit complicated for a beginner, but it is possible.

Check the following threads:

http://www.mail-archive.com/fink-users@lists.sourceforge.net/msg07717.html

http://www.mail-archive.com/fink-beginners@lists.sourceforge.net/msg06544.html

I did it before with Fink xfree86 -threaded packages and Apple's X11, but it's more complicated, you can read this thread and get an idea:

http://forums.macosxhints.com/showthread.php?s=&threadid=8364

zanyterp
03-28-2003, 06:43 PM
nope, kde still is not launching. the white box appears to be some kind of dialogue box, but the only portion i can see is the "okay" button. i press it thinking will launch kde, and it does not.

zanyterp
03-28-2003, 10:53 PM
[My-Accounts-Computer:~] myaccoun% open-x11 kstart
[My-Accounts-Computer:~] myaccoun% kstart
dyld: kstart Undefined symbols:
/usr/X11R6/lib/libGL.1.dylib undefined reference to _glPointParameterf expected to be defined in OpenGL
/usr/X11R6/lib/libGL.1.dylib undefined reference to _glPointParameterfv expected to be defined in OpenGL
dyld: kstart Undefined symbols:
/usr/X11R6/lib/libGL.1.dylib undefined reference to _glPointParameterf expected to be defined in OpenGL
/usr/X11R6/lib/libGL.1.dylib undefined reference to _glPointParameterfv expected to be defined in OpenGL
Trace/BPT trap


i'm guessing this could be part of the problem on why kde will not start for me. . .any idea on how to fix this or what it means? (was run in terminal.app) and xterm. . .how can i modify or update this file? i've looked in finkcommander (and fink) but the install doesn't recognize the libGL files there.

sao
03-29-2003, 01:53 AM
zanyterp,

I can't understand why you're getting these undefined symbols. It looks like you installed something that overwrote parts of Apple's /usr/X11.

Run:

otool -L /usr/X11R6/lib/libGL.dylib

to see whether this links with the OpenGL framework as Apple's does.

zanyterp
03-29-2003, 10:01 AM
otool is supposed to install with x11? i try and it says command not found. . .maybe i should just reinstall?

sao
03-29-2003, 10:39 AM
zanyterp,

Did you installed Apple December 2002 Developer Tools?

zanyterp
04-01-2003, 11:44 PM
i have not, i tried but i do not have enough room on my hard drive. . . though i downloaded x11 extension and it pulls up the window (appears to be the same one) and it says, "couldn't start kdeinit. please check your installation." and little later, "couldn't start kmserver. check your installation." what does :"mcop warning: user defined signal handler found for SIG_PIPE, overriding" mean. . .other than i apparently have something set wrong. .. are any of these things that could possibly be answered on a kde site?

thanks!!

sao
04-02-2003, 03:10 AM
zanyterp wrote:
are any of these things that could possibly be answered on a kde site
As you installed kde with Fink, I would recommend you post your problem to the fink-users list.

What is the version of kde that FinkCommander says it installed?

zanyterp
04-02-2003, 10:47 PM
ok, i will try some of the fink user lists. . .it's possible to install kde without fink or through x11 by itself? and finkcommander says it is the latest version (0.50) and kdebase3 at 3.0.7-4.

sao
04-03-2003, 01:23 AM
zanyterp wrote:
it's possible to install kde without fink or through x11 by itself?
The only way I know is through Fink.

The kde version in 'current-stable' is 3.1-18