User Tools

Site Tools


configuring_the_right_vnc_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
configuring_the_right_vnc_setup [2024/12/24 07:50] mikeconfiguring_the_right_vnc_setup [2024/12/27 20:48] (current) mike
Line 15: Line 15:
   apt install x11vnc   apt install x11vnc
      
-=== Create the file /lib/systemd/system/x11vnc.service ===+=== Create the file /lib/systemd/system/x11vnc.service with the following contents: ===
  
   # Description: Custom Service Unit file   # Description: Custom Service Unit file
Line 44: Line 44:
   - In case you are using virt-manager (which also enables VNC on 127.0.0.1:5900), you may want to bind x11vnc to your LAN IP (//-listen 10.0.0.1//)   - In case you are using virt-manager (which also enables VNC on 127.0.0.1:5900), you may want to bind x11vnc to your LAN IP (//-listen 10.0.0.1//)
   - The parameters used to start x11vnc tell it not to ask for an additional password (//-nopw//)   - The parameters used to start x11vnc tell it not to ask for an additional password (//-nopw//)
 +
 +==== Require username at GUI login (hiding list of valid users) ====
 +The user list shown at login can be disabled by setting the ''org.gnome.login-screen.disable-user-list'' GSettings key.
 +
 +When the user list is disabled, users need to type their user name and password at the prompt to log in.
 +
 +Create the gdm profile (/etc/dconf/profile/gdm) which contains the following lines:
 +  user-db:user
 +  system-db:gdm
 +  file-db:/usr/share/gdm/greeter-dconf-defaults
 +  
 +Create a gdm keyfile for machine-wide settings in /etc/dconf/db/gdm.d/00-login-screen:
 +  [org/gnome/login-screen]
 +  # Do not show the user list
 +  disable-user-list=true
 +
 +Update the system databases:
 +  dconf update
configuring_the_right_vnc_setup.1735055430.txt.gz · Last modified: 2024/12/24 07:50 by mike

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki