> From sun-managers-request Tue Jun 4 13:31 CDT 1996
> >Received: from ra.mcs.anl.gov (ra.mcs.anl.gov [140.221.4.26]) by cedar.mr.net
(8.7.3/8.7.3) with ESMTP id NAA29487 for <sun-managers@svmail.supervalu.com>;
Tue, 4 Jun 1996 13:18:12 -0500 (CDT)
> Date: Tue, 04 Jun 1996 12:56:40 -0500
> From: Roddy McColl <roddy@visual-ra.swmed.edu>
> Subject: Solaris 2.4 with xdm -- problems with menus
> To: sun-managers@ra.mcs.anl.gov
> Content-Transfer-Encoding: 7BIT
>
>
> I have set up xdm to start in rc3.d. I find that this causes a number
> of menu items (in /usr/openwin/lib/openwin-menu-xxx) to no longer work
> correctly. An example is xlock. I can run it from the command line and
> it works fine, but not from the menu. This must be an ownership
> problem. Does anyone know of a fix? All of the menus which I have
> create in my $HOME also suffer the same fate. I think the problem is
> that the desktop has not inherited my environment. I essentially need
> to "login" to the window system so that it inherits my
> environment. Any suggestions?
>
Thanks to the following for their advice :-
Justin Young <justiny@cluster.engr.subr.edu>
djohnson@ms3.dseg.ti.com (Danny Johnson 0172547)
crowlem@suns10.tx.boeing.com (Mark Crowley)
weber@ash.crd.ge.com (Markus Weber)
hxktb0@svho1ds_1.supervalu.com (Kris Briscoe)
Kenneth Simpson <chaos@best.com>
george@biomed.abdn.ac.uk
George Cameron had the right answer. viz
I think it's becaues it needs an interactive terminal attached so it has
access to the keyboard and mouse. If you use something like:
"Lock Screen" exec xterm -name XLock -iconic -e xlock
I think you might find it works.
I added this to my home menu and it works fine. In addition, I need to
add some well-known paths to the Xsession file unless I must expect
to provide full path names in all my menus etc etc.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Roddy McColl PhD
Assistant Professor of Radiology
Radiology Imaging Center
UT Southwestern Medical Center at Dallas
5323 Harry Hines Blvd
Dallas TX 75235-9058
(214) 648-2910
(214) 648-4538 FAX roddy@mri.swmed.edu
http://www-mri.swmed.edu/homes/roddy.html
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:01 CDT