Good morning, thank you very much for the help of the attached document. You can tell me how it's done with systemd in debian 8.3 Thank you very much, Robert. Como ejecutar otro proceso login en un terminal virtual diferente, donde poder entrar en el chroot de forma directa. Y ejecutar X y GNOME en su chroot. En Debian 8 con systemd 3. Establishing access or login Run chroot / sid / it is simple, but maintains all kinds of environment variables around you may not want, and some other things. A much better approach is to run another login process on a virtual terminal different, where you can enter the chroot directly. 1. In the main system, edit the / etc / inittab, searching and modifying the following lines: # Note that most Debian tty7 systems used for the system # X window (X Windows System). If desired, therefore, add more access # In text mode (FIXME gettys) keep adding lines like this but # Skip the tty7 if you run X. # 1: 2345: respawn: / sbin / getty 38400 tty1 2: 23: respawn: / sbin / getty 38400 tty2 3: 23: respawn: / sbin / getty 38400 tty3 4: 23: respawn: / sbin / getty 38400 tty4 5: 23: respawn: / sbin / getty 38400 tty5 6: 23: respawn: / sbin / getty 38400 tty6 2. Now, add a line similar to the following: 8: 23: respawn: chroot / sid / / sbin / getty 38400 tty8 "8" refers to the end in which the new access (login) will run. You can choose another if you desired. 3. Restart init: init q 4Installation a system Debian chroot 4. Configuring gdm Would you like to run X and GNOME in your chroot? It's totally possible! The following example will make GDM run in the virtual terminal 8; You should select another (such as 9) if you have already configured to run on vt8 login in example above. Below you are what to do: 1. (enter your chroot, either chroot / sid / or login previously configured) apt-get install gnome gdm x-window-system 2. Copy your / etc / X11 / XF86Config-4 from the host to chroot environment, such as: cp / etc / X11 / XF86Config-4 / sid / etc / X11 / XF86Config-4 3. Then enter the chroot again and edit the file /etc/gdm/gdm.conf within it. Scroll down to the [servers] section. You will see a line like: 0 = Standard vt7 Change that line to: 0 = Standard vt8 Again, substitute 8 virtual terminal you want instead of "8". 4. And, still in the chroot, run: /etc/init.d/gdm start Now you can switch between your chroot environment X and X environment your main system simply switching Tando as you would in Linux virtual terminals; for example, using Ctrl + Alt + F7 and Ctrl + Alt + F8. Diviér- tase!
Description: Adobe PDF document