Solved

Starting gnome GUI from command line in FreeBSD

Posted on 2003-11-19
4
1,590 Views
Last Modified: 2012-05-04
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
0
Comment
Question by:Engellan
  • 2
4 Comments
 
LVL 24

Expert Comment

by:shivsa
Comment Utility
The command to start GNOME with session management is gnome-session.
To start GNOME without session management, you must run gnome-wm instead
0
 
LVL 24

Expert Comment

by:shivsa
Comment Utility
for more information about gnome and freebsd, please check this link.
http://www2.pt.freebsd.org/gnome/docs/faq2.html
0
 
LVL 1

Author Comment

by:Engellan
Comment Utility
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
 
LVL 18

Accepted Solution

by:
Cluskitt earned 125 total points
Comment Utility
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

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction Often we come across situations wherein our batch files would be needing to reboot Windows for a variety of reasons. A few of them would be like: (1) Setup files have been updated whose changes can take effect only after a reboot …
Windows 10 is here and for most admins this means frustration and challenges getting that first working Windows 10 image. As in my previous sysprep articles, I've put together a simple help guide to get you through this process. The aim is to achiev…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now