You are not logged in.

#1 2021-02-13 09:08:08

dom11990
Member
Registered: 2016-12-05
Posts: 5

Unable to login with sddm user when using x11vnc

Hello,

I'm trying to allow remote access to my machine but have so far failed miserably. Tigervnc produces a black screen when I login so I've moved to x11vnc. This seems to work fine, however, when I enter my password (after having entered the vnc password succesfully) I'm told that the password is incorrect. When I walk over to my machine and enter the same password it works, as is also visible on my vnc client. I've changed the user password to something very simple to avoid any potential keyboard issues (german vs us keyboard) as the two systems are different. I'm quite perplexed by what could be causing this issue or how to further troubleshoot it. Could someone point me in the right direction? My searches so far have turned out to be unsuccessful.

Just some additional info, I use a systemd service to start x11vnc:

cat /etc/systemd/system/x11vnc.service.d/override.conf                                                                                            
[Unit]                                                                                                                                                             
Description=x11vnc VNC Server for X11                                                                                                                              
Requires=display-manager.service                                                                                                                                   
After=display-manager.service                                                                                                                                                                                                                                                                                                        
[Service]                                                                                                                                                          
Type=forking                                                                                                                                                       
ExecStartPre=                                                                                                                                                      
ExecStartPre=/usr/bin/bash -c "/usr/bin/systemctl set-environment SDDMXAUTH=$(/usr/bin/find /var/run/sddm/ -type f)"                                               
ExecStart=                                                                                                                                                         
ExecStart=/usr/bin/x11vnc -display :0 -auth ${SDDMXAUTH} -ncache 10 -forever -shared -bg -o /var/log/x11vnc.log -rfbauth /home/dom/.vnc/passwd -xkb -norc -noxrecord -noxdamage -nomodtweak -multiptr                                                                                                                                 ExecStop=                                                                                                                                                          
ExecStop=/usr/bin/killall x11vnc                                                                                                                                   
Restart=on-failure                                                                                                                                                 
Restart-sec=2                                                                                                                                                                                                                                                                                                                         
[Install]                                                                                                                                                         
WantedBy=graphical.target

Offline

#2 2021-02-13 09:22:19

dom11990
Member
Registered: 2016-12-05
Posts: 5

Re: Unable to login with sddm user when using x11vnc

Okay.... it turns out there is somehow an issue with the keyboard. I made the password even simple (not capital letters) and suddenly it works. Seems that shift is not registering at the login screen. Once I'm logged in, everything types out as expected. Any ideas?

Offline

Board footer

Powered by FluxBB