Page 1 of 3
Salix/XFCE as environment for many users
Posted: 24. Sep 2010, 10:36
by witek
Hi,
I run a small network of desktop computers in my company based on Slackware12 and KDE3. I`m thinking about migration to Salix. However there are issues I have to solve:
1. the users of KDE3 got used to ability of locking session and starting another session from Kde display manager (I mean by clicking mouse not using console). Is that possible in XFCE?
2. When one is trying to log out from XFCE there are options to Suspend and Hibernate. I would like ordinary users to be unable to hibernate or shuttdown machines. Where to change these settings?
3. Is there a clickable user selector with faces (as in KDM or GDM) for XFCE?
Maybe LXDE versions has the above abilities in some extent? Or maybe I should just install KDM?
Re: Salix/XFCE as environment for many users
Posted: 24. Sep 2010, 10:48
by gapan
witek wrote:1. the users of KDE3 got used to ability of locking session and starting another session from Kde display manager (I mean by clicking mouse not using console). Is that possible in XFCE?
There is a "New login" option in the System menu. I think that does exactly what you want.
witek wrote:2. When one is trying to log out from XFCE there are options to Suspend and Hibernate. I would like ordinary users to be unable to hibernate or shuttdown machines. Where to change these settings?
I think removing the users from the "power" group should be enough. Or go to Settings > Settings Manager > Sessions and Startup > General and disable the confirmation dialog.
witek wrote:3. Is there a clickable user selector with faces (as in KDM or GDM) for XFCE?
Salix uses gdm anyway, so if you use a gdm theme with a face selector it should work.
witek wrote:Maybe LXDE versions has the above abilities in some extent? Or maybe I should just install KDM?
It should be the same with LXDE.
Re: Salix/XFCE as environment for many users
Posted: 24. Sep 2010, 10:56
by gapan
I just found these too:
To remove the suspend button:
Code: Select all
xfconf-query -c xfce4-session -np '/shutdown/ShowSuspend' -t 'bool' -s 'false'
To remove the hibernate button:
Code: Select all
xfconf-query -c xfce4-session -np '/shutdown/ShowHibernate' -t 'bool' -s 'false'
Re: Salix/XFCE as environment for many users
Posted: 24. Sep 2010, 10:57
by witek
gapan wrote:
There is a "New login" option in the System menu. I think that does exactly what you want.
Thanks a lot for the answer. I cannot test now so please clarify if a user can lock his session and safely leave his place then return and re-login? Can another person start his own session while machine is locked?
Re: Salix/XFCE as environment for many users
Posted: 24. Sep 2010, 11:02
by gapan
witek wrote:Thanks a lot for the answer. I cannot test now so please clarify if a user can lock his session and safely leave his place then return and re-login? Can another person start his own session while machine is locked?
Yes on both.
Re: Salix/XFCE as environment for many users
Posted: 24. Sep 2010, 20:02
by witek
gapan wrote:
Salix uses gdm anyway, so if you use a gdm theme with a face selector it should work.
There`s a bug or something as I chose a theme with face selector and it wouldn`t work. Could anybody confirm or advise?
Re: Salix/XFCE as environment for many users
Posted: 17. Jun 2011, 13:54
by witek
Half a year passed and I luckily migrated my network to Salix13.1 and everything works great. There is one minor issue that bothers the people using it and they bother me
Namely:
When a person locks the screen and opens new session by clicking on "New Login" (which in fact is gdmflexiserver) it works nice: the current session is locked and a new GDM screen is open. Another person logs in but when he logs out then X returns not to GDM but to the locked screen of the previous session. The people are not keen to command line and don`t know how to start another X session manually. Thus the machine cannot be used anymore by others (only by the person who locked the screen).
Any idea how to make the X to return to GDM instead locked screen would be welcome (except teaching my employees commandline

)
Re: Salix/XFCE as environment for many users
Posted: 18. Jun 2011, 04:47
by zAchAry
Re: Salix/XFCE as environment for many users
Posted: 18. Jun 2011, 22:09
by witek
I think I won`t be looking back so I need a solution for the problem, please.
Re: Salix/XFCE as environment for many users
Posted: 18. Jun 2011, 23:11
by Shador
Create a script as such:
Code: Select all
#!/bin/sh
gdmflexiserver -s
gdmflexiserver -s
And add an entry for it into /usr/share/applications, which launches this script:
Code: Select all
[Desktop Entry]
Encoding=UTF-8
Name=New Login
Name[de]=Neu anmelden
Exec=/path/to/script
Icon=gdmflexiserver
Terminal=false
Type=Application
StartupNotify=true
I don't know how to remove the original "New login" menuentry though, as I don't know by what means it's added. Not through /usr/share/applications apparently. Maybe name yours differently like "New login (USE THIS!)".