10/4/2023 0 Comments Ubuntu desktop vnc server![]() This works well, but it has a couple of undesired features: I am at the console only once in about a month or two. I guess this means all the rest is mostly OK, even if not 100%. When I click on the password field, the pointer changes to a cursor, but nothing happens when I type. The problem is that at the login screen I cannot type my password. I entered the password I setup in step 2 above. Launched TigerVNC client in Win10, connecting to localhost:59000.Verified the service was inactive with sudo systemctl status Established an ssh tunnel to port 5902 (as per output above) with ssh -L 59000:localhost:5902 -C -N -l user1.Use xtigervncviewer -SecurityTypes VncAuth,TLSVnc -passwd /home/user1/.vnc/passwd myserver:2 to connect to the VNC server. New Xtigervnc server 'myserver:2 (user1)' on port 5902 for display :2. Killed service with vncserver -kill myserver:2.SELinuxContext=system_u:system_r:vnc_session_t:s0 Started service with sudo systemctl start Added symlink with sudo systemctl enable This created symlink -> Even if I later don't use the service, I note the linked file has a different contents from what is typically quoted:ĮxecStart=/usr/libexec/tigervncsession-start %i.Added user with sudo nano /etc/tigervnc/ers, adding :2=user1. ![]() Changed permissions with chmod +x ~/.vnc/xstartup.Created/edited with nano ~/.vnc/xstartup, with the following contents (using gnome right away).Killed the vnc server with vncserver -kill myserver:2.Executed vncserver, and entered the password.Installed (with apt-offline, since the server is behind a proxy) tigervnc-standalone-server, tigervnc-common, tigervnc-tools.I did all the setup remotely, in a terminal connected via ssh. I mean to connect from Win10 to a remote server with Ubuntu 22.04LTS and Gnome desktop, via VNC.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |