Skip to content

Commit

Permalink
Fix error 2
Browse files Browse the repository at this point in the history
  • Loading branch information
laspavel committed Jan 7, 2024
1 parent c9b9c3f commit 5e0be79
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion 03.linux/dod/10080.add_new_partition.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Добавление новой партиции без перезагрузки системы #
# Добавление новой партиции без перезагрузки системы

Делаем разметку новой партиции:
```
Expand Down
7 changes: 0 additions & 7 deletions 03.linux/dod/10082.tigervnc_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,15 @@ yum install tigervnc-server
run command as user in case root, or vncpasswd directly from user:
```
runuser -l username -c "vncpasswd"
# Password:
# Verify:
# Would you like to enter a view-only password (y/n)? n
```

Configure service:
```
cp -fv "/lib/systemd/system/[email protected]" "/etc/systemd/system/vncserver_username@:1.service" # :1 - x server number, :1, :2, :3, :5 ...
sed -i 's/<USER>/username/g' "/etc/systemd/system/vncserver_username@:1.service"
sed -i 's|"/usr/bin/vncserver ${INSTANCE}"|"/usr/bin/vncserver ${INSTANCE} -geometry 1200x675"|g' /usr/bin/vncserver_wrapper
# -geometry 1200x675 - virtual desktop resolution !!! GLOBAL ATTRIBUTE !!!
# refresh systemctl unit files
systemctl daemon-reload
# enable service at startup
systemctl enable vncserver_username@:1.service
# run service
systemctl start vncserver_username@:1.service
```

2 changes: 1 addition & 1 deletion 03.linux/dod/10085.repack_deb_package.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Перепаковка DEB пакета #
# Перепаковка DEB пакета

Extract:
```
Expand Down

0 comments on commit 5e0be79

Please sign in to comment.