Article View: comp.sys.next.programmer
Article #1928How to open a connection without PublicWindowServer set?
From: Bill Nixon
Date: Tue, 22 Dec 1992 01:17
Date: Tue, 22 Dec 1992 01:17
41 lines
1904 bytes
1904 bytes
I wrote a little application which allows me to pop up an alert panel on the Workspace from the command line, ala /usr/lib/NextPrinter/Inform. This works great as long as I am doing it from a Terminal Session I started. But, it does not work if I rlogin into the machine. I know about PublicWindowServer and DON'T want to turn it on for various reasons. I tried to su to root and do the same thing, but this doesn't even work. I mucked around and read in the loginwindow(8) man page that an application must be descended from either the Workspace or be a special system process such as the printer daemon. And yes, this seems to hold true. Now, how can I get around this? I want to write a one of the aforementioned special system processes that can write to the Workspace without Public Window Server being set but have no idea what the Workspace is looking for... Why do I want to do this? Well, I'd like to put up an panel on a machine when I am about reboot a machine remotely like this: rlogin machine su displaymsg "Message is going to reboot in 60 seconds" sleep 60 reboot Any pointers to help solve this problem would be greatly appreciated. Note that I am trying to do this under NeXTSTEP 3.0. Thanks! -- bnixon@fnma.com or ...!uunet!fnma.com!bnixon (NeXT Mail Okay) Bill Nixon, Senior Programmer Analyst, Advanced Technology, 2H-4S FannieMae, 3900 Wisconsin Ave NW, Washington, DC 22016 (202) 752-5468
Technical Details
Message-ID:
<1992Dec22.011725.10555@almserv.uucp>Path:
arc1-ca.pugleaf.net!sparky!uunet!almserv!bnixonShow Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin Path: arc1-ca.pugleaf.net!sparky!uunet!almserv!bnixon From: bnixon@fnma.com (Bill Nixon) Subject: How to open a connection without PublicWindowServer set? Message-ID: <1992Dec22.011725.10555@almserv.uucp> Followup-To: comp.sys.next.programmer Sender: usenet@almserv.uucp Nntp-Posting-Host: loki Organization: FannieMae, Washington, DC Date: Tue, 22 Dec 1992 01:17:25 GMT Lines: 41