勇者コレクター攻略日記

元々はプロのプログラマがレビューする転職情報。今は勇者コレクターの攻略がメイン

Ubuntu10.04にvncserverを入れてみる

   

元々はlftpで上手くファイルが取れないから
「mirror: Access failed: 404 Not Found」
gftpを試そうとしたぞって話。

>sudo aptitude install vncserver
ってやったら入らなかったけど
それはvncserverじゃなくて
vnc-serverだからだった

>sudo aptitude install vnc-server

Reading package lists… Done
Building dependency tree
Reading state information… Done
Reading extended state information
Initializing package states… Done
“vnc-server” is a virtual package provided by:
vnc4server tightvncserver
You must choose one to install.
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 225 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Reading package lists… Done
Building dependency tree
Reading state information… Done
Reading extended state information
Initializing package states… Done

「vnc4server」か「tightvncserver」を選べだって
じゃあvnc4server

>sudo aptitude install vnc4server
Reading package lists… Done
Building dependency tree
Reading state information… Done
Reading extended state information
Initializing package states… Done
The following NEW packages will be installed:
vnc4server xbase-clients{a}
0 packages upgraded, 2 newly installed, 0 to remove and 225 not upgraded.
Need to get 1,928kB of archives. After unpacking 5,038kB will be used.
Do you want to continue? [Y/n/?] Y
Writing extended state information… Done
Get:1 http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/main xbase-clients 1:7.5+5ubuntu1.1 [7,246B]
Get:2 http://jp.archive.ubuntu.com/ubuntu/ lucid/universe vnc4server 4.1.1+xorg4.3.0-37ubuntu2 [1,921kB]
Fetched 1,928kB in 1s (1,263kB/s)
tar: ./postinst: time stamp 2012-01-19 03:47:48 is 337605345.831384908 s in the future
tar: ./preinst: time stamp 2012-01-19 03:47:48 is 337605345.830863912 s in the future
tar: ./postrm: time stamp 2012-01-19 03:47:48 is 337605345.830670528 s in the future
tar: ./control: time stamp 2012-01-19 03:47:51 is 337605348.830564021 s in the future
tar: .: time stamp 2012-01-19 03:47:52 is 337605349.83047582 s in the future
Selecting previously deselected package xbase-clients.
(Reading database … 128163 files and directories currently installed.)
Unpacking xbase-clients (from …/xbase-clients_1%3a7.5+5ubuntu1.1_all.deb) …
tar: ./postinst: time stamp 2010-04-10 01:06:19 is 281522053.899174904 s in the future
tar: ./prerm: time stamp 2010-04-10 01:06:19 is 281522053.898755268 s in the future
tar: ./md5sums: time stamp 2010-04-10 01:06:24 is 281522058.898649602 s in the future
tar: ./control: time stamp 2010-04-10 01:06:23 is 281522057.898555246 s in the future
tar: .: time stamp 2010-04-10 01:06:24 is 281522058.898480678 s in the future
Selecting previously deselected package vnc4server.
Unpacking vnc4server (from …/vnc4server_4.1.1+xorg4.3.0-37ubuntu2_i386.deb) …
Processing triggers for man-db …
Setting up xbase-clients (1:7.5+5ubuntu1.1) …

Setting up vnc4server (4.1.1+xorg4.3.0-37ubuntu2) …
update-alternatives: using /usr/bin/vnc4server to provide /usr/bin/vncserver (vncserver) in auto mode.
update-alternatives: using /usr/bin/Xvnc4 to provide /usr/bin/Xvnc (Xvnc) in auto mode.
update-alternatives: using /usr/bin/x0vnc4server to provide /usr/bin/x0vncserver (x0vncserver) in auto mode.
update-alternatives: using /usr/bin/vnc4passwd to provide /usr/bin/vncpasswd (vncpasswd) in auto mode.
update-alternatives: using /usr/bin/vnc4config to provide /usr/bin/vncconfig (vncconfig) in auto mode.

Reading package lists… Done
Building dependency tree
Reading state information… Done
Reading extended state information
Initializing package states… Done
Writing extended state information… Done

で、vncserver :1でvncserverを起動して、
Windows側はSSH転送設定で、
ローカルで任意のポートをリモートのvncポートに転送設定し、
vnc viewerで接続。

無事にgftpも起動したんだけど、
繋がらないなあ。

gftp over http proxyみたいなページもないし。

結局filezillaを入れる

そしたら、まあこんなエラーが
Error:Proxy handshake failed: ECONNRESET – Connection reset by peer
Error:Connection timed out
Error:Failed to retrieve directory listing
ここからすごい悩んだけど、
結局ftp接続時に使うDNSの設定が変みたいな
動きをしていたので、
proxyをIP直打ちに変更したらうまく動作した。

lftpやgftpも、proxyをIPにしたら
上手く動いてたんだろうか・・・。

もやもやする・・・。

 - 未分類 , ,