Manjaro XFCE 20.0.3 - Persistent USB - released

So I just tried getting this working today, had a few issues and so I will document how I got around them. I am using the iso file [1] that was found in the original post (as of 20 may 2021), and I burned it via etcher.

No wifi connection

Use nmcli to connect to wifi, I followed a guide [2] which boiled down to running these commands in the shell:

nmcli device wifi rescan
nmcli device wifi list
nmcli device wifi connect SSID-Name --ask

No Sudo Access

As others have mentioned the default user manjaro doesn’t seem to have the ability to switch to the root user. I tried running sudo pacman -S nmapplet and it said that the user was not in the sudoers file.

To get around I used @Jazzlike-Joke 's information to login to the user account from the main xfce login screen (I was logged in as manjaro, and then I just pressed logout and then chose other from the drop down and typed in root as the user, no password was necessary).

After doing that I was able to do stuff as root, so the first thing I did was to change the root password by using passwd.

Then I tried to edit the sudoers file with visudo, it turns out that visudo couldn’t work because vi wasn’t installed, so I started off by just updating everything with pacman -Syu (this took a while for me, an hour or two, so be prepared), then ran pacman -S vi.

After vi was installed I edited the sudoers file with visudo and uncommented the line so that members of the group wheel could execute any command. (I knew that would work because I saw in user.toml that the manjaro user was added to that group).


Hopefully @philm can make it so that we don’t have to manually add this user as sudo, also if you can prepackage nmapplet into the os that would be great for new users who are not familiar with nmcli (I think normal manjaro xfce comes with nmapplet)


Links
(Apparently I can’t post links on the fourm yet, so I have to put a space between the h so it doesn’t think it’s a link)

  1. h ttps://osdn.net/projects/manjaro-community/storage/xfce-usb/20.0.3/manjaro-xfce-20.0.3-20200704-USB8GB-unstable.img.gz/
  2. h ttps://nullr0ute.com/2016/09/connect-to-a-wireless-network-using-command-line-nmcli/