8,367
edits
Changes
→The setting method of root user automatic login in Linux desktop version system
# Execute the following command to set the desktop system to automatically log in as the root user
::{| class="wikitable" style="width:800px;"
|-
|
orangepi@orangepi:~$ '''sudo desktop_login.sh root'''
|}
<ol start="2" style="list-style-type: decimal;">
<li>Then restart the system, and the root user will automatically log in to the desktop</li></ol>
[[File:media/image84.png|294x123px]]
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''Note that if you log in to the desktop system as the root user, you cannot use pulseaudio in the upper right corner to manage audio devices.'''
'''Also note that this is not a bug, since pulseaudio is not allowed to run as root.'''</big>
|}
</ol>
<ol start="3" style="list-style-type: decimal;">
<li>Execute the following command to set the desktop system to log in automatically with the orangepi user again</li></ol>
{| class="wikitable" style="width:800px;"
|-
|
orangepi@orangepi:~$ '''sudo desktop_login.sh orangepi'''
|}
</ol>
<span id="the-method-of-disabling-the-desktop-in-the-linux-desktop-version-system"></span>
=== The method of disabling the desktop in the Linux desktop version system ===