Hi
Firtly, I am new to Linux.
I have installed Debian 9 as a webserver and its running fine, but I am having trouble setting up VNC (X11VNC?)
Could someone guide me through it please, I have seen several "how to's", but they are all diffrent and I am worried about messing it up.
Any help greatly apprecited
Thanks
Mark
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Debian 9 - VNC Setup
Re: Debian 9 - VNC Setup
While I can not help you directly it might help others if you can provide more details regarding your issue:
What VNC packages are you trying to setup and use?
What are you VNC-ing to (local PC, what OS) ?
What have you tried so far and has that produced any error messages?
What VNC packages are you trying to setup and use?
What are you VNC-ing to (local PC, what OS) ?
What have you tried so far and has that produced any error messages?
- GarryRicketson
- Posts: 5644
- Joined: 2015-01-20 22:16
- Location: Durango, Mexico
Re: Debian 9 - VNC Setup
First thing First,... That is why we make backups, and make sure the back up is good, before going into the system and changing things around.I am worried about messing it up.
Exactly what is the trouble ? The manual for X11VNC is pretty straight forward:--snip--but I am having trouble setting up VNC (X11VNC?)
https://manpages.debian.org/stretch/x11 ... .1.en.html
You need to install X11VNC first:
https://packages.debian.org/stretch/x11/x11vnc
To install :
Code: Select all
apt install x11vnc
After installing x11vnc, follow the instructions in the manual, it usually is easier to use the 'man' command,
Code: Select all
man x11vnc
So any way, exactly what is the problem, is it with installing it ? Or if you have installed it, does it not start as expected ? or what ?
=====
That is fine, but it might be better for you to first off learn a little more about some of the basic linux commands, etc. Especially how to make a good backup, and copies of essential files, configuration files , etc...if you do not know how to do this, or have not done it, that is what needs to be done first.I am new to Linux
====
Can you access this server with ssh ?
Is it a remote server ? or is it a local system, using localhost ?...
There really is not anywhere near enough information on your part to be able to help you much, but I will try:
The various "How to's" , and many are good, but yes they are all different , but not that much, they do vary depending on what you are doing, if there is other DE or WM involved, then there is some differences ,...Could someone guide me through it please, I have seen several "how to's", but they are all different and I am worried about messing it up.
So that is about it, 1.install x11vnc
2.Link to the manual or use 'man x11nvc' , follow the instructions.
There is a FAQ link shown in the manual, that covers some common questions,Typical usage is:
Run this command in a shell on the remote machine "far-host" with X session you wish to view:
x11vnc -display :0
Then run this in another window on the machine you are sitting at:
vncviewer far-host:0
Once x11vnc establishes connections with the X11 server and starts listening as a VNC server it will print out a string: PORT=XXXX where XXXX is typically 5900 (the default VNC server port). One would next run something like this on the local machine: "vncviewer hostname:N" where "hostname" is the name of the machine running x11vnc and N is XXXX - 5900, i.e. usually "vncviewer hostname:0".
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. See the FAQ for details how to tunnel the VNC connection through an encrypted channel such as ssh(1). In brief:Code: Select all
ssh -t -L 5900:localhost:5900 far-host 'x11vnc -localhost -display :0'
or if you have problem with it starting, give some specific details and show any error messages, or exactly how you ran the command to access.
"What we expect you have already Done"
==========
Old Website
======================
For the Birds
==================
What Does a Parrot Know About PTSD?
==========
Old Website
======================
For the Birds
==================
What Does a Parrot Know About PTSD?