How do i disable the guest session for ubuntu mate for raspberry pi 3?

im still pretty new to ubuntu and raspberry pi, and im trying to disable my guest session option on log in, it doesnt even show up in the user management window so im hoping someone might be able to help me find it, any suggestions?

Hi @Donnie_Bravo,

this is old but should work?:

Rather than edit a system file, the suggested method of disabling the guest login
is to create a file in /usr/share/lightdm/lightdm.conf.d/ called 50-my-custom-config.conf
with the following contents:

[SeatDefaults]
allow-guest=false

Of course I’m lazy and use:

sudo tee /usr/share/lightdm/lightdm.conf.d/50-my-custom-config.conf >/dev/null <<NO_GUEST

[SeatDefaults]
allow-guest=false

NO_GUEST
1 Like