Re: X won't start

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




William L. Maltby wrote:
> On Sun, 2009-04-19 at 12:25 -0500, Robert wrote:
>   
<snip>

>> <snip sig stuff>
>>     
>
> Again, I'm not really knowledgeable about this stuff.
>
> HTH
>   
First, thanks to both you and John Stanley and anyone else whose reply I 
lost.

Finally, after beating up on myself, I found an <empty>  
~/.Xclients-default file.  Not missing, but empty!
Copying the file from the newly created user fixed the problem.

        This is after the repair:
        [rj@mavis ~]$ ls -l  ~/.X*
        -rw------- 1 rj rj 222 Mar 19 11:52 /home/rj/.Xauthority
        -rwxr-xr-x 1 rj rj 189 Jun 20  2007 /home/rj/.Xclients
        -rwxr-xr-x 1 rj rj 189 Apr 19 13:09 /home/rj/.Xclients-default


I don't understand why .Xclients and .Xclients-default are the same 
length (or even why both are needed).

        [rj@mavis ~]$ cat .Xclients
        #! /bin/bash

        # Created by Red Hat Desktop Switcher

        if [ -e "$HOME/.Xclients-$HOSTNAME$DISPLAY" ]; then
            exec $HOME/.Xclients-$HOSTNAME$DISPLAY
        else
            exec $HOME/.Xclients-default
        fi
        [rj@mavis ~]$                            

and

        [rj@mavis ~]$ cat .Xclients-default
        #! /bin/bash
        # Created by Red Hat Desktop Switcher

        WM="startkde"
        WMPATH="/usr/bin /opt/bin /usr/local/bin /usr/X11R6/bin"

        for p in $WMPATH ; do
                [ -x $p/$WM ] && exec $p/$WM
        done

        exit 1
        [rj@mavis ~]$    


But startx sure grows disappointed in a hurry if the latter is empty.



_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux