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

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



> In my case X starts only if ~/.xinitrc file does not exist at all.
>
>> Is that line is only one you have in your .xinitrc?
>
> Yes, I have only 2 lines I mentioned in my original post.
>
>> Do you have system xinitrc? (/etc/X11/xinit/xinitrc)
>
> Yes, I do.
>
>> Is it empty?
>
> No, it is not. It's rather full and contains all default entries, since
> I've never touched it.
>
>
> Another thing to mention. As I've found that the error I reported
> originally:
>
> "/usr/bin/startx: Line 127: hostname: command not found",
>
> apparently has nothing to do with the problem.
>
> It is displayed each time I successfully start X and then kill it. The
> error then reported upon X exit. It looks to me now that Karol's
> suggestion of hostname being deprecated is correct and is the reason of
> the error being thrown up.
>
> So, the only thing remained for now :-) is to find why X fails start with
> ~/.xinitrc present and being edited as suggested by guide.
>
>
>

Perhaps you should have it actually start a window manager, eg "exec
openbox-session" or whatever your preferred wm is.


[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