If the translator is correct (please use English):

Ubuntu, and thus Lubuntu, don’t have root enabled by default. If you want to use root, you just need to give root a password.

sudo passwd root

Then enter a password twice and you can then use the root account.


At present, using QT to do a project, you need to boot directly into the root authority, and use the serial port resources

Lubuntu20.04 how to complete root account login in one step without password

Project development needs requirements like this :grinning:

  1. Enabling the root password is the wrong way. It does not solve your problems, but makes your whole system less secure. (I am missing a dislike-button)
  2. You don’t need to be root to access serial ports. Serial ports are owned by root and normally by the group dialout. Adding your user to the dialout group is the recommended way.
  3. Login as root and run a graphical environment is completely wrong.
  4. This is a forum, not a chat. There is absolutely no need to post line by line.

Thank you!!!!!!!!!!!!!!!!

I also agree enabling root is a bad idea. More information here:


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.