[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Jailkit-users] RE: How to launch a xtermintothejail (FOUCHECOURT FR
From: |
Olivier Sessink |
Subject: |
Re: [Jailkit-users] RE: How to launch a xtermintothejail (FOUCHECOURT FREDERIC) |
Date: |
Mon, 19 Mar 2007 23:07:08 +0100 |
User-agent: |
Icedove 1.5.0.9 (X11/20061220) |
FOUCHECOURT FREDERIC wrote:
> Hi,
>
> I have succeed to open a X11 windows with xterm and rxvt.
> The problem was linked with the X server in the jail.
>
> In /home/jail/usr/X11R6/lib/X11/locale, I have changed the right of the
> 3 following files from
>
> -r--r--r-- 1 root root 24608 Sep 6 2006 compose.dir
> -r--r--r-- 1 root root 57819 Sep 6 2006 locale.alias
> -r--r--r-- 1 root root 30443 Sep 6 2006 locale.dir
>
> To
>
> -rw-rw-rw- 1 root root 24608 Sep 6 2006 compose.dir
> -rw-rw-rw- 1 root root 57819 Sep 6 2006 locale.alias
> -rw-rw-rw- 1 root root 30443 Sep 6 2006 locale.dir
> And windows appears...
very weird... and, since you made the files world writable, are the
files actually changed?
> *Unfortunately*, when I launch an xterm the following error message
> appears in the xterm :
> "xterm: Could not exec /usr/sbin/jk_chrootsh: No such file or directory"
> and the X11 windows is closed after 2 or 3 second.
try `xterm -e /bin/bash`
it happens because jk_chrootsh is your shell. However, what is the shell
in your jail in <jail>/etc/passwd ?
if you are running nscd you can stop it and see if that solves the
problem. (if xterm asks nscd for the shell to use it will return the
shell in the real /etc/passwd, which is jk_chrootsh and not a real
shell. If xterm cannot use nscd it will look in <jail>/etc/passwd for
your shell)
> address@hidden etc]# jk_cp /home/jail /usr/sbin/jk_chrootsh
jk_chrootsh is not a normal shell, it does a chroot() call and executes
your real shell. So you do not need in inside your jail, and it is not
useful inside a jail either.
`man jk_chrootsh`
regards,
Olivier
- Re: [Jailkit-users] RE: How to launch a xterm into the jail (FOUCHECOURT FREDERIC), (continued)
- Message not available
- Re: [Jailkit-users] RE: How to launch a xterm into the jail (FOUCHECOURT FREDERIC), Olivier Sessink, 2007/03/14
- RE: [Jailkit-users] RE: How to launch a xterm into the jail (FOUCHECOURT FREDERIC), FOUCHECOURT FREDERIC, 2007/03/14
- Re: [Jailkit-users] RE: How to launch a xterm into the jail (FOUCHECOURT FREDERIC), Olivier Sessink, 2007/03/14
- [Jailkit-users] RE: How to launch a xterm into thejail (FOUCHECOURT FREDERIC), FOUCHECOURT FREDERIC, 2007/03/15
- Re: [Jailkit-users] RE: How to launch a xterm into thejail (FOUCHECOURT FREDERIC), Olivier Sessink, 2007/03/15
- [Jailkit-users] RE: How to launch a xterm into thejail (FOUCHECOURT FREDERIC), FOUCHECOURT FREDERIC, 2007/03/16
- Re: [Jailkit-users] RE: How to launch a xterm into thejail (FOUCHECOURT FREDERIC), Olivier Sessink, 2007/03/17
- Re: [Jailkit-users] RE: How to launch a xterm into thejail (FOUCHECOURT FREDERIC), Peter Veerman, 2007/03/17
- RE: [Jailkit-users] RE: How to launch a xterm intothejail (FOUCHECOURT FREDERIC), FOUCHECOURT FREDERIC, 2007/03/19
- [Jailkit-users] RE: How to launch a xtermintothejail (FOUCHECOURT FREDERIC), FOUCHECOURT FREDERIC, 2007/03/19
- Re: [Jailkit-users] RE: How to launch a xtermintothejail (FOUCHECOURT FREDERIC),
Olivier Sessink <=
- [Jailkit-users] RE: How to launch a xtermintothejail (FOUCHECOURTFREDERIC), FOUCHECOURT FREDERIC, 2007/03/20
- Re: [Jailkit-users] RE: How to launch a xtermintothejail (FOUCHECOURTFREDERIC), Olivier Sessink, 2007/03/20
- [Jailkit-users] RE: How to launch a xterm into the jail (FOUCHECOURTFREDERIC), FOUCHECOURT FREDERIC, 2007/03/21
- Message not available
- Re: [Jailkit-users] RE: How to launch a xterm into the jail (FOUCHECOURTFREDERIC), Olivier Sessink, 2007/03/21
- Message not available
- [Jailkit-users] RE: How to launch a xterm into the jail (FOUCHECOURTFREDERIC), FOUCHECOURT FREDERIC, 2007/03/21
- Re: [Jailkit-users] RE: How to launch a xterm into the jail (FOUCHECOURTFREDERIC), Olivier Sessink, 2007/03/21
- [Jailkit-users] RE: How to launch a xterm into the jail (FOUCHECOURTFREDERIC), FOUCHECOURT FREDERIC, 2007/03/22