Re: X fails to start after editing ~/.xinitrc

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



On Wed, Sep 7, 2011 at 3:31 AM, Juan R. de Silva
<juan.r.d.silva@xxxxxxxxx> wrote:
> I have a new arch install with basic X environment added and successfully
> tested.
>
> Following instructions here https://wiki.archlinux.org/index.php/Fonts
> I installed "terminus" fonts, created ~/.xinitrc file and added to it the
> following lines as advised:
>
> xset +fp /usr/share/fonts/local
> xset fp rehash
>
> After this X fails to start with error:
>
> "/usr/bin/startx: Line 127: hostname: command not found"
>
> When ~/.xinitrc file deleted, X starts as before just fine.
>
> Could somebody help me to figure out what am I doing wrong, please?
>

You don't have 'hostname' installed.
hostname, is available in net-tools - which has been deprecated.
net-tools from testing don't provide hostname anymore
http://mailman.archlinux.org/pipermail/arch-dev-public/2011-August/021397.html

Next time, install pkgtools package and run 'pkgfile foo' where 'foo'
is the file or command you want to find.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux