In the login screen, I see Guest Session and Remote Login.
I don't want these option, How can i remove them from my system and login screen both.
In the login screen, I see Guest Session and Remote Login.
I don't want these option, How can i remove them from my system and login screen both.
Open a terminal.
Run the following commands:
sudo -i # to have root privileges
gedit /etc/lightdm/lightdm.conf # to edit /etc/lightdm/lightdm.conf file
Add this line to the end of the file:
greeter-show-remote-login=false
Save the file and close it.
Restart lightdm service (from tty1 with sudo service lightdm restart) or restart computer.
lightdm or using some other display manager? like gdm or xdm?
– Saurav Kumar
Aug 31 '13 at 07:14
greeter-show-remote-login=fasle disables remote login or just does not display remote login. My purpose is to disable remote login completly.
– Hrithik Roshan
Aug 31 '13 at 09:13
gravity@gravityeducation:~$ sudo -i [sudo] password for gravity:
root@gravityeducation:~# gedit /etc/lightdm/lightdm.conf
** (gedit:7524): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:7524): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
root@gravityeducation:~#
– silenTK Apr 01 '14 at 03:33For remote login, uninstall:
remote-login-service
lightdm-remote-session-freerdp
lightdm-remote-session-uccsconfigure
This will prevent to be prompted to keep/replace your tweaked /etc/lightdm/lightdm.conf when an update to the remote-login-service will be plublished.... because this way, you won't [need to] edit it to make the option disappear from the greeter.