[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Jailkit-dev] screen session under jk_chroot
From: |
Olivier Sessink |
Subject: |
Re: [Jailkit-dev] screen session under jk_chroot |
Date: |
Tue, 09 Jun 2009 19:59:42 +0200 |
User-agent: |
Thunderbird 2.0.0.21 (X11/20090318) |
Piotr Wakuła wrote:
> Hello everybody !
>
> I'm trying to find out how to run screen session under jk_chroot ssh
> connection to my server. I've copied all needed programs from parent
> system to jk_chroot environment. When I try to start screen session, it
> shows me a message like this : Must be connected to a terminal.
I have done it before, and I know it is tricky. If I recall correctly
you need the /dev/pts or /dev/pty directory or something like that in
your jail. This can be done with a bind mount.
I found it with strace, check out
http://olivier.sessink.nl/jailkit/howtos_debug_jails.html
regards,
Olivier