opensuse 15.3 - unable to login via VNC unless I setup a user to autologin!
The user can be a Standard user (not administrator but still… I would rather NOT have to setup AutoLogin
Guessing its to do with starting X …
I added a the following to crontab (as room ie. crontab -e)
@reboot sleep 60 && systemctl restart xdm
This sort of works - after 60 secs!
But its hit & miss…
Anyone know a way around this ?
2ndly…
Screen Saver - how do I adjust Screen Auto Lock ie. to something like 30secs??
oops
Subject tine should say VNC !
@basmistry:
Did you take a look at the setups required for “one-time sessions” and, for “persistent sessions”?
“Configuring one-time sessions on the VNC server”
Yes I did that already, although the 1st option seems better - with session managemnt
I also came across a post about BLACK Screen & small square as a cusrsor somewhere
seems to exactly that issue but even remming out ::1 in /etc/host i.e. #::1 dosen’t seem to work
However, issuing “systemctl restart xdm” enables login
Although sometimes need to restart xdm 2-3 time - I’m doing that via a putty login
or @reboot (but as I said its sometimes needs a manual retart via putty!)
However, Autologin a Standard user does make it work
This is NOT a 1 off or 15.3 issue.
I’ve got 2-3 machines with Opensue 15.2 - they do the same
I don’t like the idea of AutoLogin user - even a standard user…
In ‘/etc/group’ there’s a group named “vnc” –
- What happens if, the users located on the VNC Server who shall be accessible via VNC, are members of this group?
I’ll have a look when I get home
its just for Remote Administration and so connecting with either root or admin
I have a Admin user (non admin!)
And Root
For reliability of VNC I’ve currently set admin as the autologin user… its not ideal but…
(NO autologin & restart xdm works but may need multiple restarts via putty!)
anyway I can set the LOGOUT time to say 30secs?
I googled but found nothing for Gnome - KDE seems to have options although I’ve not Tried KDE lately