38
votes
Accepted
VNC Server only listening for connections from localhost
The problem seems to be just a default argument on VNCServer with the improper (for your case) option.
From vncserver command line help:
[-localhost yes|no] Only accept VNC connections from ...
33
votes
virt-manager copy paste functionality to the vm
You need to install Spice guest agent into the guest:
spice-guest-tools for Windows guest
spice-vdagent for linux guest
Check "Guest" part of Spice downloads section:
https://www.spice-space.org/...
16
votes
How to exit fullscreen mode in vinagre?
You also have to enable keyboard shortcuts in the Menu (check view->keyboard shortcuts). Then F11 is you key of choice (for me at least in version 3.22.0, you can check the shortcut key once it's ...
13
votes
VNC-Server as a virtual X11 monitor to expand screen problem
Using Fedora 26, I faced the same issue with VIRTUAL1 not being shown by xrandr command.
Then I followed this instructions , to reuse an empty output, like HDMI-2, and it worked quite well, but:
...
10
votes
VNC Server only listening for connections from localhost
I ran into the same problem and figured it out. From the command line run:
tigervncserver -localhost no :1
Make it permanent by adding into the file /etc/vnc.conf the option:
$localhost = "no"
Even ...
10
votes
Accepted
How to setup a VNC Server on Linux?
Installing a VNC Server
On Linux (on a classic machine or a screen less server) there are multiple (opensource) possibility for a VNC server such as TightVNC, TigerVNC and TurboVNC (this is a non ...
9
votes
Accepted
How do to bind x11vnc to localhost only and tunnel through SSH?
Turns out that -listen is what I need. By listening to the device with addr localhost it listens only to the loopback device:
ssh user@host -L 5900:localhost:5900 x11vnc -listen localhost
9
votes
Host mouse pointer not aligned with guest mouse pointer in Qemu VNC
it's because generic mouse hardwares only send movement events, ie. relative positioning device. so when qemu gets the absolute mouse position on its vnc interface, it can not do the same by the ...
8
votes
vncserver dies immediately upon start
Just check your /home/username/.vnc/xstartup file and remove the last line
This is how it looked in my case:
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
/etc/X11/xinit/xinitrc
...
8
votes
Accepted
VNC versus xpra
Pretty much, yes; the X11 protocol is encapsulated in SSH. The client runs on the remote system, the server runs on the local system.
With VNC, only VNC traffic goes over the network (optionally ...
8
votes
Host mouse pointer not aligned with guest mouse pointer in Qemu VNC
Michael A, you have to add a usb-device first.
-device nec-usb-xhci,id=usb,bus=pci.0,addr=0x4 for usb 3.0 or
-device usb-ehci,id=usb,bus=pci.0,addr=0x4 for usb 2.
Then you can pass -device usb-...
8
votes
Error opening browser in VNC session: cannot open display: :1.0
try to run xhost +local:
before running firefox &,
it worked for me too
7
votes
virt-manager copy paste functionality to the vm
With a Linux (Debian 11/bullseye) host and a Windows 10 guest, I did the following to enable copy-and-paste between the guest and the host:
Install spice-guest-tools on Windows guest; the binaries ...
7
votes
VNC-Server as a virtual X11 monitor to expand screen
See this answer to be able to use VIRTUAL1 instead of a real output like HDMI2, and be able to manage it (select resolution, arrange desktop geometry, clone or extend) in the desktop environment ...
7
votes
How to exit fullscreen mode in vinagre?
For me the following worked in Ubuntu 16.04: move mouse pointer to the top center of the screen. A hidden toolbar should've appeared, but it doesn't. It turns out, it is still there, it's just ...
7
votes
Enable Gnome Screen Sharing via Commandline?
So I did it after poking at it for a couple of hours.
Your instructions are correct. However, GNOME won't allow a VNC connection if your screen is locked. So, using loginctl list-sessions you can list ...
6
votes
Accepted
How can I set up x11vnc to start on boot, with lightdm?
You can do this by adding a systemd service to start the x11vnc server After= LightDM is started. Ensure that the service is run under user lightdm so that you don't get pesky XAuthority No protocol ...
5
votes
Is it possible to keep a vnc server alive after log out?
If using systemd, a far better solution than the other suggestions here is to add a systemd unit override file, as designed-for and recommended by the system authors.
This does exactly what's desired ...
4
votes
Kill or kick all clients from a running VNC server without restarting the server
A good way to disconnect all clients from a running VNC server (Xvnc) –
Login to the server, where your $DISPLAY is set correctly
vncconfig -disconnect.
The VNC server isn't affected; it just closes ...
4
votes
How can I forward sound over VNC?
The latest RealVNC supports Audio.
However, it is supported only on Enterprise and Professional licensed software.
Check this article -
https://help.realvnc.com/hc/en-us/articles/360002504358-Audio-...
4
votes
How to run vncserver as a user (not root)?
Just struggled with this problem for some days and managed to solve it using:
Log out and make sure no other user logged-in
Log in again as user using TERMINAL, do not use gdm/xdm or graphical manager ...
4
votes
How to exit fullscreen mode in vinagre?
On Debian Stretch the key is F11
(See Top menus)
4
votes
How to switch desktop environment in Debian
It looks like the VNC server skips LightDM altogether, and just starts its own X server with the default window manager/desktop.
You can pick which desktop gets started by creating a ~/.vnc/xstartup ...
4
votes
How to switch desktop environment in Debian
On my brand-new install of Debian 9 (stretch), I see options on the top right of the login window. They are icon based, one each for GE (Graphical Environment), Keyboard layout, Accessibility and ...
4
votes
Accepted
Remote desktop on Debian 9 with cinnamon desktop
SSH into debian from linux-mint
Update
There are some problem to connect through VNC to a remote host with cinnamon desktop using the regular way. The problem can be solved by installing x11vnc on ...
4
votes
Accepted
Configuring TigerVNC systemd process on Ubuntu 18.04
After some trial and error, I decided to just run the process in user mode, after user has logged in. Service starts after user logs in, and with auto-login enabled it works perfectly fine for my ...
4
votes
Configuring TigerVNC systemd process on Ubuntu 18.04
I was not able to get it to work with the SystemD 'User=' line, evan with the PAMName line.
After some trial and error, I was able to get the following to work. I had to use 'su' but it works ...
4
votes
TigerVNC not working on Fedora
I went through the same issue as you in Fedora 36, when following same guide
https://docs.fedoraproject.org/en-US/fedora/rawhide/system-administrators-guide/infrastructure-services/TigerVNC/#TigerVNC....
3
votes
headless x11vnc - higher resolution
I've been using this approach:
FD_GEOM=1920x500 FD_SESS=xfce x11vnc -create
The environmental variables FD_GEOM and FD_SESS are used if no existing display can be found. "-create" will look ...
3
votes
Differences between VNC and ssh -X
There is also a security advantage when using VNC or NX (X2Go). A malicious app cannot take screenshots or use a keylogger to log keys of your real desktop, while it is possible using SSH with X11 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
vnc × 540x11 × 75
linux × 70
ssh × 58
ubuntu × 56
remote-desktop × 52
centos × 45
debian × 41
x11vnc × 32
rhel × 28
gnome × 28
remote × 26
fedora × 23
ssh-tunneling × 23
tigervnc × 22
networking × 19
xorg × 19
vncviewer × 18
tightvnc × 17
macos × 11
systemd × 10
virtual-machine × 10
arch-linux × 9
xfce × 9
gui × 9