[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using command line '-X' to send commands to multiuser session
From: |
Steve Scrimpshire |
Subject: |
Re: Using command line '-X' to send commands to multiuser session |
Date: |
Sat, 15 Apr 2006 22:36:59 -0500 |
On Fri, 14 Apr 2006 23:14:52 -0500
Steve Scrimpshire <address@hidden> wrote:
> 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
Actually, I had forgotten that something made it not work the way I suggest up
there. I had to create a file (or maybe I edited an already existing
one...tired...lol) in /etc/profile.d that I called screen.sh and it looked like
this:
#!/bin/sh
# /etc/profile.d/screen.sh
if [ -z "$SCREENDIR" ]; then
export SCREENDIR=$HOME/tmp
fi
Steve