trymeout

joined 1 year ago
 

On Ubuntu Server and Arch I was able to change the following line in /lib/systemd/system/[email protected]

# Before
ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear %I $TERM


# After
ExecStart=-/sbin/agetty --noissue --autologin john %I $TERM Type=idle

And it works, that it will login to the user john but when I logout of the user john with using exit in the terminal, it logs john back in. Is there a way to change this ExecStart setting to enable auto login for a user on startup but only on startup?

 

On Ubuntu Server and Arch I was able to change the following line in /lib/systemd/system/[email protected]

# Before
ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear %I $TERM


# After
ExecStart=-/sbin/agetty --noissue --autologin john %I $TERM Type=idle

And it works, that it will login to the user john but when I logout of the user john with using exit in the terminal, it logs john back in. Is there a way to change this ExecStart setting to enable auto login for a user on startup but only on startup?

 

When using dependencies such as NPM packages, Composer packages. Weather you use a CDN or host the packages on the web server, don't many packages out there require you to display the licenses of the package being used and show attributions?

How would one place this on their website? I even went to several websites to see how they do this and could not find a section and I am sure these website use packages that require the license to be listed and list the attributions.

I can find the licenses and attributions of packages used in many applications on desktop and mobile, usually in the apps "about" page.

 

When using dependencies such as NPM packages, Composer packages. Weather you use a CDN or host the packages on the web server, don't many packages out there require you to display the licenses of the package being used and show attributions?

How would one place this on their website? I even went to several websites to see how they do this and could not find a section and I am sure these website use packages that require the license to be listed and list the attributions.

I can find the licenses and attributions of packages used in many applications on desktop and mobile, usually in the apps "about" page.

 

I have gotten Wake On LAN (WOL) setup and working. However my machine is a Ubuntu machine using full disk LUKS encryption which means when booting it up, it requires a password/passphrase to unlock the machine before it boots into Ubuntu. The WOL systemD service I created will always make sure WOl is enabled for the next time the machine reboots, however if I reboot the machine and fail to unlock the device on the full disk encryption menu and the machine shut down, WOL will not be enabled which means WOL is not going to work to turn on the machine again.

Is there a way to enable WOL on the system full disk LUKs encryption lock screen?

 

I have gotten Wake On LAN (WOL) setup and working. However my machine is a Ubuntu machine using full disk LUKS encryption which means when booting it up, it requires a password/passphrase to unlock the machine before it boots into Ubuntu. The WOL systemD service I created will always make sure WOl is enabled for the next time the machine reboots, however if I reboot the machine and fail to unlock the device on the full disk encryption menu and the machine shut down, WOL will not be enabled which means WOL is not going to work to turn on the machine again.

Is there a way to enable WOL on the system full disk LUKs encryption lock screen?

 

Is it possible to create a volume that is a file, not a directory?

I am trying to make a simple structured nginx instance with docker. Using this command below to create the container...

docker container create -v ./nginx.conf:/etc/nginx/conf.d/nginx.conf -v .:/app/ -p 80:80 docker.io/nginx

And this is the file structure of it...

- www
-------------- public
---------------------------- index.html
- nginx.conf

And this is the nginx.conf

server {
    server_name localhost;
    listen 80;
    
    root /app/www/public;

    index index.html index.htm;
    autoindex on;
}

However the index.html will not work when I go to the localhost.

When I change the docker command to this it does work however, but this will also mirror all of the files and folder from my file structure into the containers /etc/nginx/conf.d/ directory

docker container create -v .:/etc/nginx/conf.d/ -v .:/app/ -p 80:80 docker.io/nginx
[–] [email protected] 55 points 6 months ago* (last edited 6 months ago) (11 children)

Discord is the worst. Requires a phone number, does not allow email aliases and logs your chats.

Matrix and SimpleX is way better

[–] [email protected] 0 points 7 months ago (2 children)

I may not have a domain name, and therefore no HTTPS, just HTTP only and can only connect by knowing the IP address and port number.

[–] [email protected] 0 points 7 months ago (7 children)

I may at times only have access to HTTP only (No HTTPS) which is one of the reasons why I want another form of encryption.

Encryption with most VPNs are more secure than HTTPS. Yes, the connection between the VPN server and the web server is not encrypted with the VPN and only HTTPS. However the encryption between the VPN and personal device is superior, not because it is relayed. My understanding is that HTTPS is "secure" for basic use, just like Windows 11 is secure. But not secure from five eye agencies unlike VPNs and other like systems like Tor and I2P.

My goal is to have a user connect to a web server and have it not possible for the web server to know what is going on, nor can anyone snooping the packets in transit know what is going on. Not know the HTML structure, form field data, etc.

[–] [email protected] 0 points 7 months ago (4 children)

Mega is a good example of what I want to learn to create. Not just to transfer files, but for what text is displayed on the page and the form field values and have it so that the server admins cannot decrypt and is encrypted this data in transit.

 

Is there a way to develop and website using JS (and perhaps PHP) to create an E2EE website. Were all packets sent between the server and the userw device are E2EE, wrapped in a layer of encryption?

I know there is HTTPS but I am looking for something stronger than HTTPS.

By using some JS or PHP E2EE package, would I have to write or structure the website code very differently than you normally would?

[–] [email protected] 1 points 7 months ago

I did find a TUI text editor that I like that is better than nano.

Micro https://micro-editor.github.io/

[–] [email protected] 1 points 7 months ago (1 children)

Isnt X being replaced with wayland? I may do that in the future once wayland is more adopted.

However I would like to achieve this on headless servers with no GUI at all.

I prefer using Rustdesk if I have to remote into a machine and see the machines GUI.

[–] [email protected] 1 points 7 months ago (1 children)

If you are doing this as root, I have to question what it is you're up to. The only time you should be editing files as root is config files, and then vim or nano should meet your needs.

Yes I only want to use root to edit config files. However I hate using nano and vim since they are TUI. I would like to use a GUI when editing config files.

[–] [email protected] 1 points 7 months ago (3 children)

Do you mean sftp?

I just played around with it. My file manager is Nemo (I am using Linux Mint) which allows you to connect to another computer using sftp and being able to browser the files and directories on that machine and be able to open text files.

Not the way I would prefer to do it, but a workable solution.

However I would also like to edit files on the machine with sudo privelages. I cannot connect to the machine as a normal user and right click in Nemo and open the file manager as root, as it will just open the sftp file manager as root on my device, not the remote device.

I did find this as a solution but it makes my remote machine unsecure by connecting to the remote machine as the root user by enabling the root user on the remote machine. However rather use sudo than enable the root user.

https://askubuntu.com/questions/400858/how-to-configure-sftp-to-login-in-the-directory

[–] [email protected] 1 points 7 months ago (2 children)

I am considering vscode but it is overkill and too bulky for what I am looking for. Just want a simple text editor like notepadqq

17
submitted 7 months ago* (last edited 7 months ago) by [email protected] to c/[email protected]
 

I am looking for a GUI text editor on Linux with a GUI which will allow me to connect to other machines via SSH and edit text files on these machines.

Is there such a thing or is there another way to do this with an encrypted connection?

 

A way to copy the URL and lemmy address (@[email protected], [email protected]) of a user and community

 

In the search tab, when you do not have anything typed in the search box, you can explore all of the communities, users, posts and comments.

You can filter this out with the filters by only exploring the local instance, the entire fediverse, etc.

 

A comment sorting option called "Chat" and "Forum"

On the official Lemmy web UI, you can sort comments by Hot, Top, New, Old and Chat. Please add a Chat sorting option.

Also, please add a "Forum" sorting option which will be the same as Chat except in reverse, showing the oldest comment first to the newest comments last, and will be ordered like a forum thread.

https://github.com/LemmyNet/lemmy-ui/issues/602

[–] [email protected] 1 points 7 months ago (1 children)

True, however it is not on F-Droid. Glad there is Molly for us degoogled Android users.

[–] [email protected] 2 points 7 months ago (3 children)

Too bad Signal app could not be released in F-Droid repo

[–] [email protected] 1 points 7 months ago

This has now been done with the latest release for comments! Please add a setting for posts!

view more: ‹ prev next ›