Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Find the numerical value associated with your username (i.e. 3 for jhaase): 

    Code Block
    cat /etc/tigervnc/vncserver.users


  2. Find the service associated with the numerical value (i.e. vncserver@:3.service for jhaase): 

    Code Block
    ls -l /etc/systemd/system/multi-user.target.wants


  3. Check if the service is running: 

    Code Block
    $ systemctl status vncserver@:3.service
    ● vncserver@:3.service - Remote desktop service (VNC)
       Loaded: loaded (/usr/lib/systemd/system/vncserver@.service; enabled; vendor preset: disabled)
       Active: active (running) since Wed 2022-07-27 17:16:53 PDT; 31min ago
     Main PID: 2192 (vncsession)
        Tasks: 0 (limit: 3196277)
       Memory: 2.0M
       CGroup: /system.slice/system-vncserver.slice/vncserver@:3.service
               ‣ 2192 /usr/sbin/vncsession wcwong :3
    
    Jul 27 17:16:51 moho systemd[1]: Starting Remote desktop service (VNC)...
    Jul 27 17:16:53 moho systemd[1]: Started Remote desktop service (VNC).

    Looking for "active (running)" in the Active line. 

  4. If the service is not running: 

    Code Block
    $ systemctl start vncserver@:3.service
    ==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ====
    Authentication is required to start 'vncserver@:3.service'.
    Authenticating as: jhaase
    Password: 
    ==== AUTHENTICATION COMPLETE ====
    $

    Where the "Password:" is asking for your AD password for your user account.

  5. If the service refuses to start, run this command in your SSH session into the server: 

    Code Block
    sudo systemctl restart gdm


Bug reference https://bugzilla.redhat.com/show_bug.cgi?id=667764

...