modified: README.md
modified: docs/desktop-environments/gnome.md new file: docs/desktop-environments/xfc4.md modified: docs/display-managers/lightdm.md deleted: docs/ssh.md
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
# Gnome
|
||||
|
||||
- [desktop shortcuts](#desktop-shortcuts)
|
||||
|
||||
18
docs/desktop-environments/xfc4.md
Normal file
18
docs/desktop-environments/xfc4.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# XFCE4
|
||||
|
||||
Xfce4 is a lightweight, modular, and visually appealing desktop environment for Unix-like systems, designed for speed, low resource usage, and adherence to FreeDesktop standards. It’s ideal for older hardware, minimalist setups, and users who value performance over visual effects.
|
||||
|
||||
**🧱 Core Components:**
|
||||
|
||||
- Thunar: Fast, simple file manager with bulk renaming and custom actions
|
||||
- xfwm4: Window manager with compositing and theming
|
||||
- xfce4-panel: Customizable panel with plugin support
|
||||
- xfce4-settings: Centralized configuration tools
|
||||
- xfce4-terminal: Lightweight terminal emulator
|
||||
- Xfce Power Manager: Handles battery, brightness, and suspend settings
|
||||
|
||||
**Installing with lightdm:**
|
||||
|
||||
``` bash
|
||||
apt install xfce4 lightdm
|
||||
```
|
||||
@@ -1,6 +1,6 @@
|
||||
# lightdm
|
||||
# LightDM
|
||||
|
||||
LightDM is a lightweight, cross-desktop display manager used to handle graphical logins on Linux systems. It provides the login screen (called a greeter) and manages user sessions, including authentication and session launching.
|
||||
**LightDM** is a lightweight, cross-desktop display manager used to handle graphical logins on Linux systems. It provides the login screen (called a greeter) and manages user sessions, including authentication and session launching.
|
||||
|
||||
**🧭 Key Features of LightDM:**
|
||||
|
||||
@@ -13,6 +13,12 @@ LightDM is a lightweight, cross-desktop display manager used to handle graphical
|
||||
- Remote login support: Includes protocols like XDMCP and VNC for remote graphical sessions.
|
||||
- Guest sessions and autologin: Can be configured for temporary guest accounts or automatic login.
|
||||
|
||||
**Install:**
|
||||
|
||||
``` bash
|
||||
apt install lightdm
|
||||
```
|
||||
|
||||
**Disable suspend black screen:**
|
||||
|
||||
```bash
|
||||
@@ -26,8 +32,8 @@ xserver-command=X -s 0 dpms
|
||||
```bash
|
||||
# /etc/lightdm/lightdm.conf
|
||||
[SeatDefaults]
|
||||
autologin-user=public
|
||||
autologin-user=$USERNAME_TO_AUTOLOGIN
|
||||
autologin-user-timeout=5
|
||||
# Uncomment the following, if running Unity
|
||||
#greeter-session=unity-greeter
|
||||
```
|
||||
```
|
||||
|
||||
43
docs/ssh.md
43
docs/ssh.md
@@ -1,43 +0,0 @@
|
||||
# SSH
|
||||
|
||||
## Create key
|
||||
|
||||
```bash
|
||||
ssh-keygen -t ecdsa -b 521
|
||||
#or
|
||||
ssh-keygen -t ecdsa -b 521 -f ~/.ssh/key-ecdsa
|
||||
|
||||
```
|
||||
|
||||
## Copy public key
|
||||
|
||||
```bash
|
||||
ssh-add ~/.ssh/id_ed25519
|
||||
ssh-copy-id -i ~/.ssh//ey-ecdsa.pub example_user@192.0.2.4
|
||||
```
|
||||
|
||||
## Add existing Key
|
||||
|
||||
```bash
|
||||
ssh-add ~/.ssh/key-ecdsa
|
||||
```
|
||||
|
||||
## Alias
|
||||
|
||||
```bash
|
||||
Host srv01
|
||||
HostName srv01.lan
|
||||
User john
|
||||
RemoteCommand cd ~/; exec bash --login
|
||||
RequestTTY yes
|
||||
```
|
||||
|
||||
## Port Binding
|
||||
|
||||
Bind local port 8001 to target-server port 80 using jump-machine.local.
|
||||
_(local machine without direct access to target-server)_
|
||||
|
||||
```bash
|
||||
ssh -f -N -L localhost:8001:target-server:80 usr@jump-machine.local
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user