Hi all: On a fresh install of Leap 15.0, I want to create a VNC server with which I view remotely and interact with the real X display. This sounds so easy, and it was, right up to 15.0. Does anyone have the steps to get this done? My system is stock Leap 15.0 installation using the gnome desktop, not kde. It has the firewall disabled for testing. I have tried vino but with no luck and the stock vnc implementation is meant for virtual sessions, not the real session displayed on the monitor.
larryr: Thanks for the replay. I set everything the way you have shown but no joy. tail of /var/log/messages shows the vnc service starting but then an error: “bad operator for attribute: /run/user/1000/gdm/Xauthority”. The UID of my user account is 1000; it was the first one I set up. I changed the setting for the password location too and created the passwd file.
larryr. Thanks again. I am running gnome with SLE Classic. Could that be the issue? I have no problem moving to mate so maybe I should do that and try again.
Hi all: Thanks for all the replies. After several attempts I decided to start fresh and try a different method and it worked very well. I did this with gnome using the SLE Classic desktop. From a fresh installation:
Install x0vncserver - this is a wrapper for tigervnc and it just shares an existing X server (typically, that one connected to the physical screen)
Logged in as the user who will be always sharing the display, run vncpasswd to create the password file. This file is created at /home/username/.vnc/ and the file name is passwd
Edit the file /home/username/.profile and add this line: x0vncserver -rfbauth /home/username/.vnc/passwd -rfbport 5901 &
That is it. As long as the user remains logged in the x display will always be available. This works well for my use which is to use a headless computer from which we take the video output and run it into a video extender/replicator to display the same output to 6 TVs in the office. I just need the ability to vnc into the computer to manage it.