Kategorie: Linux

Install VNC server on Debian 10

In today's tutorial we will describe the process of installing remote desktop ( vnc) in Debian 10
Feel free to read.

For a start we will update repositories.
Ssh to log in to our server and issue the command:

sudo apt update

Next, install the desktop environment in our case it will be Xfce

sudo apt install xfce4 xfce4-goodies

Go to the installation of the VNC:

sudo apt install tightvncserver

VNC server run the command:

vncserver

You will be asked to give the password to the server so they enter the VNC:

It looks something like this:

You will require a password to access your desktops.

Password:
Verify:

We will now configure the default VNC Server VNC server port is 5901

At the beginning of the stop VNC server:

vncserver -kill :1

is the result:

Killing Xtightvnc process ID 17648

Then we make a backup of the configuration file:

ck ~ / .vnc / Xstartup ~ / .vnc / xstartup.bak

I create a new:

nano ~ / .vnc / Xstartup

The new file should be of such content:

#!/bin/bash
xrdb $HOME/.Xresources
startxfce4 &

Save and give it powers:

sudo chmod +x ~/.vnc/xstartup

We can now run our server vnc command:

vncserver

Theoretically it all, we can connect with our remote desktop on port 5901

Linux

Zobacz komentarze

  • Where to find the answers to why it seems impossible to make this application work ?
    Après l'écran gris (or black, that we can choose !) maintenant l'écran correspond au tuto, mais rien ne s'exécute ?
    It is necessary to install, uninstall how many times ?
    C'est quoi le petit truc en plus ? Pourquoi c'est bon ici et pas là ?

  • A mistake has probably been made here.
    It has to be called :

    vncserver -kill :1

Udostępnij
Opublikowane przez
Linux

Recent posts

KeePass2 2.52 w Ubuntu 22.04

The guide below describes how to install KeePass on Ubuntu. Całość wykonamy za pomocą kilku poleceń

2 years temu

Installing Master PDF editor in Ubuntu 22.04

Master PDF Editor is a comprehensive PDF program, which includes many features. Oprócz tworzenia i edycji

2 years temu

iotop - memory monitoring

Iotop jest prostym narzędziem dla systemów Uniksowych umożliwiającym monitorowanie użycia dowolnego nośnika pamięci flash/hdd/ssd w

2 years temu

Run multiple commands in one cron job

You can separate two or more commands with semicolons (;), Semicolon (;): służy do oddzielania

2 years temu

Changing the exif data of a photo in the Linux terminal

Poniższy poradnik opisuje w jaki sposób za pomocą konsoli możemy dokonać edycji danych zdjęcia exif.

2 years temu

Installing Rocket.Chat Server on Rocky Linux 8

The following guide describes how to install Rocket.Chat on Rocky Linux 8 Całość bardzo prosto zainstalujemy

2 years temu