Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Different users use different desktop environments?
View unanswered posts
View posts from last 24 hours

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


Joined: 13 Apr 2014
Posts: 59

PostPosted: Tue Nov 22, 2016 10:03 am    Post subject: [SOLVED] Different users use different desktop environments? Reply with quote

Hi all,

Is there any way to config users use different desktop environments?
Say, I have two user accounts, and want one use OPENBOX, and one use LXDE.
And, I use SLiM as login manager.

Any solution?

Thanks,
Kenmux


Last edited by kenmux on Sat Dec 03, 2016 3:22 am; edited 1 time in total
Back to top
View user's profile Send private message
massimo
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1226

PostPosted: Tue Nov 22, 2016 10:12 am    Post subject: Reply with quote

Does [1] help?

[1] https://wiki.gentoo.org/wiki/SLiM
_________________
Hello 911? How are you?
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2583

PostPosted: Tue Nov 22, 2016 10:38 am    Post subject: Re: Different users use different desktop environments? Reply with quote

kenmux wrote:
And, I use SLiM as login manager.

Any solution?

No idea about SLiM. But using startx or start-lumina-desktop, users can have their individual DEs.
Back to top
View user's profile Send private message
kenmux
n00b
n00b


Joined: 13 Apr 2014
Posts: 59

PostPosted: Tue Nov 22, 2016 10:42 am    Post subject: Reply with quote

massimo wrote:
Does [1] help?

[1] https://wiki.gentoo.org/wiki/SLiM


I'm afraid not.
I configed /etc/env.d/90xsession, using lxde or openbox, but cannot both.
Back to top
View user's profile Send private message
kenmux
n00b
n00b


Joined: 13 Apr 2014
Posts: 59

PostPosted: Tue Nov 22, 2016 10:44 am    Post subject: Re: Different users use different desktop environments? Reply with quote

charles17 wrote:
kenmux wrote:
And, I use SLiM as login manager.

Any solution?

No idea about SLiM. But using startx or start-lumina-desktop, users can have their individual DEs.


Yes, I did that before just for testing, and both DEs run well.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21350
Location: here

PostPosted: Tue Nov 22, 2016 10:45 am    Post subject: Reply with quote

kenmux wrote:
I configed /etc/env.d/90xsession, using lxde or openbox, but cannot both.

And with .xsession?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
kenmux
n00b
n00b


Joined: 13 Apr 2014
Posts: 59

PostPosted: Fri Dec 02, 2016 10:10 am    Post subject: Reply with quote

fedeliallalinea wrote:
And with .xsession?


Yes. And it seems stranger. If I set 90xsession as lxde, then all users will use lxde (even the setting in .xsession is openbox). The setting in .xsession seems being ignored. Reason unknown. I configed in .xsession for startx just before using login manager, as said before, and all worked well enough.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2583

PostPosted: Fri Dec 02, 2016 10:34 am    Post subject: Reply with quote

There is a certain relation between /etc/env.d/90xsession and ~/.xinitrc. The one is system wide for all users, the other just only for the present user.
Back to top
View user's profile Send private message
kenmux
n00b
n00b


Joined: 13 Apr 2014
Posts: 59

PostPosted: Fri Dec 02, 2016 10:56 am    Post subject: Reply with quote

charles17 wrote:
There is a certain relation between /etc/env.d/90xsession and ~/.xinitrc. The one is system wide for all users, the other just only for the present user.


Yes, the document says that.

To make sure what it is, I checked my gentoo again. And, I have to apologize for the misleading.
I use .xinitrc all the time and no .xsession at all. Is it the reason? I'll check it later.

The .xinitrc as:

Code:
## openbox with consolekit support
#exec ck-launch-session dbus-launch --sh-syntax --exit-with-session openbox-session
exec startlxde


The commented out lines for openbox, others for lxde.
I switched between openbox and lxde, and not worked at all.
And I thought I had done env-update after it.
Back to top
View user's profile Send private message
kenmux
n00b
n00b


Joined: 13 Apr 2014
Posts: 59

PostPosted: Sat Dec 03, 2016 3:21 am    Post subject: Reply with quote

Okay, yes it's the .xsession reason.
I always thought that .xinitrc would do the job even when I using SLiM.
Thanks for all your helps.

Quote:
By default SLiM evaluates /usr/share/slim/Xsession first, then /etc/X11/Sessions/Xsession, and ~/.xsession is called last, so there is no need to duplicate entries from that two previous files.


This tips from SLiM wiki, tells that SLiM do nothing with .xinitrc.
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