gui: rm password text box when adding new device

- fast-servo uses ssh public key auth instead of password
This commit is contained in:
linuswck 2025-01-17 11:49:06 +08:00
parent 3cf8f0c977
commit 1c56b2cd72
3 changed files with 16 additions and 1 deletions

View File

@ -26,5 +26,5 @@
| Set the linien-server service to start at bootup | `linien-server enable` |
| Set the linien-server service not to start at bootup | `linien-server disable` |
4. In the dev shell, run `linien` to launch the GUI. Add new device. Username is `root` and it does not take any password to log in. You leave the password field with any text.
4. In the dev shell, run `linien` to launch the GUI. Add new device. Username is `root`.
5. Select the newly added device and click connect in the GUI to connect and start the GUI.

View File

@ -0,0 +1,14 @@
diff --git a/linien-gui/linien_gui/ui/new_device_dialog.ui b/linien-gui/linien_gui/ui/new_device_dialog.ui
index 7d5790c..38c3513 100644
--- a/linien-gui/linien_gui/ui/new_device_dialog.ui
+++ b/linien-gui/linien_gui/ui/new_device_dialog.ui
@@ -136,6 +136,9 @@
<property name="text">
<string>root</string>
</property>
+ <property name="visible">
+ <bool>false</bool>
+ </property>
</widget>
</item>
</layout>

View File

@ -33,6 +33,7 @@
./fast-servo/linien-gui-fast-servo-hardware-specific.patch
./fast-servo/linien-gui-add-afe_gain-combo-boxes.patch
./fast-servo/linien-gui-do-not-use-opengl.patch
./fast-servo/linien-gui-hide-password-box.patch
./fast-servo/linien-client-ssh-port-change.patch
./fast-servo/linien-server-fast-servo.patch
./fast-servo/linien-server-cli.patch