Skip to content

u/Exagone313

In this archive from May 2018 to Apr 2023

0
posts
34
comments
0
media
136
score

I use this unit file (in ~/.config/systemd/user/ssh-agent.service):

[Unit]
Description=SSH key agent

[Service]
Type=simple
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK -t 3M

[Install]
WantedBy=default.target

To use it: systemctl --user daemon-reload && systemctl --user enable --now ssh-agent

Don't forget to add export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket" in your shell config (or even in ~/.profile) and AddKeysToAgent yes in ~/.ssh/config.

1 points

If you can put your new install's drive in your other Linux machine, you can use steps to "install from Linux". For Linux Mint, it probably means using debootstrap. But you will have to do the install manually (creating partitions, formatting, installing bootloader, etc...), just like you are doing for installing Arch (debootstrap is pacstrap equivalent).

NB: Debian/Ubuntu and variants require the /boot partition not be the ESP, mount it on /boot/efi, and there are tools to copy the kernel inside the ESP on package upgrades. This is necessary for booloaders like systemd-boot.

1 points

Container does not mean a single thing on Linux, it uses a set of technology (mainly: namespaces for resource isolation and cgroups for quotas/limitations iirc).

Isolation can be different depending to your choices, you can have a container which runs a process that can access the GPU. You can also have it access X11 or a Wayland compositor running elsewhere to be able to create windows. But arguably allowing this creates a security risk.

Red Hat is pushing Flatpak to create containerized graphical applications, but you got also AppImage and probably other formats.

Also, one feature developed with Flatpak is to create a common API to request the access of resources to the end-user (a bit like Android), it uses DBus.

I need to mention that there is a Linux distribution that is (mainly?) container oriented (for end-users) called Fedora Silverblue.

5 points

How did you try WireGuard chaining? I think it works best using network namespaces. You create the interface in a namespace (where the packets will go through) then move it to a new network namespace (I don't remember how it's called).

2 points

Yes you can, the steps depend to your hypervisor though. I tried it once, with VirtualBox. There is a way to make a virtual hard drive that points to your physical one. Though I only tried with entire disks, not sure it works with partition. Also it was with MBR/bios (not GPT/EFI) and on Windows 7.

2 points

I don't think you have tried it then. I did. A USB flash drive is very slow to write anything, being USB 3 doesn't change that. A USB flash drive has a buffer cache which is fast and nonpersistent, then persistent memory is very slow to write on.

1 points

It's not, every app that writes to disk will be incredibly slow. Don't think of running a web browser for example.

You should consider using a USB HDD or SSD for this. It's not very expansive. I can confirm using a USB HDD works for most tasks since I have used some years ago.

-6 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.