Salix/XFCE as environment for many users

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
witek
Posts: 233
Joined: 16. Nov 2009, 13:41
Location: Poland.Łódź

Salix/XFCE as environment for many users

Post 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?
User avatar
gapan
Salix Wizard
Posts: 6368
Joined: 6. Jun 2009, 17:40

Re: Salix/XFCE as environment for many users

Post 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.
Image
Image
User avatar
gapan
Salix Wizard
Posts: 6368
Joined: 6. Jun 2009, 17:40

Re: Salix/XFCE as environment for many users

Post 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'
Image
Image
User avatar
witek
Posts: 233
Joined: 16. Nov 2009, 13:41
Location: Poland.Łódź

Re: Salix/XFCE as environment for many users

Post 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?
User avatar
gapan
Salix Wizard
Posts: 6368
Joined: 6. Jun 2009, 17:40

Re: Salix/XFCE as environment for many users

Post 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.
Image
Image
User avatar
witek
Posts: 233
Joined: 16. Nov 2009, 13:41
Location: Poland.Łódź

Re: Salix/XFCE as environment for many users

Post 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?
User avatar
witek
Posts: 233
Joined: 16. Nov 2009, 13:41
Location: Poland.Łódź

Re: Salix/XFCE as environment for many users

Post 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 ;) )
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: Salix/XFCE as environment for many users

Post by zAchAry »

A side note about KDE 3: Trinity Desktop Environment
Image
Help to make Slackware easier Donate to Salix
User avatar
witek
Posts: 233
Joined: 16. Nov 2009, 13:41
Location: Poland.Łódź

Re: Salix/XFCE as environment for many users

Post by witek »

zAchAry wrote:A side note about KDE 3: Trinity Desktop Environment
I think I won`t be looking back so I need a solution for the problem, please.
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: Salix/XFCE as environment for many users

Post 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!)".
Image
Post Reply