chroot question
jd1008
jd1008 at gmail.com
Wed Apr 22 18:14:54 UTC 2015
On 04/22/2015 12:58 AM, Cameron Simpson wrote:
> On 21Apr2015 20:47, jd1008 <jd1008 at gmail.com> wrote:
>> Now that chroot works, I am having a problem
>> with running gui apps.
>> For example running firefox, I get
>>
>> (process:10281): GLib-CRITICAL **: g_slice_set_config: assertion
>> 'sys_page_size == 0' failed
>> (firefox:10281): GnomeUI-WARNING **: While connecting to session
>> manager:
>> None of the authentication protocols specified are supported.
>
> No idea about these.
>
>> (firefox:10281): Pango-WARNING **: failed to choose a font, expect
>> ugly output. engine-type='PangoRenderFc', script='common'
>> bash-4.3$
>> (crashreporter:10321): Pango-WARNING **: failed to choose a font,
>> expect ugly output. engine-type='PangoRenderFc', script='common'
>> (crashreporter:10321): Pango-WARNING **: failed to choose a font,
>> >expect ugly output. engine-type='PangoRenderFc', script='latin'
>>
>> What am I missing???
>
> Presumably font directories. From /usr/X11, /usr/share/X11
> /usr/lib/something? Not sure where. /usr/share/fonts,
> /usr/X11/share/fonts?
>
> I would "strace -f -e trace=file -o strace.out" your firefox process,
> see where it goes looking for things.
>
Now that I have it working, I notice that the effective uid and
effective gid of user2 are 0.
What a hole !!!
I modified a copy of chroot to set the effective uid and gid to those of
user2,
but still, it does not seem to change them.
More information about the users
mailing list