Hot answers tagged

42

There are a great many reasons: Attack surface: more programs, especially networked ones, means more opportunities for someone to find a bug and get in. Defect surface: as above, but replace "someone" with "Murphy", and "get in" with "ruin your day". Actually, "ruin your day" probably applies to the previous point, too. System efficiency: X11, and the GUI ...


20

From the TigerVNC manual. man Xvnc -SecurityTypes sec-types Specify which security schemes to use separated by commas. At present only "None" and "VncAuth" are supported. The default is "VncAuth" - note that if you want a server which does not require a password, you must set this parameter to "None". So -SecurityTypes None on the server is the ...


17

There is an alternate if you want to use PuTTY for both hops. In this example we are hopping from Gateway #1 (10.0.1.123) to Gateway #2 (10.0.1.456) to port 80 on 10.0.1.789. First create hop to gateway #1. First setup the connection to the first server. Setup a tunnel to the second gateway in Connection>SSH>Tunnels. In this example we're forwarding ...


15

I'm using x11vnc to gain remote access to whatever the monitor is displaying. x11vnc talks to the local X11 server and copies the framebuffer from the server to the client via vnc. Since the local X11 server renders everything with hardware acceleration, I get hardware accelerated OpenGL over VNC, even with all the cool desktop effects. This is how I start ...


15

The problem isn't VNC - don't get me wrong, VNC is a horrible protocol and has many flaws (the biggest being the lack of encryption support so everything goes over the network in plain text), but it isn't the main reason its usage is not recommended on servers. You're going to install VNC to access what, a black screen ? No, you wanted to access an entire ...


13

We have need of this as well, and found what to do. Basically, you need to use the wsmancli (Cross-Vendor Web-Services Management API) package to assist you. I've included a template script to get you going. There are other utilities to operate with WS Management, search around if interested. Install on Ubuntu: sudo apt-get install wsmancli After ...


12

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 not create a virtual display. Instead, it just shares an existing X server (typically, that one connected to the physical screen). x0vncserver -display ...


9

Obviously you're opening up another port for an attacker; rebuttal: we're behind two university firewalls (the main university network firewall as well as our subnet's own special firewall). VNC would only be able to be accomplished inside our subnet, so I'm at a loss... Never assume that because your system is behind a firewall, on a private network, you ...


7

You have to go to QEMU Monitor and run: change vnc display,options Where display is <host>:<display_number> or unix:<path> or none. Options are options for display. See: https://qemu.weilnetz.de/doc/qemu-doc.html#sec_005finvocation E.g. To change the port to 5905 and accept VNC connections for any host: change vnc :5 If you are using ...


7

I was just using ip address. as soon as I used ip:port number, it worked.


6

I ran this command and could get it to work with RealVNC Open/Free edition viewer. Ensure that on the client, the color level is set to Full [Options->Colour & Encoding->Colour Level] sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -off -restart -agent -privs -all -allowAccessFor -...


6

VNC on Windows acts like you are physically tapping into the keyboard, video, and mouse of the remote computer. So what you do through VNC basically has the same effect as if you were physically present at the console. Remote Desktop was originally a terminal server protocol. To permit lots of computer to run applications remotely on a server. These days ...


6

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 by supplying a --graphics vnc,port=5900,listen=0.0.0.0 option to the virt-install program) and use it to remotely install any operating system you want. This ...


6

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.


5

And if the box you are connecting to virtualized using KVM (or RHEV), you can use Spice which performs exceptionally well. http://spice-space.org


5

You need to use double quotes ("") instead of single quotes ('). Much like the shell, perl, and other languages, single quotes in Puppet indicate a literal string and inhibit variable interpolation and the interpretation of backslash-escapes. file { '/etc/sysconfig/vncserver': content => "VNCSERVERS=\"6:root\"\nVNCSERVERARGS[6]=\"-geometry 1152x864\"",...


5

Did you find the answer for this? I found Remmina would close if your colour depth was not the same on the Xserver as it is on the VNC client. vinagre didn't have an issue but I found this to be the case with Remmina.


5

Tell me you don't mean plain old insecure VNC? it's in the clear generally - I'm sure you mean TightVNC or similar right? Either way I REALLY wouldn't do this, I'd simply setup a single terminal/gateway server running Windows Server 2008 or higher, then NAT that. Then use the RDP/mstsc client externally, connect to the gateway machine and then use VNC or ...


5

From practically the very top of the man page: By default x11vnc will not allow the screen to be shared and it will exit as soon as the client disconnects. See -shared and -forever below to override these protections. I also found this information by doing a search for 'x11vnc exits'. The very first link had the answer.


5

Note that you cannot connect to the remote computer using an empty password via SMB or RPC unless it is Windows XP Home Edition or Windows 2000. All newer Windows versions will require a non-empty password for any account trying to log on either through SMB, RPC or even RDP by default. A VNC login is somewhat of an exception as it is regarded a "local ...


5

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 device in addition to a VirtIO Serial device assigned to the VM, which will allow virt-viewer and most other SPICE clients to pipe copy/paste over a virtual serial ...


4

X2Go is a software that enables you to access graphical desktop of a Linux computer. It performs really well even over low bandwidth connections. You can choose to use an entire desktop, or have only a single application (over X11 with a persistent session). If you are familiar with solutions like GNU Screen or tmux for command line sessions, X2Go is a ...


4

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 to OS X High Sierra (10.13 w/ latest updates), the "OS X Authentication" that Mac OS builtin VNC requires, with username and password and no tweaks to the VNC ...


4

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 fixing SPICE/QXL bugs causing slowness well past 2013. These days I don't think this question really applies anymore; SPICE is far faster than VNC for any ...


4

In CentOS 6.x you need to install the tigervnc-server (not tigervnc-server-module) package. On the CentOS Wiki (http://wiki.centos.org/HowTos/VNC-Server) it's noted: If you are running CentOS 6, the server is: tigervnc-server not: vnc-server Hope this helps.


4

You can read the text currently displayed on the screen from /dev/vcs. If your terminal window has the same number of columns as the actual screen output on the server, then you can simply type cat /dev/vcs and get a recognizable output. You can append a number to access a specific console rather than always the active console. And you can use vcsa, if you ...


4

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 create a 4096 bit rsa key (or 512 ecdsa), don't use password authentication for your ssh session set up a firewall rule to allow incoming connections on port 22 ...


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. Solution: Removed the Nvidia driver and replaced it with xorg-x11-drv-nouveau. This fixed the problem. This is how I removed it: https://ask.fedoraproject.org/en/...


3

You're using a virtual server. You're limited to the remote console access provided by the service provider; contact them for details on how to use it.


3

In case your init script has no symlinks in the rc*.d directories run the following to create them: update-rc.d tightvncserver defaults


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