당신은 SCREENDIR
환경 변수를 /var/run/screen
. 그러면 목록을 작성하고 연결할 수 있어야합니다.
가정 sh
호환 쉘 :
export SCREENDIR="/var/run/screen"
에서 man 1 screen
ENVIRONMENT
COLUMNS Number of columns on the terminal (overrides termcap entry).
HOME Directory in which to look for .screenrc.
LINES Number of lines on the terminal (overrides termcap entry).
LOCKPRG Screen lock program.
NETHACKOPTIONS Turns on nethack option.
PATH Used for locating programs to run.
SCREENCAP For customizing a terminal's TERMCAP value.
SCREENDIR Alternate socket directory.
SCREENRC Alternate user screenrc file.
SHELL Default shell program for opening windows (default "/bin/sh").
STY Alternate socket name.
SYSSCREENRC Alternate system screenrc file.
TERM Terminal name.
TERMCAP Terminal description.
WINDOW Window number of a window (at creation time).