Re: Banner for CDE

From: Richard L. Hamilton (Richard.L.Hamilton_at_mindwarp.smart.net)
Date: 06/18/04


Date: Thu, 17 Jun 2004 23:34:34 -0000

In article <0fr1d0dd8okb0n61eg18codm5v4sfir7tt@4ax.com>,
        asdf@verizon.net writes:
> Just wondering if anyone knows how to put a banner on the CDE desktop.
>
> I need it to start at login for the user, be located at the top of the
> sceen, in the middle.
>
> I'm going to put it on our company computers and have it say company
> proprietary .. so it has to be in the middle of the screen at the top
> plus have the "always on top" element. Finally it cant be closed by a
> users.
>
> Pretty much alot of stuff, hopefully I described what i'm looking for
> ok.
>
> Please post responses to the newsgroup, that way if anyone (not that
> anyone else would) needs this type of banner they can reference it.

If you just want something that appears during login you can create
an (executable?) file in /etc/dt/config/Xsession.d containing a line like

dtstart_hello[0]="/usr/dt/bin/dthello -file /etc/motd &"

(see dthello man page for more info)

If you want something that stays for the entire session, you need to write
a program that behaves as you want (could be in some GUI-capable scripting
language, as long as that's capable of providing the always-on-top
behavior) and is started from another file in that same directory, or, if
it needs to run as root (so the user can't kill it to avoid the stupid
obnoxious thing), from /etc/dt/config/Xstartup (see dtlogin(1).

No, I don't have further details, examples, etc., and don't wish to do your
work for you, so don't ask me.

-- 
mailto:rlhamil@smart.net  http://www.smart.net/~rlhamil


Relevant Pages

  • Re: Banner for CDE
    ... > Just wondering if anyone knows how to put a banner on the CDE desktop. ... > I need it to start at login for the user, be located at the top of the ... > I'm going to put it on our company computers and have it say company ...
    (comp.unix.solaris)
  • Banner for CDE
    ... Just wondering if anyone knows how to put a banner on the CDE desktop. ... I need it to start at login for the user, be located at the top of the ... I'm going to put it on our company computers and have it say company ...
    (comp.unix.solaris)
  • Re: Banner for CDE
    ... > Just wondering if anyone knows how to put a banner on the CDE desktop. ... > I need it to start at login for the user, be located at the top of the ... > I'm going to put it on our company computers and have it say company ... Dtlogin*greeting.labelString: Welcome to %LocalHost% ...
    (comp.unix.solaris)
  • Re: Use of /etc/issue and /etc/issue.net
    ... connecting to my system via SSH or via a Text mode login and ... /etc/issue.net, instead, is used to display a message during ... I have not known issue to be used as a remote pre-login banner for ssh. ...
    (comp.os.linux.misc)
  • Re: consent to monitoring banner for ssh
    ... The new policy, however, requires that the user has to somehow signify ... Put it in the sshd.conf the option to use a login banner and create the ... So, put in a blurb that says in effect "if you log in, you consent to ...
    (RedHat)