Skip to content
Advertisement

Tag: chroot

dlopen fails in chroot

I’m attempting this: I have an environment defined in /chroot/debian6.0/ where I have bound some directories and created other ones. One is libs/ which contains the library libOne.so and its dependencies So: This library has been compiled in the chroot environment, and I want to open it with a process run from the containing environment. This is the code: remote.c

How to run linux without any DesktopEnvironment?

I have Manjaro installed on my system and for the Desktop Environment I have XFCE4 and for login manager LXDM everything works fine but when I try to change some of the lxdm-config option I can’t login to my user, the problem came from that I disable that option to shown the select session panel and after logout when I

Bash: executing commands from within a chroot and switch user

Im writing a script that should do this… I have tried this approach: This tries to execute the user switching and the script as a string command to bash…however what it does, is it “stops” after “su -” and doesnt execute the script. However, once I leave the “su -” environment, it does try to run startup.sh but of course,

Advertisement