<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>詹姆士隨想曲&#187; linux</title>
	<atom:link href="http://2friend.org/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://2friend.org</link>
	<description>這個BLOG是我用來發表感想，記錄生活點滴，最好沒有熟人看</description>
	<lastBuildDate>Sun, 01 Aug 2010 04:58:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>在Mac OSX上使用vnc登入遠端linux</title>
		<link>http://2friend.org/2009/05/17/%e5%9c%a8mac-osx%e4%b8%8a%e4%bd%bf%e7%94%a8vnc%e7%99%bb%e5%85%a5%e9%81%a0%e7%ab%aflinux/</link>
		<comments>http://2friend.org/2009/05/17/%e5%9c%a8mac-osx%e4%b8%8a%e4%bd%bf%e7%94%a8vnc%e7%99%bb%e5%85%a5%e9%81%a0%e7%ab%aflinux/#comments</comments>
		<pubDate>Sun, 17 May 2009 08:37:42 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[網路]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[vnc]]></category>

		<guid isPermaLink="false">http://2friend.org/?p=496</guid>
		<description><![CDATA[我一直對vnc不了解，並且有點想試試看遠端進入機房中的 CentOS主機（雖然我對ssh以及命令行管理並不陌生），於是利用週末找了一些資料，試著遠端進入linux主機，先看看最終的結果圖示吧。
好，現在來看看要怎麼設定：

先檢查是否有vnc
rpm -q vnc vnc-server
有的話，就會出現vnc的版本號：vnc-server-4.0-8.1
好，再來，編輯 /etc/sysconfig/vncservers

# Use 『-nohttpd』 to prevent web-based VNC clients connecting.
# Use 『-localhost』 to prevent remote VNC clients connecting except when
# doing so through a secure tunnel.  See the 『-via』 option in the
# `man vncviewer&#8217; manual page.
VNCSERVERS=』2:james』
VNCSERVERARGS[2]=』-geometry 800&#215;600&#8243;
設置 vncpasswd，使用 vncpasswd 來設定用戶 james 的vnc密碼
這一步做好之後才可以去啟動 vnc server 並且會在 /home/james/.vnc 裡面會有產生一些檔案配置，主要我們要注意的就是 xstartup 這個檔案。
我是這樣設的：

#!/bin/sh
# Uncomment the following two [...]]]></description>
		<wfw:commentRss>http://2friend.org/2009/05/17/%e5%9c%a8mac-osx%e4%b8%8a%e4%bd%bf%e7%94%a8vnc%e7%99%bb%e5%85%a5%e9%81%a0%e7%ab%aflinux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
