[Newbie]Error when executing startx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



jack craig wrote:

> Jeffrey Stephens wrote:
> >
> > I just completed an install of XFree86 4.2.0 from source.  Everthing
> > seemed to go well for quite
> > a while.  I did all the following:
> >
> >     1.  Added "/usr/X11R6/bin" to my path
> >     2.  Added "/usr/X11R6/lib" to my /etc/ld.so.conf file and executed
> > "ldconfig"
> >     3.  Created a XF86Config file and moved it to /etc/X11
> >     4.  Tested the system with "XFree86 -xf86config ~/XF86Config.new".
> > Got the grey
> >           screen with "x" shaped mouse as I was supposed to.  Copied the
> > XF86Config.new
> >           file to /etc/X11/XF86Config
> >     5.  Created a ".xinitrc" file in /root containing the following
> > commands:
> >
> >             xterm  -g 80x40+0+0   &
> >             xclock -g 100x100-0+0 &
> >             twm
> >
> > But, when I execute "startx", I get the following error:
> >
> >  # startx
> >
> >  hostname: Host name lookup failure
>
> your DISPLAY=hostname:0 apparently isnt being looked up.
>
> what is your host name and is it in /etc/hosts?
>
> these others seem to indicate a missing library,
> find, load that and it should work better.
>
> hth, jackc...

I have a single line in my /etc/hosts file.  It reads as follows:

127.0.0.1 localhost.localdomain localhost

Is this all I need?  Appreciate the help. And as I said below, the library
said not found in the error, does in fact exist and is located in /usr/X11R6/lib.

Regards,
Jeff Stephens


>
>
> > xauth: error while loading shared libraries: libXmuu.so.1: cannot open
> > shared ob
> > ject file: No such file or directory
> > xauth: error while loading shared libraries: libXmuu.so.1: cannot open
> > shared ob
> > ject file: No such file or directory
> > xauth: error while loading shared libraries: libXmuu.so.1: cannot open
> > shared ob
> > ject file: No such file or directory
> > xauth: error while loading shared libraries: libXmuu.so.1: cannot open
> > shared ob
> > ject file: No such file or directory
> >
> > Checked the obvious,and libXmuu.so.1 is in fact located in
> > "/usr/X11R6/lib" as a link to  libXmuu.so.1.0.
> > I made sure my ld.so.conf file contained "/usr/X11R6/lib" and executed
> > "ldconfig"
> > just to be on the safe side..no change in error.  Then I tried setting
> > permissions
> > on /usr/X11R6 as follows:
> >
> > # cd /usr
> > # chown -R 0.0 X11R6
> >
> > but this also produced no change in my error.  Can anyone help me out? I
> > am attaching
> > a copy of my XFree86.0.log file in case this would be of help.
> >
> > Thanks.
> >
> > Regards,
> > Jeff Stephens
> >



[Index of Archives]     [XFree86]     [Xfree86 Xpert]     [X.org]     [IETF Annouce]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Picture Sharing]     [Linux Security]     [Linux RAID]

  Powered by Linux