gnome: "startx: command not found", It must be a silly mistake,

Dear guys,
Have installed gnome in my laptop, n do reboot after that,but i got login to normal CLI (no GDM,or X), then when I(root) run
Code:
startx
output : startx: command not found.

I have read some thread that related to this problme
But cant get way to solve it,

I installed gnome through port
Code:
# cd /usr/ports/x11/gnome2
# make clean
# make install
And have added
Code:
echo gnome_enable="YES" >> /etc/rc.conf

And i have checked status some daemon,
Code:
/usr/local/etc/rc.d/dbus status
output: dbus is running as pid 993
Code:
/usr/local/etc/rc.d/hald status
output: dbus is running as pid 1130

Any one have an idea on it?
Thanks
 
try:

/usr/local/bin/startx as root...I'm not going to say anything about running X as root, I leave that to others.
 
Have a look at the output of pkg_info. Is xorg installed?

If not, just do the following and it will build the missing bits.

Code:
# cd /usr/ports/x11/xorg
# make install clean

Gnome2 does pull in parts of X as a dependency but apparently not everything.
 
@ roddierod and dutchdaemon: there is still not working,

@sirdice: Yes, i dont xorg package, now i am still installing, i hope this could be the solution,
thanks for the responds
 
Just for completeness' sake: the advice not to run X as root was not a troubleshooting suggestion. Simply do not run X as root, ever. It is a security nightmare waiting to happen. It's probably even unadvisable to run X as a wheel member.
 
@vaclinux
My post is mote in that I assumed you had xorg installed and that your root user's path didn't contain /usr/local/bin


DutchDaemon said:
It's probably even unadvisable to run X as a wheel member.

Wow, never thought of that. That could start a long discussion some other time...:)
 
Guys, tq, it is just working well, tq for the advice.
I just missed the xorg package, everything is just smooth, keyboard and mouse, are great.
may be my next thing, is the video drive, just ensure i have proper(or may be the most suitable) ati video driver.
Again tq
 
Back
Top