[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Jailkit-users] RE: How to launch a xterm into the jail (FOUCHECOURT FRE

Subject: [Jailkit-users] RE: How to launch a xterm into the jail (FOUCHECOURT FREDERIC)
Date: Wed, 14 Mar 2007 10:32:53 +0100


Sorry but I have not succeed to resolve my trouble with xterm in a jail

When I try to launch xterm, I have the following error message :
address@hidden dev]$ xterm&
[1] 17310
address@hidden dev]$ Warning: locale not supported by Xlib, locale set to
Warning: X locale modifiers not supported, using default
xterm: Error 32, errno 2: No such file or directory
Reason: get_pty: not enough ptys

I have searched on google some solutions about "not enough ptys", so I
have mount /dev in /home/jail/dev to have exactly the same repository.
mount -o bind /dev /home/jail/dev/

address@hidden dev]# \ls
arpd       hw_random  loop7    md14  md26  mem       pts    ram5
sda1    tap0   tap7     tty16  tty28  tty4   tty51  tty63    usersock
cdrom      initctl    lp0      md15  md27  mice      ram    ram6
sda2    tap1   tap8     tty17  tty29  tty40  tty52  tty7     vcs
cdwriter   input      lp1      md16  md28  mouse0    ram0   ram7
sda3    tap10  tap9     tty18  tty3   tty41  tty53  tty8     vcs1
console    ip6_fw     lp2      md17  md29  net       ram1   ram8
sda4    tap11  tcpdiag  tty19  tty30  tty42  tty54  tty9     vcs2
core       kmsg       lp3      md18  md3   nflog     ram10  ram9
sda5    tap12  tty      tty2   tty31  tty43  tty55  ttyS0    vcs3
disk       log        MAKEDEV  md19  md30  null      ram11  ramdisk
sda6    tap13  tty0     tty20  tty32  tty44  tty56  ttyS1    vcs4
dnrtmsg    loop0      mapper   md2   md31  parport0  ram12  random   shm
tap14  tty1     tty21  tty33  tty45  tty57  ttyS2    vcs5
dvd        loop1      md0      md20  md4   parport1  ram13  rawctl
skip    tap15  tty10    tty22  tty34  tty46  tty58  ttyS3    vcs6
event0     loop2      md1      md21  md5   parport2  ram14  root     snd
tap2   tty11    tty23  tty35  tty47  tty59  ttyS4    vcsa
fd         loop3      md10     md22  md6   parport3  ram15  route
stderr  tap3   tty12    tty24  tty36  tty48  tty6   ttyS5    vcsa1
full       loop4      md11     md23  md7   port      ram2   route6
stdin   tap4   tty13    tty25  tty37  tty49  tty60  ttyS6    vcsa2
fwmonitor  loop5      md12     md24  md8   ppp       ram3   rtc
stdout  tap5   tty14    tty26  tty38  tty5   tty61  ttyS7    vcsa3
hda        loop6      md13     md25  md9   ptmx      ram4   sda
systty  tap6   tty15    tty27  tty39  tty50  tty62  urandom  vcsa4
address@hidden dev]# pwd

I try to launch xterm and ... I obtain the same message.
Then I changed may /etc/fstab file to add the following line :
none                    /home/jail/dev/pts      devpts  gid=5,mode=620
0 0

Then, I enter the following command :
mount -a

I try to launch xterm and ... I obtain the same message. :-(

Anyone can help me ?

Regards, Fred

reply via email to

[Prev in Thread] Current Thread [Next in Thread]