Увидели сообщение с непонятной ссылкой, спам, непристойность или оскорбление?Воспользуйтесь ссылкой «Сообщить модератору» рядом с сообщением!
0 Пользователей и 1 Гость просматривают эту тему.
1.5. Для добавления графических изображений в сообщения требуется использовать внешние сервисы. Подробную инструкцию, а так же список рекомендованных и запрещенных сервисов можно посмотреть в «Руководстве по добавлению изображений на форум»
login as: useruser@185.111.219.90's password:Access denieduser@185.111.219.90's password:Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-62-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage Get cloud support with Ubuntu Advantage Cloud Guest: http://www.ubuntu.com/business/services/cloud74 packages can be updated.32 updates are security updates.vncsuser@samp:~$ vncserverCouldn't start Xtightvnc; trying default font path.Please set correct fontPath in the vncserver script.Couldn't start Xtightvnc process.09/05/17 21:32:54 Xvnc version TightVNC-1.3.1009/05/17 21:32:54 Copyright (C) 2000-2009 TightVNC Group09/05/17 21:32:54 Copyright (C) 1999 AT&T Laboratories Cambridge09/05/17 21:32:54 All Rights Reserved.09/05/17 21:32:54 See http://www.tightvnc.com/ for information on TightVNC09/05/17 21:32:54 Desktop name 'X' (samp:1)09/05/17 21:32:54 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t09/05/17 21:32:54 Listening for VNC connections on TCP port 5901Font directory '/usr/share/fonts/X11/misc/' not found - ignoringFont directory '/usr/share/fonts/X11/Type1/' not found - ignoringFont directory '/usr/share/fonts/X11/75dpi/' not found - ignoringFont directory '/usr/share/fonts/X11/100dpi/' not found - ignoringFatal server error:could not open default font 'fixed'09/05/17 21:32:55 Xvnc version TightVNC-1.3.1009/05/17 21:32:55 Copyright (C) 2000-2009 TightVNC Group09/05/17 21:32:55 Copyright (C) 1999 AT&T Laboratories Cambridge09/05/17 21:32:55 All Rights Reserved.09/05/17 21:32:55 See http://www.tightvnc.com/ for information on TightVNC09/05/17 21:32:55 Desktop name 'X' (samp:1)09/05/17 21:32:55 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t09/05/17 21:32:55 Listening for VNC connections on TCP port 5901Font directory '/usr/share/fonts/X11/misc/' not found - ignoringFont directory '/usr/share/fonts/X11/Speedo/' not found - ignoringFont directory '/usr/share/fonts/X11/Type1/' not found - ignoringFont directory '/usr/share/fonts/X11/75dpi/' not found - ignoringFont directory '/usr/share/fonts/X11/100dpi/' not found - ignoringFatal server error:could not open default font 'fixed'user@samp:~$
sudo apt updatesudo apt install xfce4 xfce4-goodies tightvncservervncservervncserver -kill :1mv ~/.vnc/xstartup ~/.vnc/xstartup.baknano ~/.vnc/xstartup
#!/bin/bashxrdb $HOME/.Xresourcesstartxfce4 &sudo chmod +x ~/.vnc/xstartupvncserver
Текст нужно копировать, а не скринить окно терминала.
Давай
sudo apt-get --reinstall install tightvncserver
Цитата: felsme от 10 Мая 2017, 00:35:15ДавайДавать тебе жена будет))Проблема c шрифтами. Покажи вывод:Код: [Выделить]sudo apt-get --reinstall install tightvncserver
Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-62-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage Get cloud support with Ubuntu Advantage Cloud Guest: http://www.ubuntu.com/business/services/cloud74 packages can be updated.32 updates are security updates.user@samp:~$ sudo apt-get --reinstall install tightvncserverE: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.user@samp:~$ sudo dpkg --configure -aSetting up libgtksourceview-3.0-1:amd64 (3.18.2-1) ...Processing triggers for ureadahead (0.100.0-19) ...Setting up ubuntu-mono (14.04+16.04.20161024-0ubuntu1) ...Processing triggers for libgdk-pixbuf2.0-0:amd64 (2.32.2-1ubuntu1.2) ...Setting up libxfce4ui-2-0 (4.12.1-2) ...Setting up mousepad (0.4.0-3ubuntu1) ...Processing triggers for libc-bin (2.23-0ubuntu5) ...Processing triggers for systemd (229-4ubuntu16) ...Setting up libxfce4panel-2.0-4 (4.12.0-3ubuntu2) ...Setting up libkeybinder-3.0-0:amd64 (0.3.1-1) ...Setting up xfce4-goodies (4.12.1) ...Setting up xfce4-pulseaudio-plugin:amd64 (0.2.4-1) ...Setting up xfce4 (4.12.2) ...Processing triggers for libc-bin (2.23-0ubuntu5) ...user@samp:~$user@samp:~$ sudo apt-get --reinstall install tightvncserverReading package lists... DoneBuilding dependency treeReading state information... Done0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 72 not upgraded.Need to get 0 B/633 kB of archives.After this operation, 0 B of additional disk space will be used.(Reading database ... 52637 files and directories currently installed.)Preparing to unpack .../tightvncserver_1.3.10-0ubuntu3_amd64.deb ...Unpacking tightvncserver (1.3.10-0ubuntu3) over (1.3.10-0ubuntu3) ...Processing triggers for man-db (2.7.5-1) ...Setting up tightvncserver (1.3.10-0ubuntu3) ...user@samp:~$user@samp:~$
sudo apt-get install xfonts-base x11-xserver-utils
user@samp:~$ sudo apt-get install xfonts-base x11-xserver-utilsReading package lists... DoneBuilding dependency treeReading state information... DoneThe following additional packages will be installed: libxfont1 xfonts-encodings xfonts-utilsSuggested packages: nickle cairo-5c xorg-docs-coreThe following NEW packages will be installed: libxfont1 x11-xserver-utils xfonts-base xfonts-encodings xfonts-utils0 upgraded, 5 newly installed, 0 to remove and 72 not upgraded.Need to get 6,813 kB of archives.After this operation, 9,020 kB of additional disk space will be used.Get:1 http://nova.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 libxfont1 amd64 1:1.5.1-1 [94.7 kB]Get:2 http://nova.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 x11-xserver-utils amd64 7.7+7 [155 kB]Get:3 http://nova.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 xfonts-encodings all 1:1.0.4-2 [573 kB]Get:4 http://nova.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 xfonts-utils amd64 1:7.7+3 [75.3 kB]Get:5 http://nova.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 xfonts-base all 1:1.0.4+nmu1 [5,914 kB]Fetched 6,813 kB in 6s (1,120 kB/s)Selecting previously unselected package libxfont1:amd64.(Reading database ... 52637 files and directories currently installed.)Preparing to unpack .../libxfont1_1%3a1.5.1-1_amd64.deb ...Unpacking libxfont1:amd64 (1:1.5.1-1) ...Selecting previously unselected package x11-xserver-utils.Preparing to unpack .../x11-xserver-utils_7.7+7_amd64.deb ...Unpacking x11-xserver-utils (7.7+7) ...Selecting previously unselected package xfonts-encodings.Preparing to unpack .../xfonts-encodings_1%3a1.0.4-2_all.deb ...Unpacking xfonts-encodings (1:1.0.4-2) ...Selecting previously unselected package xfonts-utils.Preparing to unpack .../xfonts-utils_1%3a7.7+3_amd64.deb ...Unpacking xfonts-utils (1:7.7+3) ...Selecting previously unselected package xfonts-base.Preparing to unpack .../xfonts-base_1%3a1.0.4+nmu1_all.deb ...Unpacking xfonts-base (1:1.0.4+nmu1) ...Processing triggers for man-db (2.7.5-1) ...Processing triggers for fontconfig (2.11.94-0ubuntu1.1) ...Setting up libxfont1:amd64 (1:1.5.1-1) ...Setting up x11-xserver-utils (7.7+7) ...Setting up xfonts-encodings (1:1.0.4-2) ...Setting up xfonts-utils (1:7.7+3) ...Setting up xfonts-base (1:1.0.4+nmu1) ...Processing triggers for libc-bin (2.23-0ubuntu5) ...user@samp:~$
Дальше запускай vnc сервер и смотри что ему еще не хватает
login as: useruser@185.111.219.90's password:Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-62-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage Get cloud support with Ubuntu Advantage Cloud Guest: http://www.ubuntu.com/business/services/cloud74 packages can be updated.32 updates are security updates.user@samp:~$ vncserverNew 'X' desktop is samp:3Starting applications specified in /home/user/.vnc/xstartupLog file is /home/user/.vnc/samp:3.loguser@samp:~$
Правила форума1.5. Для добавления графических изображений в сообщения требуется использовать внешние сервисы. Подробную инструкцию, а так же список рекомендованных и запрещенных сервисов можно посмотреть в Руководстве по добавлению изображений на форум
У тебя там похоже уже 3 копии сервера запущено, подключайся на :3
адрес не host а host:3ну или позакрывай то что позапускал и снова попробуйvncserver -kill :1vncserver -kill :2vncserver -kill :3
login as: useruser@185.111.219.90's password:Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-62-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage Get cloud support with Ubuntu Advantage Cloud Guest: http://www.ubuntu.com/business/services/cloud74 packages can be updated.32 updates are security updates.user@samp:~$ vncserver -kill :1Killing Xtightvnc process ID 17451user@samp:~$ vncserver -kill :2Killing Xtightvnc process ID 17601user@samp:~$ vncserver -kill :3Killing Xtightvnc process ID 17793user@samp:~$ vncserverNew 'X' desktop is samp:1Starting applications specified in /home/user/.vnc/xstartupLog file is /home/user/.vnc/samp:1.loguser@samp:~$
В файле nano ~/.vnc/xstartup команда для запуска xfce4 по-моему должна быть xfce4-session а не startxfce4.Код: [Выделить]#!/bin/bashxrdb $HOME/.Xresourcesstartxfce4 &И содержимое журнала надо посмотреть если не получится Log file is /home/user/.vnc/samp:1.log
#!/bin/bashxrdb $HOME/.Xresourcesstartxfce4 &
10/05/17 05:47:20 Xvnc version TightVNC-1.3.1010/05/17 05:47:20 Copyright (C) 2000-2009 TightVNC Group10/05/17 05:47:20 Copyright (C) 1999 AT&T Laboratories Cambridge10/05/17 05:47:20 All Rights Reserved.10/05/17 05:47:20 See http://www.tightvnc.com/ for information on TightVNC10/05/17 05:47:20 Desktop name 'X' (samp:1)10/05/17 05:47:20 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t10/05/17 05:47:20 Listening for VNC connections on TCP port 5901Font directory '/usr/share/fonts/X11/Type1/' not found - ignoringFont directory '/usr/share/fonts/X11/75dpi/' not found - ignoringFont directory '/usr/share/fonts/X11/100dpi/' not found - ignoringsh: 1: /home/user/.vnc/xstartup: Permission denied10/05/17 05:47:40 Got connection from client 31.132.225.9810/05/17 05:47:40 Using protocol version 3.810/05/17 05:47:44 Full-control authentication passed by 31.132.225.9810/05/17 05:47:44 Pixel format for client 31.132.225.98:10/05/17 05:47:44 8 bpp, depth 810/05/17 05:47:44 true colour: max r 3 g 3 b 3, shift r 4 g 2 b 010/05/17 05:47:44 Enabling full-color cursor updates for client 31.132.225.9810/05/17 05:47:44 rfbProcessClientNormalMessage: ignoring unknown encoding -22310/05/17 05:47:44 rfbProcessClientNormalMessage: ignoring unknown encoding 1610/05/17 05:47:44 Using hextile encoding for client 31.132.225.9810/05/17 05:47:45 Pixel format for client 31.132.225.98:10/05/17 05:47:45 32 bpp, depth 24, little endian10/05/17 05:47:45 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 010/05/17 05:47:45 no translation needed10/05/17 05:47:45 Enabling full-color cursor updates for client 31.132.225.9810/05/17 05:47:45 rfbProcessClientNormalMessage: ignoring unknown encoding -22310/05/17 05:47:45 Using hextile encoding for client 31.132.225.9810/05/17 05:47:45 rfbProcessClientNormalMessage: ignoring unknown encoding 1610/05/17 05:48:53 Client 31.132.225.98 gone10/05/17 05:48:53 Statistics:10/05/17 05:48:53 key events received 0, pointer events 239910/05/17 05:48:53 framebuffer updates 2, rectangles 4, bytes 80012210/05/17 05:48:53 cursor shape updates 2, bytes 136810/05/17 05:48:53 hextile rectangles 2, bytes 79875410/05/17 05:48:53 raw bytes equivalent 3932184, compression ratio 4.922897
Страница сгенерирована за 0.127 секунд. Запросов: 23.