Ubuntu настройка TightVNCServer

 

Проверяем установлен ли tightvncserver

на хосте к которому будем удаленно подключаться:

dpkg -l | grep vnc
пакет установлен увидим:
ii tightvncserver 1.3.9-6.4 amd64 virtual network computing server software
 

Установим Tightvncserver

 
если нет, установим его:
sudo apt-get install tightvncserver

Запускаем tightvncserver

(дополнительные ключи запуска ищите в интернете):

tightvncserver :1 -geometry 1024x768 -dpi 96 -nolisten tcp

где
:1 - номер дисплея, который будет доступен по порту 5901
-geometry 1024x768 - разрешение дисплея
-dpi 96 - Dots per inch
будет запрошен пароль (с подтверждением, нужно ввести два раза) и запрос на необходимость ввода пароля на режим "только просмотр", сразу же после этого можно подключиться к дисплею. К примеру из под Windows запустив программу Tightvnc Viewer, и введя

 ipaddress:5901

где ipaddress - айпшник хоста, к которому подключаемся
5901 - порт, на котором доступен дислпей 1, можно в TightVNC Viewer для Windows вводить ipaddress:1

Выведем список запущенных дисплеев

ps aux | grep vnc

Останавливаем дисплей

№1 командой
tightvncserver -kill :1

Установим постоянный пароль для доступа к дисплею

Поскольку дисплей всегда запускается от имени какого либо пользователя, установми пароль для пользователя NameUser, от имени которого мы будем запускать дисплей в автозагрузке (см. далее)

залогинемся под пользователем от имени которого будем запускать дисплей, введя команду и пароль (интересно что su расшифровывается как switch user, а не как super user как многие считают)

su NameUser

введем команду для задания пароля, его необходимо будет ввести два раза и указать необходим ли пароль для режима "только чтение"

tightvncpasswd

пароль записывается в файл

/home/NameUser/.vnc/passwd

удалив этот файл, сбрасывается пароль

Настраиваем отображение дисплея при запуске

Сделаем бекап файла настройки дисплея

sudo cp /home/NameUser/.vnc/xstartup /home/NameUser/.vnc/xstartup.default

заменим содержимое файла дисплея xstartup на

#!/bin/sh
def
export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
gnome-terminal &
Можно добавлять запускаемы программы при старте дислпея через символ &
Можно запустить другой оконный менеджер (он разумеется должен быть установлен, в данном примере запускаеться Gnome), а так же еще много что интересного...
 

Добавим tightvncserver в автозагрузку

создадим скрипт автозапуска для этого перейдем в папку

cd /etc/init.d/

... или создадаем файл скрипта с именем vncserver

touch vncserver

вставляя в файл следующий текст

... или копируем его с сайта командой

wget http://itautsors.ru/vncserver

Выставим на него права

chmod +x /etc/init.d/vncserver

Далее в файле меняем имя пользователя NameUser, на имя пользователя от которого будете запускать, устанавливаете разрешение, номер экрана.

для добавления в автозагрузку выполняем команду

update-rc.d vncserver defaults

для запуска без перезагрузки и вообще запуска и остановки tightvncserver с параметрами указаными в скрипте используйте команды соответветсвенно

/etc/init.d/vncserver start
/etc/init.d/vncserver stop

 

 

Таксаномия: 

Комментарии

cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes

cheap yeezy shoes
Cheap yeezys
air jordans for sale
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
Cheap Jordan 12
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
Cheap Jordan 12
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
Cheap Jordans For Sale
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
Cheap Jordans For Sale
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
Cheap Jordans Men
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
Cheap Jordans Online
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
Cheap Jordans Shoes
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
Cheap Puma Shoes
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
Cheap Real Yeezys
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
Cheap Under Armour Shoes
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
Cheap Under Armour Shoes
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
Cheap Yeezy v2
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
Jordans For Cheap
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
Jordan Shoes Cheap
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes

cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap air jordans
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap adidas shoes
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap curry shoes
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap fake yeezys
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap jordan 11
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap jordans for sale
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap jordan shoes
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap kobes
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap lebron shoes
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap nike shoes
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap nike shoes
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap real jordans
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap real jordans
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap real jordans
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
jordans cheap
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
lebron 12 cheap
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap adidas nmd
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap air force ones
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap air max 90
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap jordan shoes for men
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap jordans online
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap kd shoes
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap kobe shoes
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap lebron 13
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap lebrons
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap nike air max shoes
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap nike roshe
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap retro jordans
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap ultra boost
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap under armour
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap retro jordans
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap yeezys 350
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
cheap yeezys for sale
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
discount jordans
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
jordans for cheap
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
nike roshe run cheap
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
off white cheap
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes
cheap jordans
cheap yeezy shoes
Cheap yeezys
cheap nmd
wholesale nike shoes
cheap yeezy boost 350
cheap nike air max
cheap nike shoes
cheap lebrons
cheap jordan shoes

http://www.topsneakerwholesale.com/
http://www.adidasultraboost.uk/
http://www.adidasyeezy.us.org/
http://www.cheapsnapbackhats.us.com/
http://www.cheapyeezys.fr/
http://www.yeezysboost350.fr/
http://www.adidasyeezy.uk/
http://www.soronshop.com/
http://www.cheapairmax2018.co.uk/
http://www.dearlover.us/
http://www.kickstmall.com/
http://www.adidasultraboost.fr/
http://www.adidasyeezy.fr/
http://www.adidasyeezy350boost.uk/
http://www.adidasyeezy350boost.us.org/
http://www.cheapyeezy350boost.us/
http://www.yeezy350boost.uk.com/
http://www.yeezyboost350.fr/
http://www.yeezyboost350.com.de/
http://www.yeezyboost350forsale.co.uk/
http://www.yeezyboost350forsale.us.org/
http://www.yeezyboost.me.uk/
http://www.yeezyshoes.it/
http://www.yeezyshoes.me.uk/

http://www.airjordansforsale.us.com/
http://www.cheapjordan12.us.com/
http://www.cheapjordans.org/
http://www.cheapjordansforsale.co.uk/
http://www.cheapjordanshoes.org/
http://www.cheapjordansmen.us.com/
http://www.cheapjordansonline.us.org/
http://www.cheapjordansshoes.us.org/
http://www.cheappumashoes.us.com/
http://www.cheaprealyeezys.us.com/
http://www.cheapunderarmourshoes.com/
http://www.cheapyeezyboost350v2.us.com/
http://www.cheapyeezyv2.com/
http://www.jordansforcheap.us.org/
http://www.jordanshoescheap.us.org/

http://www.cheapairjordans.us.org/
http://www.cheapadidasshoes.us.com/
http://www.cheapcurryshoes.us.com/
http://www.cheapfakeyeezys.com/
http://www.cheapjordan11.us.com/
http://www.cheapjordansforsale.us.org/
http://www.cheapjordanshoes.us.org/
http://www.cheapkobes.us.com/
http://www.cheaplebronshoes.us.com/
http://www.cheapnikeshoes.us.org/
http://www.cheapnmd.com/
http://www.cheaprealjordans.us.org/
http://www.cheapyeezys.us.org/
http://www.cheapyeezyshoes.us.com/
http://www.jordanscheap.us.org/
http://www.lebron12cheap.com/
http://www.cheapadidasnmd.us.org/
http://www.cheapairforceones.us.com/
http://www.cheapairmax90.us.org/
http://www.cheapjordanshoesformen.us.com/
http://www.cheapjordansonline.co.uk/
http://www.cheapkdshoes.us.com/
http://www.cheapkobeshoes.us.com/
http://www.cheaplebron13.us.com/
http://www.cheaplebrons.us.com/
http://www.cheapnikeairmaxshoes.us.com/
http://www.cheapnikeroshe.us.com/
http://www.cheapretrojordans.us.org/
http://www.cheapultraboost.us.com/
http://www.cheapunderarmour.us.com/
http://www.cheapyeezyboost350.com/
http://www.cheapyeezys350.com/
http://www.cheapyeezysforsale.us.com/
http://www.discountjordans.us.com/
http://www.jordansforcheap.co.uk/
http://www.nikerosheruncheap.com/
http://www.offwhitecheap.com/
http://www.wholesalenikeshoes.us.com/

Добавить комментарий