Begin forwarded message:
Date: Wed, 12 Apr 2006 22:15:12 -0500 From: Steve Scrimpshire <[EMAIL PROTECTED]> To: [email protected] Subject: Re: Using command line '-X' to send commands to multiuser session On Wed, 12 Apr 2006 18:58:37 -0700 Rod Nussbaumer <[EMAIL PROTECTED]> wrote: > Screen Gnurus: <<snip>> > Here is a simple example of what I mean... > > > $ screen -v > Screen version 4.00.02 (FAU) 5-Dec-03 > $ screen -S test01/ -list > There is a suitable screen on: > 21614.pts-88.edevel23pc (Multi, attached) > 1 Socket in /tmp/screens/S-test01. > > $ screen -S test01/21614 -x > [detached] > $ screen -S test01/21614 -X 'stuff ls -al' > Cannot opendir /tmp/screens/S-test01: Permission denied > > > > This sounds, on the surface, to be fairly easy to 'fix'. Any pointers? > Anyone already done this? > > --- rod. Disclaimer: I am no guru I ran into a similar problem when trying to create a menu item in fluxbox executing screen through Eterm: [exec] (Irssi) {Eterm -g 95x24+0+0 -x -0 --scrollbar=off --buttonbar 0 --trans --cmod 70 -c white -e screen -D -R} I tried everything to fix it. Then I did 'man screen' and discovered this: "... the user can specify any mode 700 directory in the environment variable $SCREENDIR." So, I created a directory in my home directory for my sockets: /home/omar/tmp mode 700 and edited my ~/.bashrc to include: export SCREENDIR=~/tmp -- Steve Scrimpshire ---------------------------- The average household contains 280 blank sheets of paper. (http://gullible.info) -- Steve Scrimpshire ---------------------------- Recent studies indicate that people who eat at least one serving of microwaved food per week are less likely to contract Parkinson*s disease. (http://gullible.info) _______________________________________________ screen-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/screen-users
