Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xorg works fine but cant stop the default
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
funky1096
n00b
n00b


Joined: 10 Oct 2013
Posts: 47

PostPosted: Thu Oct 10, 2013 5:25 pm    Post subject: xorg works fine but cant stop the default Reply with quote

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
View user's profile Send private message
nemectic
Apprentice
Apprentice


Joined: 20 Aug 2004
Posts: 182

PostPosted: Thu Oct 10, 2013 5:36 pm    Post subject: Reply with quote

~/.xinitrc will override the global files, so if those still have information you need to get rid.
Back to top
View user's profile Send private message
funky1096
n00b
n00b


Joined: 10 Oct 2013
Posts: 47

PostPosted: Thu Oct 10, 2013 5:39 pm    Post subject: Reply with quote

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 8O
Back to top
View user's profile Send private message
nemectic
Apprentice
Apprentice


Joined: 20 Aug 2004
Posts: 182

PostPosted: Thu Oct 10, 2013 5:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
funky1096
n00b
n00b


Joined: 10 Oct 2013
Posts: 47

PostPosted: Thu Oct 10, 2013 6:03 pm    Post subject: Reply with quote

Wait the "." Matters?
Anyways instead of "xinitrc" I created ".xinitrc" files and
It starts lxde :D thanks for pointing that out.
Back to top
View user's profile Send private message
nemectic
Apprentice
Apprentice


Joined: 20 Aug 2004
Posts: 182

PostPosted: Thu Oct 10, 2013 6:16 pm    Post subject: Reply with quote

Haha, easy mistake to make if you're new to config files! :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum