• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 468
  • Last Modified:

error trying to start up xorg

I am getting the following error when I try to 'startx' , i was cleaning out my system but obviously
got rid of something i needed...

/libexec/ld-elf.so.1: Shared object "libhal.so.1" not found, required by "x" giving up.
xinit: Connection refused (errno 61): unable to connect to x server
xinit: No such process ( errno 3): server error.
0
solunatec
Asked:
solunatec
1 Solution
 
AmolCommented:
Try this (on the command line) and see if it helps:

DISPLAY=localhost:0.0; export DISPLAY

or

The workaround is
% ln -s /usr/local/bin/Xorg /usr/X11R6/bin/Xorg
0
 
solunatecAuthor Commented:
thanks..
the first set of instructions just didnt do anything; didnt recognize commnand
the second set the system wrote out:

ln: /usr/X11R6/bin/Xorg: file exists
if I go there and press enter I get the same error message...
0
 
AmolCommented:
which OS your are running?
0
Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

 
solunatecAuthor Commented:
freebsd7.1
0
 
AmolCommented:
1) There's probably a /tmp/.X11-unix directory with wrong permissions. Remove this directory and try again.
2) 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
 
Joseph GanSystem AdminCommented:
Try to find which package it belongs to by
# rpm -qf libhal.so.1

and re-install that package.
0
 
gheistCommented:
pkg_add -r hal ;)
0
 
solunatecAuthor Commented:
I get an error when I went to do pkg_add -r hal, becuase my system is looking for 7.1 but I went to the sight and 7.1 is not available rather 7 and 7.2
0
 
solunatecAuthor Commented:
I think I am just going to install freebsd8....and take the lesson into the next install,
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now