20 votes

How to VNC into an existing X session?

According documentation Tigervnc has support for this. x0vncserver is a TigerVNC Server which makes any X display remotely accessible via VNC, TigerVNC or compatible viewers. Unlike Xvnc(1), it does ...
Ivan Talalaev's user avatar
13 votes

Reducing Latency Between US and India/South Asia or Desktop Access on CentOS 7+ GNOME

There's nothing you can do to change the underlying latency. Renting a server closer to your users would seem to be the only and best solution.
joeqwerty's user avatar
  • 111k
12 votes
Accepted

How to set keyboard layout with a VNC client to KVM (libvirt)

The standard key handling in VNC protocol is a very bad match for virtualization because it involves sending X keysyms to the server. Hardware scancodes on the VNC client machine are turned into key ...
DanielB's user avatar
  • 1,708
9 votes
Accepted

KVM / QEMU: connect to VM without GUI

KVM and it's derivatives have a VNC server in its video subsystem. So you have to take a VNC client (any from widely availables), configure your KVM VM machine with a VNC connection (I usually do this ...
drookie's user avatar
  • 8,759
8 votes

VNC viewer not connecting to Mac from Windows

A few years later, the "world has changed", so The free version of RealVNC (v. 6.17.1113, Nov 2017, x64) works smoothly for me. In particular from Windows 7 Professional to OS X Yosemite (10.11) and ...
BaseZen's user avatar
  • 396
8 votes

Accessing Ubuntu 20.04 from Mac OS Catalina: which client to use?

I also had this problem earlier. [My original comment was just a "I have this too" post and was deleted. This comment does have a solution:] It looks like the two systems cannot negotiate an ...
Alex McLintock's user avatar
7 votes
Accepted

Use telnet to check that VNC port is open

Yes it is correct... If it were open you would get a blank screen, and if it were closed, it would say connection refused. Timing out is the same as closed in most cases.
Techknow's user avatar
  • 166
7 votes

Reducing Latency Between US and India/South Asia or Desktop Access on CentOS 7+ GNOME

The answer you need is as given by @joeqwerty: There's nothing you can do to change the underlying latency. Renting a server closer to your users would seem to be the only and best solution. Also, ...
iBug's user avatar
  • 1,308
6 votes

Which command is used to establish ssh tunnel in windows?

I sense confusion and a possible misunderstanding. When you establish a SSH tunnel with: ssh user@server -L 5900:localhost:5900 ...the following things happen: a SSH connection is established and ...
telcoM's user avatar
  • 4,598
6 votes

Reducing Latency Between US and India/South Asia or Desktop Access on CentOS 7+ GNOME

We have staff in India, and their latency to the US is variable across a minute/hour/day. So I am familiar with your problems. Another option is to provide the site a higher quality link with ...
Criggie's user avatar
  • 2,320
5 votes
Accepted

virt-manager Spice copy paste doesn't work

You'll need to be sure that you have the libvirt guest utilities installed to your guest operating system, to begin. Also, in order for copy/paste to work, you'll need a SPICE guest agent socket ...
Spooler's user avatar
  • 7,126
4 votes

Best way to disable SSH for all users?

Why would you do that? It's way more elegant to harden your SSH. Few tips: dont use root for ssh set AllowUsers directive and list your account in there - that way only you will be allowed to ssh ...
13dimitar's user avatar
  • 2,546
4 votes

Access local console via SSH

I know this is an old question, but here's some insights : Using "screen" is the way to go start by typing screen type your command press CTRL+A d (to exit the screen) this will detach the screen ...
Jean-François Coutu's user avatar
4 votes
Accepted

VNC faster than Spice for remote access to KVM guest?

Ubuntu 12.04 is end of life, of course, but I do want to note that SPICE/QXL of that era was very early code, and on Ubuntu 12.04 in particular wasn't well integrated yet. They were still finding and ...
Michael Hampton's user avatar
4 votes
Accepted

Can't get VNC server to work in CentOS 7.4

After following instructions such as https://www.linuxtechi.com/install-configure-vnc-server-centos-7-rhel-7/ it still didn't work. I'm documenting the solution here in case others run into this. ...
Edward_178118's user avatar
4 votes

x11vnc can not connect to X server of gdm greeter

Run x11vnc as gdm user: sudo -u gdm x11vnc -rfbauth /etc/vncpasswd -auth /run/user/42/gdm/Xauthority -display :0
A T's user avatar
  • 41
3 votes

What security weekness(es) does my vino VNC server have?

"I could connect to the server at port 5900" That would explain why also other systems could , there is no software firewall restriction on the server itself that prevents connections to that port/...
HBruijn's user avatar
  • 80.3k
3 votes

Open Source Remote Access using VNC and Reverse SSH

We ran into something similar at work when dealing with SSH port forwarding on Windows. Have a look at the output of netstat, which confirms that TightVNC is listening on port 5901: PS C:\WINDOWS\...
liverwust's user avatar
  • 176
3 votes

Reducing Latency Between US and India/South Asia or Desktop Access on CentOS 7+ GNOME

There can be two approaches to the problem: actually reducing the latency, or making the high-latency connection more usable. There are probably multiple possible routes between the US and India, ...
twisteroid ambassador's user avatar
3 votes
Accepted

CentOS: Admin user on xrdp session can't do admin

Having framed yesterday's frustrations more succinctly, I used a well-known search engine to look for "linux polkit local and remote sessions" and got this as the top result - Enabling ...
kbro's user avatar
  • 270
3 votes
Accepted

On Debian 11, how to change from xfce4 to GNOME desktop

You don't need to uninstall xfce for gnome you can install it directly with gdm3. Command to apply : sudo apt install gnome-session gdm3 sudo reboot After reboot on the user connection interface gdm,...
yoyo348's user avatar
  • 46
2 votes

Set VNC password

If you want a one-liner, this from https://stackoverflow.com/a/30606811/109707 vncpasswd -f <<< $PASSWORD > "$HOME/.vnc/passwd" Or if using x11vnc x11vnc -storepasswd $PASSWORD "$HOME/....
dazonic's user avatar
  • 121
2 votes
Accepted

Azure and RHEL - "Can't open display :1"... sometimes

I can't comment yet, so I am putting this here. I know this has a down-vote, but I tried this on my Azure account. I scaled up about 20 instances of the VM and not all of them worked - some did, ...
revof11's user avatar
  • 36
2 votes

slow vnc connection to a vmware workstation virtual machine

I've run VNC sessions over much less bandwidth (<1Mb/s) across links which should have much greater latency than your setup and found it quite usable. I don't think the network is your problem. "...
symcbean's user avatar
  • 22.4k
2 votes

What alternatives to VNC are there for Linux?

Chrome remote desktop looks like a good alternative. https://chrome.google.com/remotedesktop
Jan DB's user avatar
  • 331
2 votes
Accepted

Running a VNC client without X

Use VNC Viewers Compiled for Other Graphics Libraries You need a VNC viewer that uses an alternative graphics library rather than functioning as an X11 client. I'm not aware of any actively-...
CodeGnome's user avatar
  • 285
2 votes
Accepted

How to connect over VNC to server ILO Remote Console?

Your question isn't really about VNC... You just want to get the ILO console working. Upgrade the firmware of the ILO to current. If you're using a Windows computer, choose the .NET Integrated Remote ...
ewwhite's user avatar
  • 198k
2 votes

TigerVNC session timeout

Editing the file /etc/systemd/system/[email protected] solved it for me, specifically by removing the following lines: ExecStartPre=-/usr/bin/vncserver -kill %i PIDFile=/home/<USER>/.vnc/%H%i....
Chris Knepper's user avatar
2 votes

virt-manager Spice copy paste doesn't work

For those looking for an answer you need to add to the XML file this <devices> <controller type='virtio-serial' index='0'/> <channel type='spicevmc'> <target type='...
awaska's user avatar
  • 21
2 votes

Nvidia driver breaks vncserver on CentOS 7.4, is there a work around?

TurboVNC + VirtualGL is a good alternative. Pros: Good performance. Works with desktop environments, that require 3D acceleration (like Gnome3), with -3dwm. Remote 3D rendering works even with ...
Igor's user avatar
  • 161

Only top scored, non community-wiki answers of a minimum length are eligible