[lxc-users] color in console not working in unprivileged containers

david.andel at bli.uzh.ch david.andel at bli.uzh.ch
Sat Mar 21 10:46:28 UTC 2015


 The colors also work when logging in with ssh.
Only with lxc-console they do not work.


-----"lxc-users" <lxc-users-bounces at lists.linuxcontainers.org> wrote: -----
To: LXC users mailing-list <lxc-users at lists.linuxcontainers.org>
From: david.andel at bli.uzh.ch
Sent by: "lxc-users" 
Date: 03/20/2015 20:30
Subject: Re: [lxc-users] color in console not working in unprivileged	containers

 Thanks Xavier,
unfortunately, this is not the issue.
The colors work out of the box when I access the container using lxc-attach, but they do not work when I access the container using lxc-console - not even using --color=auto.
And I see the same behavior on two independent systems (both running utopic with the same lxc version).

David

-----"lxc-users" <lxc-users-bounces at lists.linuxcontainers.org> wrote: -----
To: lxc-users at lists.linuxcontainers.org
From: Xavier Gendre 
Sent by: "lxc-users" 
Date: 03/19/2015 1:35
Subject: Re: [lxc-users] color in console not working in unprivileged        containers

Maybe, this is because the colors are simply not enabled... Try 'ls 
--color=auto' in your container. If the colors are back, then tweak your 
.bashrc to enable them permanently.

Xavier

Le 18/03/2015 22:30, david.andel at bli.uzh.ch a écrit :
> Hi,
> in unprivileged containers color in the console does not work out of the
> box.
> How can it be enabled?
>
> I am running ubuntu utopic with lxc 1.1.0~alpha2-0ubuntu3.2.
>
> Thanks,
> David
>
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
_______________________________________________
lxc-users mailing list
lxc-users at lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users
 
_______________________________________________
lxc-users mailing list
lxc-users at lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150321/8f4963aa/attachment.html>


More information about the lxc-users mailing list