Recommended VNC server for Linux/Slackware
For many years I used x11vnc which worked great and had some features I liked. I could remote in to the server host and run x11nvc as root and then log in as anybody from any platform and it would connect just fine.
Unfortunately, x11vnc hasn't been maintained in years and no longer works with Slackware 15.0 due to changes in libraries. I'd like recommendations on what a good VNC server program would be for me. I work remotely on Linux Virtual Machine host computers and need to see the Linux KDE desktop to start/stop the VirtualBox guest VMs (Windows), and configure the VM using the VirtualBox Manager. I'd need to be able to start the VNC server from a remote location. I can get to the Linux host via ssh. Slackware ships with TigerVNC, but I've not used that and have no idea if it would work for what I want. I intend to do some experimentation with that today, but I don't want to invest a lot of time in that if LQ folks don't really think that's going to work for what I need. I've also heard that the Remote Desktop connection is available on Linux. Is there any truth to that? THX |
Slackware provides tigervnc in the extra/ directory of the install dvd. Why not try that?
|
Quote:
I'll experiment with it. |
Mark this solved?
|
So, here's my experience thus far ... I recalled some of the reason I didn't use tigerVNC way back when. The documentation is pretty tough to figure out how to start the server. After a couple of hours of surfing I did get it started. One site said to use 'vncserver :1', but that command isn't even listed at the official https://tigervnc.org/ site. That site listed different server commands, vncsession, x0vncserver, Xvnc, and it took some experimenting to settle on "x0vncserver -PasswordFile=.vnc/passwd". The -PasswordFile parameter was needed even though vncpassword created the file in the default location. Furthermore, there is a plethora of options to the x0vncserver command and no simple example was given. Anyway after spending more time than I wanted reseaching this, I got the server running.
Even though this is a new install of tigerVNC, vncviewer doesn't run all all: Code:
$ vncviewer Code:
Attempting to reconnect to VNC Server... Code:
Sat Mar 2 16:59:28 2024 So, no, not ready to close the topic. Advice on either making tigerVNC actually work, or suggestions on another VNC package still appreciated. |
With all the vnc choices is there a clear winner or just choices.
(a bit off topic) |
Quote:
If someone out there is using a VNC server program successfully, that would be a useful recommendation. Recommendations from someone not actually using a VNC server are not useful. |
I've continued my experimentation. It appears that the "Attempting to reconnect to VNC Server... / Protocol error bad xrle data (or sometimes "bad hextile data)" error I reported in post #5 is not related to tigerVNC. I got x11vnc server to work and tried a new download of RealVNC Viewer on a different Windows computer. I got the same error. So I tried TightVNC on that same Windows computer (with x11vnc server on Linux). That worked much better, but still an error. After some period of time (a minute-ish) the viewer terminates with "pseudo encoding is not supported". I've tried encoding options "Tight", "Hextile" and "Raw" and they all terminate the viewer with that error. I've found this error on the web, so I'll continue searching for a solution. Also, I'll try using the TigerVNC server and see if that makes any difference. I'll report back ...
|
Quote:
Code:
$ ls -1 ~ftp/slackware64-15.0/extra/tigervnc |
Quote:
For the connection I'm using SSH port forwarding, so the entry in my ~/.ssh/config on the client machine looks like this: Code:
Host myserver When connected via SSH (as users), I'm starting the VNC server on the remote machine using Code:
vncserver :1 Code:
vncviewer -PasswordFile ~/.vnc/pwd-myserver.auth localhost:9001 |
Quote:
Quote:
Code:
x0vncserver -display=:0 -PasswordFile=.vnc/passwd I think I have a working combination now. Normally I don't need VNC since this Linux machine hosts a Windows VM and I just Remote Desktop into it. But, if I need to tweak VM settings on the VirtualBox Manager I need the Linux desktop. Thanks to all who contributed! |
Quote:
|
Quote:
|
Quote:
Code:
ldd /usr/bin/vncviewer | grep -i found |
I looked at this question and never got a great answer for my own use. I considered ones that supported game mode or 3d but haven't installed one.
|
All times are GMT -5. The time now is 10:46 AM. |