1. 程式人生 > >只有一行VNC server running on ’::1:5900' 沒有其他輸出

只有一行VNC server running on ’::1:5900' 沒有其他輸出

本人僅用於儲存,轉載自

【問題】

折騰:

在Ubuntu下安裝QEMU完畢後去測試arm,結果只輸出一行VNC:

?
1 2 [email protected]:arm-test$ qemu-system-arm -kernel zImage.integrator -initrd arm_root.img VNC server running on `127.0.0.1:5900'

沒其他效果:

VNC server running on 127.0.0.1 5900 for qemu test arm

【解決過程】

1.參考:

去先搜尋libsdl:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 [email protected]:arm-test$ apt-cache search libsdl libsdl1.2-dbg - Simple DirectMedia Layer debug files libsdl1.2-dev - Simple DirectMedia Layer development files libsdl1.2debian - Simple DirectMedia Layer maelstrom - An arcade-style game resembling Asteroids. wolf4sdl - SDL-Port of Wolfenstein 3-D and Spear of Destiny
erlang-esdl - Erlang bindings to the Simple Direct Media Library fische - stand-alone sound visualisation for Linux glhack - Fullscreen SDL/OpenGL version of NetHack libalien-sdl-dev-perl - helper  to build  Perl program using SDL libraries libalien-sdl-perl - helper to get, build and use SDL libraries
libsdl-console - Console that can be added to any SDL application, libraries libsdl-console-dev - Console that can be added to any SDL application, development files libsdl-gfx1.2-4 - drawing and graphical effects extension for SDL libsdl-gfx1.2-dev - development files for SDL_gfx libsdl-gfx1.2-doc - documentation files for SDL_gfx libsdl-gst - SDL bindings for GNU Smalltalk libsdl-image-gst - SDL_image bindings for GNU Smalltalk libsdl-image1.2 - Image loading library for Simple DirectMedia Layer 1.2, libraries libsdl-image1.2-dev - Image loading library for Simple DirectMedia Layer 1.2, development files libsdl-mixer-gst - SDL_mixer bindings for GNU Smalltalk libsdl-mixer1.2 - Mixer library for Simple DirectMedia Layer 1.2, libraries libsdl-mixer1.2-dev - Mixer library for Simple DirectMedia Layer 1.2, development files libsdl-net1.2 - Network library for Simple DirectMedia Layer 1.2, libraries libsdl-net1.2-dev - Network library for Simple DirectMedia Layer 1.2, development files libsdl-ocaml - OCaml bindings for SDL - runtime files libsdl-ocaml-dev - OCaml bindings for SDL - development files libsdl-pango-dev - text rendering with Pango in SDL applications (development) libsdl-pango1 - text rendering with Pango in SDL applications (shared library) libsdl-perl - SDL bindings for the Perl language libsdl-ruby - Transitional package for ruby-sdl libsdl-ruby1.8 - Transitional package for ruby-sdl libsdl-ruby1.9.1 - Transitional package for ruby-sdl libsdl-sge - extension of graphic functions for SDL multimedia libraries libsdl-sge-dev - extension of graphic functions for the SDL multimedia, development files libsdl-sound-gst - SDL_sound bindings for GNU Smalltalk libsdl-sound1.2 - Sound library for Simple DirectMedia Layer 1.2, libraries libsdl-sound1.2-dev - Sound library for Simple DirectMedia Layer 1.2, development files libsdl-stretch-0-3 - stretch functions for Simple DirectMedia Layer libsdl-stretch-dev - development files for SDL_stretch library libsdl-ttf-gst - SDL_ttf bindings for GNU Smalltalk libsdl-ttf2.0-0 - TrueType Font library for Simple DirectMedia Layer 1.2, libraries libsdl-ttf2.0-dev - TrueType Font library for Simple DirectMedia Layer 1.2, development files ruby-sdl - Ruby/SDL interface for Ruby [email protected]:arm-test$

看起來就是:libsdl1.2-dev

2.再去安裝libsdl1.2-dev:

?
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 [email protected]:arm-test$ sudo apt-get install libsdl1.2-dev Reading package lists... Done Building dependency tree       Reading state information... Done The following extra packages will be installed: libasound2-dev libavahi-client-dev libavahi-common-dev libcaca-dev libdbus-1-dev libdrm-dev libgl1-mesa-dev libglu1-mesa-dev libkms1 libpng12-dev libpulse-dev libsdl1.2debian libslang2-dev libx11-xcb-dev libxcb-dri2-0-dev libxcb-glx0-dev libxdamage-dev libxext-dev libxfixes-dev libxxf86vm-dev mesa-common-dev x11proto-damage-dev x11proto-dri2-dev x11proto-fixes-dev x11proto-gl-dev x11proto-xext-dev x11proto-xf86vidmode-dev Suggested packages: libasound2-doc libxext-doc The following NEW packages will be installed: libasound2-dev libavahi-client-dev libavahi-common-dev libcaca-dev libdbus-1-dev libdrm-dev libgl1-mesa-dev libglu1-mesa-dev libkms1 libpng12-dev libpulse-dev libsdl1.2-dev libsdl1.2debian libslang2-dev libx11-xcb-dev libxcb-dri2-0-dev libxcb-glx0-dev libxdamage-dev libxext-dev libxfixes-dev libxxf86vm-dev mesa-common-dev x11proto-damage-dev x11proto-dri2-dev x11proto-fixes-dev x11proto-gl-dev x11proto-xext-dev x11proto-xf86vidmode-dev 0 upgraded, 28 newly installed, 0 to remove and 13 not upgraded. Need to get 4,364 kB of archives. After this operation, 16.3 MB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://mirrors.ustc.edu.cn/ubuntu/ raring-updates/main libkms1 i386 2.4.43-0ubuntu1.1 [9,692 B] Get:2 http://mirrors.ustc.edu.cn/ubuntu/ raring/main libsdl1.2debian i386 1.2.15-5ubuntu1 [206 kB] Get:3 http://mirrors.ustc.edu.cn/ubuntu/ raring-updates/main libdrm-dev i386 2.4.43-0ubuntu1.1 [203 kB] Get:4 http://mirrors.ustc.edu.cn/ubuntu/ raring-updates/main mesa-common-dev i386 9.1.3-0ubuntu0.3 [272 kB] Get:5 http://mirrors.ustc.edu.cn/ubuntu/ raring-updates/main libx11-xcb-dev i386 2:1.5.0-1ubuntu1.1 [11.1 kB] Get:6 http://mirrors.ustc.edu.cn/ubuntu/ raring-updates/main libxcb-dri2-0-dev i386 1.8.1-2ubuntu2.1 [10.2 kB] Get:7 http://mirrors.ustc.edu.cn/ubuntu/ raring-updates/main libxcb-glx0-dev i386 1.8.1-2ubuntu2.1 [43.6 kB] Get:8 http://mirrors.ustc.edu.cn/ubuntu/ raring/main x11proto-xext-dev all 7.2.1-1 [265 kB] Get:9 http://mirrors.ustc.edu.cn/ubuntu/ raring/main x11proto-fixes-dev all 1:5.0-2ubuntu1 [15.5 kB] Get:10 http://mirrors.ustc.edu.cn/ubuntu/ raring-updates/main libxfixes-dev i386 1:5.0-4ubuntu5.13.04.1 [12.7 kB] Get:11 http://mirrors.ustc.edu.cn/ubuntu/ raring/main x11proto-damage-dev all 1:1.2.1-2 [8,286 B] Get:12 http://mirrors.ustc.edu.cn/ubuntu/ raring/main libxdamage-dev i386 1:1.1.3-2build2 [5,302 B] Get:13 http://mirrors.ustc.edu.cn/ubuntu/ raring-updates/main libxext-dev i386 2:1.3.1-2ubuntu0.13.04.1 [90.8 kB] Get:14 http://mirrors.ustc.edu.cn/ubuntu/ raring/main x11proto-xf86vidmode-dev all 2.3.1-2 [6,116 B] Get:15 http://mirrors.ustc.edu.cn/ubuntu/ raring-updates/main libxxf86vm-dev i386 1:1.1.2-1ubuntu0.13.04.1 [14.3 kB] Get:16 http://mirrors.ustc.edu.cn/ubuntu/ raring/main x11proto-dri2-dev all 2.8-1 [12.6 kB] Get:17 http://mirrors.ustc.edu.cn/ubuntu/ raring/main x11proto-gl-dev all 1.4.16-1 [22.3 kB] Get:18 http://mirrors.ustc.edu.cn/ubuntu/ raring-updates/main libgl1-mesa-dev i386 9.1.3-0ubuntu0.3 [5,168 B] Get:19 http://mirrors.ustc.edu.cn/ubuntu/ raring-updates/main libasound2-dev i386 1.0.25-4ubuntu3.1 [70.2 kB] Get:20 http://mirrors.ustc.edu.cn/ubuntu/ raring/main libavahi-common-dev i386 0.6.31-1ubuntu3 [42.7 kB] Get:21 http://mirrors.ustc.edu.cn/ubuntu/ raring-updates/main libdbus-1-dev i386 1.6.8-1ubuntu6.1 [195 kB] Get:22 http://mirrors.ustc.edu.cn/ubuntu/ raring/main libavahi-client-dev i386 0.6.31-1ubuntu3 [36.8 kB] Get:23 http://mirrors.ustc.edu.cn/ubuntu/ raring/main libpng12-dev i386 1.2.49-1ubuntu2 [206 kB] Get:24 http://mirrors.ustc.edu.cn/ubuntu/ raring/main libslang2-dev i386 2.2.4-15ubuntu1 [477 kB] Get:25 http://mirrors.ustc.edu.cn/ubuntu/ raring/main libcaca-dev i386 0.99.beta18-1ubuntu1 [877 kB] Get:26 http://mirrors.ustc.edu.cn/ubuntu/ raring/main libglu1-mesa-dev i386 9.0.0-0ubuntu1 [295 kB] Get:27 http://mirrors.ustc.edu.cn/ubuntu/ raring/main libpulse-dev i386 1:3.0-0ubuntu6 [81.8 kB] Get:28 http://mirrors.ustc.edu.cn/ubuntu/ raring/main libsdl1.2-dev i386 1.2.15-5ubuntu1 [869 kB] Fetched 4,364 kB in 6s (711 kB/s)                                                                                                               Selecting previously unselected package libkms1:i386. (Reading database ... 189923 files and directories currently installed.) Unpacking libkms1:i386 (from .../libkms1_2.4.43-0ubuntu1.1_i386.deb) ... Selecting previously unselected package libsdl1.2debian:i386. Unpacking libsdl1.2debian:i386 (from .../libsdl1.2debian_1.2.15-5ubuntu1_i386.deb) ... Selecting previously unselected package libdrm-dev. Unpacking libdrm-dev (from .../libdrm-dev_2.4.43-0ubuntu1.1_i386.deb) ... Selecting previously unselected package mesa-common-dev. Unpacking mesa-common-dev (from .../mesa-common-dev_9.1.3-0ubuntu0.3_i386.deb) ... Selecting previously unselected package libx11-xcb-dev. Unpacking libx11-xcb-dev (from .../libx11-xcb-dev_2%3a1.5.0-1ubuntu1.1_i386.deb) ... Selecting previously unselected package libxcb-dri2-0-dev:i386. Unpacking libxcb-dri2-0-dev:i386 (from .../libxcb-dri2-0-dev_1.8.1-2ubuntu2.1_i386.deb) ... Selecting previously unselected package libxcb-glx0-dev:i386. Unpacking libxcb-glx0-dev:i386 (from .../libxcb-glx0-dev_1.8.1-2ubuntu2.1_i386.deb) ... Selecting previously unselected package x11proto-xext-dev. Unpacking x11proto-xext-dev (from .../x11proto-xext-dev_7.2.1-1_all.deb) ... Selecting previously unselected package x11proto-fixes-dev. Unpacking x11proto-fixes-dev (from .../x11proto-fixes-dev_1%3a5.0-2ubuntu1_all.deb) ... Selecting previously unselected package libxfixes-dev. Unpacking libxfixes-dev (from .../libxfixes-dev_1%3a5.0-4ubuntu5.13.04.1_i386.deb) ... Selecting previously unselected package x11proto-damage-dev. Unpacking x11proto-damage-dev (from .../x11proto-damage-dev_1%3a1.2.1-2_all.deb) ... Selecting previously unselected package libxdamage-dev. Unpacking libxdamage-dev (from .../libxdamage-dev_1%3a1.1.3-2build2_i386.deb) ... Selecting previously unselected package libxext-dev:i386. Unpacking libxext-dev:i386 (from .../libxext-dev_2%3a1.3.1-2ubuntu0.13.04.1_i386.deb) ... Selecting previously unselected package x11proto-xf86vidmode-dev. Unpacking x11proto-xf86vidmode-dev (from .../x11proto-xf86vidmode-dev_2.3.1-2_all.deb) ... Selecting previously unselected package libxxf86vm-dev. Unpacking libxxf86vm-dev (from .../libxxf86vm-dev_1%3a1.1.2-1ubuntu0.13.04.1_i386.deb) ... Selecting previously unselected package x11proto-dri2-dev. Unpacking x11proto-dri2-dev (from .../x11proto-dri2-dev_2.8-1_all.deb) ... Selecting previously unselected package x11proto-gl-dev. Unpacking x11proto-gl-dev (from .../x11proto-gl-dev_1.4.16-1_all.deb) ... Selecting previously unselected package libgl1-mesa-dev. Unpacking libgl1-mesa-dev (from .../libgl1-mesa-dev_9.1.3-0ubuntu0.3_i386.deb) ... Selecting previously unselected package libasound2-dev:i386. Unpacking libasound2-dev:i386 (from .../libasound2-dev_1.0.25-4ubuntu3.1_i386.deb) ... Selecting previously unselected package libavahi-common-dev. Unpacking libavahi-common-dev (from .../libavahi-common-dev_0.6.31-1ubuntu3_i386.deb) ... Selecting previously unselected package libdbus-1-dev:i386. Unpacking libdbus-1-dev:i386 (from .../libdbus-1-dev_1.6.8-1ubuntu6.1_i386.deb) ... Selecting previously unselected package libavahi-client-dev. Unpacking libavahi-client-dev (from .../libavahi-client-dev_0.6.31-1ubuntu3_i386.deb) ... Selecting previously unselected package libpng12-dev. Unpacking libpng12-dev (from .../libpng12-dev_1.2.49-1ubuntu2_i386.deb) ... Selecting previously unselected package libslang2-dev:i386. Unpacking libslang2-dev:i386 (from .../libslang2-dev_2.2.4-15ubuntu1_i386.deb) ... Selecting previously unselected package libcaca-dev. Unpacking libcaca-dev (from .../libcaca-dev_0.99.beta18-1ubuntu1_i386.deb) ... Selecting previously unselected package libglu1-mesa-dev. Unpacking libglu1-mesa-dev (from .../libglu1-mesa-dev_9.0.0-0ubuntu1_i386.deb) ... Selecting previously unselected package libpulse-dev:i386. Unpacking libpulse-dev:i386 (from .../libpulse-dev_1%3a3.0-0ubuntu6_i386.deb) ... Selecting previously unselected package libsdl1.2-dev. Unpacking libsdl1.2-dev (from .../libsdl1.2-dev_1.2.15-5ubuntu1_i386.deb) ... Processing triggers for man-db ... Processing triggers for doc-base ... Processing 1 added doc-base file... Setting up libkms1:i386 (2.4.43-0ubuntu1.1) ... Setting up libsdl1.2debian:i386 (1.2.15-5ubuntu1) ... Setting up libdrm-dev (2.4.43-0ubuntu1.1) ... Setting up mesa-common-dev (9.1.3-0ubuntu0.3) ... Setting up libx11-xcb-dev (2:1.5.0-1ubuntu1.1) ... Setting up libxcb-dri2-0-dev:i386 (1.8.1-2ubuntu2.1) ... Setting up libxcb-glx0-dev:i386 (1.8.1-2ubuntu2.1) ... Setting up x11proto-xext-dev (7.2.1-1) ... Setting up x11proto-fixes-dev (1:5.0-2ubuntu1) ... Setting up libxfixes-dev (1:5.0-4ubuntu5.13.04.1) ... Setting up x11proto-damage-dev (1:1.2.1-2) ... Setting up libxdamage-dev (1:1.1.3-2build2) ... Setting up libxext-dev:i386 (2:1.3.1-2ubuntu0.13.04.1) ... Setting up x11proto-xf86vidmode-dev (2.3.1-2) ... Setting up libxxf86vm-dev (1:1.1.2-1ubuntu0.13.04.1) ... Setting up x11proto-dri2-dev (2.8-1) ... Setting up x11proto-gl-dev (1.4.16-1) ... Setting up libgl1-mesa-dev (9.1.3-0ubuntu0.3) ... Setting up libasound2-dev:i386 (1.0.25-4ubuntu3.1) ... Setting up libavahi-common-dev (0.6.31-1ubuntu3) ... Setting up libdbus-1-dev:i386 (1.6.8-1ubuntu6.1) ... Setting up libavahi-client-dev (0.6.31-1ubuntu3) ... Setting up libpng12-dev (1.2.49-1ubuntu2) ... Setting up libslang2-dev:i386 (2.2.4-15ubuntu1) ... Setting up libcaca-dev (0.99.beta18-1ubuntu1) ... Setting up libglu1-mesa-dev (9.0.0-0ubuntu1) ... Setting up libpulse-dev:i386 (1:3.0-0ubuntu6) ... Setting up libsdl1.2-dev (1.2.15-5ubuntu1) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place [email protected]:arm-test$

3.然後再去重新執行試試效果,結果問題依舊:

?
1 2 3 4 5 6 7 [email protected]:arm-test$ qemu-system-arm -kernel zImage.integrator -initrd arm_root.img VNC server running on `127.0.0.1:5900' ^Cqemu: terminating on signal 2 [email protected]:arm-test$ ^C [email protected]:arm-test$ ^C [email protected]:arm-test$ qemu-system-arm -kernel zImage.integrator -initrd arm_root.img VNC server running on `127.0.0.1:5900'

4.參考:

再去搜索sdl:

?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 [email protected]:arm-test$ apt-cache search sdl libsdl1.2-dbg - Simple DirectMedia Layer debug files libsdl1.2-dev - Simple DirectMedia Layer development files libsdl1.2debian - Simple DirectMedia Layer libwsdl4j-java - Webservice description language for Java libwsdl4j-java-doc - Documentation for Java Web Services Library python-suds - Lightweight SOAP client for Python alien-arena - Standalone 3D first person online deathmatch shooter atari800 - Atari emulator for SDL cytadela - old-school first person shooter game gnuboy-sdl - SDL binaries for gnuboy - Game Boy Emulator maelstrom - An arcade-style game resembling Asteroids. mame - Multiple Arcade Machine Emulator (MAME) mess - Multi Emulator Super System (MESS) mplayer-skins - Skins for the Mplayer package rott - SDL-Port of Rise of the Triad sdlmame - Transitional package for sdlmame sdlmame-tools - Transitional package for sdlmame-tools w3-recs - Recommendations of the World Wide Web Consortium (W3C) wolf4sdl - SDL-Port of Wolfenstein 3-D and Spear of Destiny xmame-sdl - Transitional package for xmame-sdl xmess-sdl - Transitional package for xmess-sdl dgen - Sega Genesis/MegaDrive emulator achilles - An artificial life and evolution simulator anagramarama - fast paced anagram puzzle game using SDL anagramarama-data - fast paced anagram puzzle game using SDL (data files) bochs-sdl - SDL plugin for Bochs briquolo - fast paced 3d Breakout game darkplaces - Game engine for Quake and similar 3D first person shooter games dossizola - An Isola board game with nice graphics dossizola-data - Data files for Do'SSi Zo'la game egoboo - 3D dungeon crawling adventure in the spirit of NetHack egoboo-data - Egoboo data files erlang-esdl - Erlang bindings to the Simple Direct Media Library erlang-esdl-dev - Erlang bindings to the SDL (development files) erlang-esdl-doc - Erlang bindings to the SDL (documentation) fim - a scriptable frame buffer and ascii art image viewer fische - stand-alone sound visualisation for Linux fizmo-common - Provid