PDA

View Full Version : Can't "startx"


christopher75
02-20-2003, 09:06 PM
Installed X86free via FINK and KDE, Enlightment and WindowsMaker.

My .xinitrc file is modified so XDarwin should start KDE. No problemos for XDarwin.app to fire up KDE.

However, in terminal and >console mode, startx does not seem to work.

The output is simply "command not found"
What i'm i doing wrong?


My .xinitrc file looks like this:

#PATH="$PATH:/sw/bin"

source /sw/bin/init.sh

# Windowmaker
#exec wmaker


# Enlightenment
#exec /sw/bin/enlightenment

# Gnome
#exec gnome-session


# KDE

/sw/bin/startkde



And my .cshrc file:
source /sw/bin/init.sh /sw/bin/startkde >/sw/var/log/kde.log 2>&1

Sorry for the questions, i know (but i'm learning quickly) these problaly are newbie questions. I searched allover the and did not find any answers. Was not sure where and what i'm was seraching for.

Cheers

sao
02-20-2003, 11:08 PM
christopher75,

It looks like your path is not set up. Your ~/.xinitrc file should look something like:

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


And in ~/.cshrc just write:

source /sw/bin/init.sh

christopher75
02-22-2003, 05:35 AM
No luck.
And now i get:
Last login: Sat Feb 22 11:31:56 on ttyp2
Welcome to Darwin!
Bad : modifier in $ (/).

When i open up a new term..

sao
02-22-2003, 06:23 AM
christopher75,

My bad. I told you:

>>>>
And in ~/.cshrc just write:

source /sw/bin/init.sh
>>>>

It's init.csh for c shell. Please try again by changing your ~/.cshrc file to:

source /sw/bin/init.csh


Sorry about that... :)