View previous topic :: View next topic |
Author |
Message |
funky1096 n00b
Joined: 10 Oct 2013 Posts: 47
|
Posted: Thu Oct 10, 2013 5:25 pm Post subject: xorg works fine but cant stop the default |
|
|
Hi after some interesting network problems i finnaly installed xorg-server and LXDE-meta.
i also installed xterm to test startx and it works correctly....
but once i uninstalled it and changed Xsessions to lxde AND created xinitrc files at /usr/share/X11 and /etc/X11 that have "exec startlxde" and try startx it always defaults to xterm no matter what i do.
I cant figure out how to stop xorg from starting xterm instead of LXDE help |
|
Back to top |
|
|
nemectic Apprentice
Joined: 20 Aug 2004 Posts: 182
|
Posted: Thu Oct 10, 2013 5:36 pm Post subject: |
|
|
~/.xinitrc will override the global files, so if those still have information you need to get rid. |
|
Back to top |
|
|
funky1096 n00b
Joined: 10 Oct 2013 Posts: 47
|
Posted: Thu Oct 10, 2013 5:39 pm Post subject: |
|
|
Yes thats why i added them. Xsessions was always defaulting to xterm inspite of me changing it and reboot/env-update and after creating xinitrc files it still defaults to xterm. I looked at man xorg.conf for the default locations and order but yet it still defaults to xterm |
|
Back to top |
|
|
nemectic Apprentice
Joined: 20 Aug 2004 Posts: 182
|
Posted: Thu Oct 10, 2013 5:50 pm Post subject: |
|
|
Quote: | changed Xsessions to lxde AND created xinitrc files at /usr/share/X11 and /etc/X11 |
X will look at those AFTER ~/.xinitrc
Just for clarification, ~/ is you user folder. For example if I had a user named Bob, ~/ would translate to /home/Bob
Root is an exception, in that ~/ translates to /root.
I apologise if you knew that already, but from your messages it seems you were talking about /etc/X11/.xinitrc instead of ~/.xinitrc
Can you post the output of:
Code: |
cat ~/.xinitrc
cat /etc/X11/.xinitrc
cat /usr/share/X11/xinit/.xinitrc |
|
|
Back to top |
|
|
funky1096 n00b
Joined: 10 Oct 2013 Posts: 47
|
Posted: Thu Oct 10, 2013 6:03 pm Post subject: |
|
|
Wait the "." Matters?
Anyways instead of "xinitrc" I created ".xinitrc" files and
It starts lxde thanks for pointing that out. |
|
Back to top |
|
|
nemectic Apprentice
Joined: 20 Aug 2004 Posts: 182
|
Posted: Thu Oct 10, 2013 6:16 pm Post subject: |
|
|
Haha, easy mistake to make if you're new to config files! |
|
Back to top |
|
|
|