Operating System - HP-UX
1834619 Members
3128 Online
110069 Solutions
New Discussion

Re: Stop users changing from GNOME to CDE

 
kapra
Advisor

Stop users changing from GNOME to CDE

Dear Gurus,

Recently we have decided to have GNOME desktop on our HP machines and have thus installed GNOME... works well.
Have also changed the default desktop to GNOME
\etc\rc.config.d\desktop -> desktop=GNOME.
Now my question is, how do we prevent users from changing it back to CDE??? At gnome login prompt you have option where you can select your session and some of our users are selecting CDE.. anyway to stop them ???
Much appreciated in advance.

- Sumeet.
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: Stop users changing from GNOME to CDE

Shalom kapra,

I'm somewhat surprised. Once the DESKTOP is set to GNOME I don't recal a way to set it to CDE at the user level.

You could of course uninstall the CDE software, if you are REALLY sure you never want the environment.

./rc.config.d/cde
./rc.config.d/desktop

I think if the first file was missing you might disable CDE login.

SEP

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Geoff Wild
Honored Contributor

Re: Stop users changing from GNOME to CDE

Remove cde would be the sure way:

swremove CDE

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Alex Glennie
Honored Contributor

Re: Stop users changing from GNOME to CDE

As root

cd /opt/gnome/bin/gdmconfig

options -> expert

Login sessions ....

should see a list eg

CDE
Gnome
Xsession

Select CDE -> Remove. .... worked for me a few seconds ago and easier than removing CDE altogether