Re: Using 'stuff' to send characters from one account to a second account's session

Lars Noodén <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <[email protected]>
On 09/24/2012 08:38 PM, Chris Jones wrote:
> On Mon, Sep 24, 2012 at 12:03:16PM EDT, Lars Noodén wrote:
> 
> [..]
> 
>> I'm still getting the 'No screen sessions found' error.  Are you sure
>> that 'stuff' is being sent from a second user account.  If both
>> terminals are logged into the same account, 'stuff' works nicely.  If
>> they are both logged into separate accounts, then 'stuff' gives that
>> error even if multiuser otherwise works.
> 
> I vaguely suspected something like that - wasn't too sure what you meant
> by 'user account'.
> 
> Does 'screen -ls' (run from both accounts) list both screen sessions..?
> 
> If not, you may want to take a look at the $SCREENDIR environment
> variable (cf. man screen).
> 
> CJ

Yes, screen -ls works from both accounts to detect the
first user's session.  So it is proof that multiuser is working.  This
works from the second account to detect the first user's session:

	screen -S user1/myscrn -ls

Regards,
/Lars
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.