You are not logged in.
Pages: 1
I created an rtorrent daemon like explained in the rtorrent wiki article
I can attach with ssh -t rtorrent@192.168.1.10 'screen -r'
but if I'm already ssh'd in:
#screen -r
There is no screen to be resumed.
#screen -list
No Sockets found in /tmp/screens/S-root.
Offline
log in as the rtorrent user, not root...
Offline
that works, but
su rtorrent
screen -r
Cannot open your terminal '/dev/pts/1' - please check.
does not.
Any way to get in there? I usually login as a user that isn't rtorrent.
Offline
This is one of those RTFM situations. Since I've never been graced with such an opportunity before, I'm going to take this now. So tladuke, RTFM! (man screen to be exact.)
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
You should also NOT have root login enabled over ssh. It's just asking to get your system taken over.
[git] | [AURpkgs] | [arch-games]
Offline
Sorry, guys; The man page is huge and I have no idea what I'm looking for.
Offline
Start with the options you know:
-r [pid.tty.host]
-r sessionowner/[pid.tty.host]
resumes a detached screen session. No other options (except combina‐
tions with -d/-D) may be specified, though an optional prefix of
[pid.]tty.host may be needed to distinguish between multiple detached
screen sessions. The second form is used to connect to another user's
screen session which runs in multiuser mode. This indicates that screen
should look for sessions in another user's directory. This requires
setuid-root.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
does it not having a tty have anything to do with it?
$ screen -ls
There is a screen on:
3992..ht-ion (Detached)
1 Socket in /tmp/screens/S-rtorrent.
I can't get it
Offline
What does "ls -l /dev/pts/ show? How do you start that screen?
-edit-
It's "su rtorrent" which breaks things. Login directly as rtorrent and it will work.
Last edited by lucke (2009-11-16 02:27:37)
Offline
Pages: 1