Operating System - HP-UX
1831349 Members
3001 Online
110024 Solutions
New Discussion

How to disable the CDE front panel?

 
Joshua Goi
Frequent Advisor

How to disable the CDE front panel?

Hi all,

How can I disable or hide the CDE front panel for a particular user?

Thanks!
3 REPLIES 3
Florian Heigl (new acc)
Honored Contributor

Re: How to disable the CDE front panel?

How do You want him to logout without it?
You can add or remove ressources from the cde menues, but You'll have to search it from the manuals.
(last time i did that was in '99 :)

I don't even find a reasonable manual - at least Sun has a CDE Administrators Reference or something like that.

yesterday I stood at the edge. Today I'm one step ahead.
Alex Glennie
Honored Contributor

Re: How to disable the CDE front panel?

from man dtwm -> useFrontPanel (class UseFrontPanel)
This resource enables the display of the front panel if
True. If set to False, the Front Panel will not be
displayed. The default value is True.

so vi $HOME/.Xresources

dtwm*UseFrontPanel : False
should do the trick, you'll need to bounce dtlogin.

or on the fly try a key combination


RolandH
Honored Contributor

Re: How to disable the CDE front panel?

Do you want to deny login for particular users in CDE ?

This is the way to do:

1. Copy /usr/dt/config/Xstartup to /etc/dt/config/Xstartup

2. Add this lines at the end of the file
if [ "$USER" = "tiger" ]
then
/usr/dt/bin/dtaction -user $USER ExitSession
fi

3. /usr/dt/bin/dtconfig -reset
Rereads Config

Thats it !!

If you want host based access then copy /usr/dt/config/Xaccess to /etc/dt/config/Xaccess

and read the instructions in the file what to do.

Roland

Sometimes you lose and sometimes the others win