Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    S D Rausty
    @sdrausty
    sdrausty/TermuxArch#59 installs on a smartphone, but most of the web browsers like konqueror and firefox do not work. Any idea why?
    Filippo Squillace
    @fsquillace
    Hey @sdrausty , this might be helpful fsquillace/junest#134
    PRoot development is no longer as it was before, there are several troubles suid is one of them.
    Konrad Klimek
    @wszystko_zajet_twitter
    Maybe I don't understand the basics of how JuNest works, but I have a problem.
    I know that to run JuNest I need to run junest -p "-k 3.10", but I want to run python script from host to execute in JuNest environment.
    The script looks like this:
    print("Start")
    import tensorflow as tf
    print("End")
    When I run command like this
    junest -p "-k 3.10 -r ".junest python test/tf.py""
    I only get "Start" output.
    Can somebody explain why?
    Mac Rong
    @rongtian
    4m!n3 bsb
    @AmineBsB92_twitter
    Hello 👋
    Filippo Squillace
    @fsquillace
    Hi!
    Morteza
    @Morteza38088918_twitter
    Hi
    junest -f -- pacman --noconfirm -Sy base-devel ttf-dejavu libxtst libcanberra gtk2
    after running this command, the following message is shown to me
    /home/user1/.local/share/junest/lib/core/proot.sh: line 25: /home/user1/.junest/etc/junest/info: No such file or directory
    how can I solve the error? please guide me.
    Filippo Squillace
    @fsquillace
    Hi @Morteza38088918_twitter
    [root@myarch junest]# ls -l /etc/junest/info 
    -rw-r--r-- 1 root root 19 Aug 10 00:20 /etc/junest/info
    I do have that file. I am not sure why you do not have it. Can you download the latest version of Junest?
    Filippo Squillace
    @fsquillace
    Otherwise just create a new file with the following content:
    [root@myarch junest]#  cat /etc/junest/info 
    JUNEST_ARCH=x86_64
    Morteza
    @Morteza38088918_twitter
    Hi @fsquillace
    Thanks for your replay
    I checked thing that you said
    The info file is existed and its content is as you shown
    the new message is:
    Warn: Proot is not properly working. Disabling SECCOMP and expect the application to run slowly in particular when it uses syscalls intensively.
    '''Try to use linux namespace instead as it is more reliable: junest -u'''
    when I run junest -u command, the following message is shown:
    Error: Nested JunNest environments are not allowed
    Filippo Squillace
    @fsquillace
    Maybe you are running junest -u inside junest session. Try to exit from junest first and then run junest -u. Also, consider that junest -u uses Linux User Namespace but some Linux distros do no have it enabled by default. AFAIK Ubuntu and Arch Linux have that enabled but old distros I do not think they have it.
    If it is not enabled you need to enable it via root privileges
    Morteza
    @Morteza38088918_twitter
    I am using ubuntu 18.04
    I am not in inside junest session
    image.png
    it shows the commands that I have run. Please see the picture above. If I am doing something wrong please let me know. Thanks
    Filippo Squillace
    @fsquillace
    From what I understand from your picture it looks like you are inside the junest session after running the first command junest -f. The prompt changes from $ to #.
    Morteza
    @Morteza38088918_twitter
    Aha. Thanks
    how can I exit from junest session. Excuse me for mistake. i am a new user
    Filippo Squillace
    @fsquillace
    just run exit.
    Morteza
    @Morteza38088918_twitter
    Thanks
    Filippo Squillace
    @fsquillace
    no probs
    Morteza
    @Morteza38088918_twitter
    image.png
    This is new problem.There is a conflict between sudo and fake sudo.
    please guide me to solve it. Thanks
    Filippo Squillace
    @fsquillace
    One thing to consider is that JuNest is a super minimal version of ArchLinux. Therefore, it requires knowledge about each specific packages you want to install. Sometimes you will need to specifically install dynamic libraries in order to make you application working correctly. The troubleshoot section in readme will be helpful.
    Morteza
    @Morteza38088918_twitter
    thanks
    Filippo Squillace
    @fsquillace
    Basically: pacman -S --ignore sudo base-devel and then ignore sudo installation because it conflicts with sudo-fake.
    Morteza
    @Morteza38088918_twitter
    Many thanks. It is working.
    Filippo Squillace
    @fsquillace
    @/all Hi all, I would like to ask for help about the issue fsquillace/junest#229 . Simply I need you guys to report which linux distros (and version) are you using which allows to have junest -u working out of the box. I need to know which distros have the Linux User namespace enabled by default.