Starting gnome GUI from command line in FreeBSD

I have installed FreeBSD 5.1, and I am at the command line logged in as root, when I try to start the GUI by using the startx command, it seems like its going to work, it thinks for a minute then gives me the message- "xinit: Connection refused (errno 61) unable to connect to X server and xauth: bad display name in remove command. Could anyone tell me what Im doing wrong?


Thanks,
Engellan
LVL 1
R KellySenior Systems AnalystAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

shivsaCommented:
The command to start GNOME with session management is gnome-session.
To start GNOME without session management, you must run gnome-wm instead
0
shivsaCommented:
for more information about gnome and freebsd, please check this link.
http://www2.pt.freebsd.org/gnome/docs/faq2.html
0
R KellySenior Systems AnalystAuthor Commented:
Thanks for replying, I do use the gnome-session command prior to using startx, and I get the error messages I mentioned above, I must be missing some configuration that has to be done first, but I can't seem to find out what it is.

Engellan
0
CluskittCommented:
Ok, I did some searching, and came up with two possible solutions. Don't know if they're what you need, but it's worth a try.
-There's probably a /tmp/.X11-unix directory with wrong permissions. Remove this directory and try again.
-You must first have registered the client box (the one from which you`re sending the X output) on the server box (the one to which the X is being sent).  This is done with the xauth command.  Use man pages to see exactly how this is done.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Operating Systems

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.