Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 24th May 2008, 21:09
nicho12 nicho12 is offline
Junior Member
 
Join Date: May 2008
Posts: 7
Thanks: 0
Thanked 2 Times in 2 Posts
Default Chrooted SSH/SFTP Screen problems

Hello,
I followed the guide @ http://www.howtoforge.org/chroot_ssh_sftp_debian_etch

and setup a working chrooted shell/sftp

I managed to add some applications by adding them into the create_chroot_env script written there, and most of them worked fine. I had to copy some lib files to get some working.

However there is one essential application I need, screen.
I cannot get it to work on the chrooted shell.

The first error I had was something like:
Error: Must be connected to a terminal.

I somehow fixed this by mounting proc in the chroot dir and then I get the error:

Cannot open your terminal '/dev/pts/1' - please check.

I then mounted that also and it seemed to work and the screen window would open, but then I would get the error:
No More PTYs


If anyone could help me out I would be extremely greatful. It is pretty essential that screen is able to run in the chroot.

thanks
N
Reply With Quote
Sponsored Links
 

Bookmarks

Tags
chroot, debian, jail, no more pty, screen

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chrooted SSH/SFTP need help docean Installation/Configuration 5 18th March 2008 16:26
Chrooted SSH/SFTP FFEMTcJ HOWTO-Related Questions 1 17th March 2008 14:58
Management/system config/settings & /server/settings not working!! dactor Installation/Configuration 9 6th February 2008 09:11
Chrooted SSH/SFTP On Fedora 7 city HOWTO-Related Questions 4 16th November 2007 17:34
Empty Recycle Bin jon335 General 40 6th May 2006 11:56


All times are GMT +2. The time now is 21:33.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.