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

Re: .Xresources not loading on start



On Sun 16 Mar 2014 at 10:22:21 +0530, Anubhav Yadav wrote:

> Solved.
> 
> I edited the file /etc/X11/Xsession.d/30x11-common_xresources and
> changed the "xorg -merge ..." lines to "xorge ..." and it worked.
> I don't know if it is a good solution or not!

I'd see it as a defeat because you are altering a system file to achieve
something which is capable of being done under your own user.

You need to get back to something basic which works.

1. Prevent lightdm from being started:

    update-rc.d lightdm disable        ('enable' reverts this).

2. Delete $HOME/.Xdefaults             (It's not used).

3. Delete $HOME/.xinitrc               (It fouls up Debian's X).

4. Move $HOME/.xsession out of the way.

5. Repair self-inficted damage with

    apt-get --reinstall install x11-common

6. Have 'xterm*background: red' as the only line in $HOME/.Xresources.

7. Reboot, execute startx and bring up an xterm.


Reply to: