View previous topic :: View next topic |
Author |
Message |
kenmux n00b
Joined: 13 Apr 2014 Posts: 59
|
Posted: Tue Nov 22, 2016 10:03 am Post subject: [SOLVED] Different users use different desktop environments? |
|
|
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 |
|
|
massimo Veteran
Joined: 22 Jun 2003 Posts: 1226
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Tue Nov 22, 2016 10:38 am Post subject: Re: Different users use different desktop environments? |
|
|
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 |
|
|
kenmux n00b
Joined: 13 Apr 2014 Posts: 59
|
Posted: Tue Nov 22, 2016 10:42 am Post subject: |
|
|
I'm afraid not.
I configed /etc/env.d/90xsession, using lxde or openbox, but cannot both. |
|
Back to top |
|
|
kenmux n00b
Joined: 13 Apr 2014 Posts: 59
|
Posted: Tue Nov 22, 2016 10:44 am Post subject: Re: Different users use different desktop environments? |
|
|
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 |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30905 Location: here
|
Posted: Tue Nov 22, 2016 10:45 am Post subject: |
|
|
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 |
|
|
kenmux n00b
Joined: 13 Apr 2014 Posts: 59
|
Posted: Fri Dec 02, 2016 10:10 am Post subject: |
|
|
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 |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Fri Dec 02, 2016 10:34 am Post subject: |
|
|
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 |
|
|
kenmux n00b
Joined: 13 Apr 2014 Posts: 59
|
Posted: Fri Dec 02, 2016 10:56 am Post subject: |
|
|
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 |
|
|
kenmux n00b
Joined: 13 Apr 2014 Posts: 59
|
Posted: Sat Dec 03, 2016 3:21 am Post subject: |
|
|
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 |
|
|
|