little monkey

elstel.org

by Elws. Starnight

xchroot v2.7.5, new xauth mechanism / changing the user

Categoria: programs,
Origem: LinuxSW,
Língua: en,
Tipo:
update
.

There was a known issue with xchroot v2.7.4 under Mageia 8: When xchroot did change the user no X-connection could be made without a manual xhost +SI:localuser:»targetUser« or xhost +local:. This was because Mageia did not provide an xauth token that matched the hostname likely due to an invalid /etc/hostname file. Now xchroot can generate an xauth token for the target user if none should be provided at invocation. The xauth mechanism was completely rewritten. It shall now be more stable. If there is a stale lock on the Xauthority file which makes xchroot hang you can now press Ctrl-C to force the retraction of this lock and make xchroot succeed (Otherwise xauth will display an error message after a while if it gives up on getting the lock.). Only the xauth token for the target hostname and the target display will be passed on to the chroot environment unless --alldisplays is given. The chroot environment will always have an xauth token even if the user should issue an xhost -local: later on.




xchroot v2.7.4, donating for elstel.org

Categoria: programs,
Origem: LinuxSW,
Língua: en,
Tipo:
update
.

Xchroot v2.7.4 implements some important bugfixes towards v2.7. Due to an apparent regression in sudo, xchroot as user appears to have been temporarily broken. At first I thought it was one of the configuration issues merely pertinent to my own system like the ssh user being deleted from /etc/passwd or some removed execution right of a shared library or /etc/init.d file (I did already tell whom to thank.). However as it seems this was in deed a regression of sudo. Can now be fixed by executing xchroot inst-root-sudo. The new and buggy mirrtmp behaviour of v2.7 has been temporarily undone defaulting to mntmp as before. Mounting of /etc/resolv.conf may be needed for internet access, mounting /boot/efi for installing the bootloader and initctl may help for systemctl suspend. new feature: minimal chroots featuring only a busybox: see 'how to create a chroot', last example.

If you wanna support the work for xchroot, any other of our programs, if you want more content translated into your own language or if you like new content you may donate. You have now the possibility to donate via bank transfer with IBAN/BIC, a way that shall always work for everyone. This is important if you like this web page since at the moment I can not even pay for the hosting costs from what I get. Visit the Contact page also linked from xchroot/#downloads to see more. Support is free and if an email should get lost, I do now also have a landline phone number for you.




xchroot v2.7 - entire X-sessions in chroot

Categoria: programs,
Origem: LinuxSW,
Língua: en,
Tipo:
update
.
xchroot v2.7 starts an own dbus session for the target user by default as many applications expect and as desktop environments like Xfce, Gnome or KDE require. Desktop file creation has been improved and is also used for exporting X-sessions like KDE or Gnome out of a chroot. Chroot escapes now do also work if an intermediately run program has closed the file descriptors so that you can also use it for desktop sessions. Another new feature is that xchroot can now also be used for merely switching the user with maintained X-access where no chroot is performed. This may be useful if you want to run your favourite browser cleanly separated with two different bookmark/history/other settings at the same time. The documentation about audio and user support as well as the intro has also been updated. /tmp mirroring has been made more secure by only exporting /tmp/.X11-unix by default. The old, possibly more compatible behaviour can be achieved with --on mirrtmp or permanently by adding mirrtmp to the MNTON variable definition at the beginning of the xchroot script. If multiple chroots to the same root and user occur, then the XAUTH-cookies for all chroots will now be merged into one file.



xchroot v2.6 / situação em elstel.org

Categoria: general, programs,
Origem: info, LinuxSW,
Língua: pt,
Tipo:
update
.

É um longo caminho desde xchroot v2.5.3. No ano passado, tive que interromper o desenvolvimento porque os serviços secretos não me permitiram continuar. Eu pude atribuir uma variável em uma linha e ela não teria o valor atribuído na próxima linha e isso off-line. Felizmente hoje não tive problemas com o xchroot. No entanto o desenvolvimento de a̅tea permanece problemático e pelo menos parcialmente inhibido. Muito pior não há como continuar o desenvolvimento do meu solucionador de SAT, DualSat. Publicar as mensagens normais de notícias aqui no boletim informativo rss também se tornou cada vez mais dificil. Entretanto preciso escrever a grande maioria das mensagens off-line. Alguns foram escritos em papel apenas com dicionários de brochura. No entanto, é um grande alívio ver sugestões de translate.google.com para espanhol e português que eu ainda poderia fazer com meu tablet. Pouco antes da COP26, os navegadores Firefox, Google Chrome e Falkon foram desativados no meu computador online para ameaçar-me. Atualmente estou usando Epiphany e Midori. Eu já temia que grande parte da web permanecesse inaccessível para mim, pois inicialmente não conhecia nenhum navegador gráfico alternativo com Javascript.

new features: escape from a chroot environment into the original root if not disabled, better desktop shortcut creation for chroot programs, many many bugfixes including mount mirroring: Since v2.5 it can automatically mount directories f.i. under /media directly into the chroot. View the first lines of the xchroot executable with less or a text editor to see the full changelog.




xchroot v2.5.3 - some important bugfixes

Categoria: programs,
Origem: LinuxSW,
Língua: en,
Tipo:
update
.
BugFixes towards v2.5: The user management was broken as we forgot to change $OPTARG into $optarg. xchroot can now be run directly as user without openroot macro. createstartup now also works for Xfce and other desktop environments, not only for Xfce. Unmounting on exit has been improved and should work correctly in all cases. You may now run a program like /dst/deb32/bin/hostname directly also if /dst instead of /dst/deb32 is a sudoers praefix. Alas we could not fully test this new version because our offline computer is under attack from western secret services. That is why we would highly estimate contributions/bugfixes by users. The program is already GPLv3.