<?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>Just My Life</title>
	<atom:link href="http://imrgill.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://imrgill.com</link>
	<description>I&#039;m mrGilL, I&#039;m Newbie Admin</description>
	<lastBuildDate>Thu, 02 Sep 2010 08:25:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>ตัวอย่างการสร้าง Zone บน Solaris 10</title>
		<link>http://imrgill.com/2010/09/01/how-to-create-solaris-containers-zone-in-solaris10.html</link>
		<comments>http://imrgill.com/2010/09/01/how-to-create-solaris-containers-zone-in-solaris10.html#comments</comments>
		<pubDate>Wed, 01 Sep 2010 09:22:43 +0000</pubDate>
		<dc:creator>mrgill</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[solaris 10]]></category>
		<category><![CDATA[solaris containers]]></category>
		<category><![CDATA[zone]]></category>

		<guid isPermaLink="false">http://imrgill.com/?p=595</guid>
		<description><![CDATA[ได้รับมอบหมายงานด่วนมาอีกเช่นเคย โจทย์คือมีเครื่อง Sun มาให้ 1 เครื่อง(Host) แล้วทำ Virtualization บนเครื่อง Sun อีก 3 เครื่อง(Guest) พี่เค้า Guide มาให้ว่าไปศึกษาเรื่อง Zone มา ก็ไปเจอข้อมูลจากเว็บไซต์ต่างประเทศเว็บนึง เลยขอนำมาแปะไว้เป็นวิทยาทานสำหรับผู้ที่กำลังศึกษาเรื่อง Solaris Containers (Zone) ครับ สรุปโดยคร่าวๆ ตามที่ผมเข้าใจได้ว่า Zone เป็น Virtualization รูปแบบนึงซึ่งเป็นของ Sun ผู้ดูแลระบบไม่จำเป็นต้องติดตั้ง Software ใดๆ เพิ่มเติม สำหรับตัวอย่างขั้นตอนการ Config ดูได้จากด่านล่าง ------ Creating a Zone in Solaris 10 ------ ------------------------------------------- To view a list and status of currently [...]]]></description>
			<content:encoded><![CDATA[<p>ได้รับมอบหมายงานด่วนมาอีกเช่นเคย โจทย์คือมีเครื่อง Sun มาให้ 1 เครื่อง(Host) แล้วทำ Virtualization บนเครื่อง Sun อีก 3 เครื่อง(Guest) พี่เค้า Guide มาให้ว่าไปศึกษาเรื่อง Zone มา ก็ไปเจอข้อมูลจากเว็บไซต์ต่างประเทศเว็บนึง เลยขอนำมาแปะไว้เป็นวิทยาทานสำหรับผู้ที่กำลังศึกษาเรื่อง Solaris Containers (Zone) ครับ<br />
สรุปโดยคร่าวๆ ตามที่ผมเข้าใจได้ว่า Zone เป็น Virtualization รูปแบบนึงซึ่งเป็นของ Sun ผู้ดูแลระบบไม่จำเป็นต้องติดตั้ง Software ใดๆ เพิ่มเติม สำหรับตัวอย่างขั้นตอนการ Config ดูได้จากด่านล่าง</p>
<pre>
------ Creating a Zone in Solaris 10 ------
-------------------------------------------

To view a list and status of currently installed zones:
------------------------------------------------------

# zoneadm list -vi 

  ID NAME             STATUS         PATH
   0 global           running        /
   1 jumpstart        running        /u01/zones/jumpstart

To create a new zone:
--------------------

# zonecfg -z &lt;zonename&gt;
     (if the zone has not been configured at all previously, you will receive:

&lt;zonename&gt; No such zone configured
Use 'create' to begin configuring a new zone.
                                                                              )
a full example of zone creation for a zone called 'zone1':
---------------------------------------------------------

# zonecfg -z zone1
zone1: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:zone1> create
zonecfg:zone1> set zonepath=/u01/zones/zone1
zonecfg:zone1> set autoboot=true
zonecfg:zone1> add fs
zonecfg:zone1:fs> set dir=/opt
zonecfg:zone1:fs> set special=/opt
zonecfg:zone1:fs> set type=lofs
zonecfg:zone1:fs> add options [ro,nodevices]
zonecfg:zone1:fs> end
zonecfg:zone1> verify
zonecfg:zone1> add net
zonecfg:zone1:net> set address=10.67.1.151/24
zonecfg:zone1:net> set physical=eri0
zonecfg:zone1:net> end
zonecfg:zone1> verify
zonecfg:zone1> commit
zonecfg:zone1> exit
#
# zoneadm -z zone1 install
Preparing to install zone &lt;zone1&gt;.
Creating list of files to copy from the global zone.
Copying <1887> files to the zone.
Initializing zone product registry.
Determining zone package initialization order.
Preparing to initialize <951> packages on the zone.
Initialized <951> packages on zone.
Zone  is initialized.
Installation of <1> packages was skipped.
Installation of these packages generated warnings:
The file  contains a log of the zone installation.
# zoneadm -z zone1 boot
# zlogin -e \@ -C zone1                               # -e sets the escape sequence for console session
[Connected to zone 'zone1' console]                                  

To Delete a Zone Permanently:
----------------------------

zoneadm -z &lt;zonename&gt; halt
zoneadm -z &lt;zonename&gt; uninstall
zonecfg -z &lt;zonename&gt; delete

To Delete a zone in a weird state:
---------------------------------

If the install get interrupted, or the configuration has problems, the zone can end up in an incomplete
state.  In this state, it is difficult to uninstall or delete, or continue the configuration.  To remove
the incomplete zone and start fresh, do the following:

1. remove the zone entry in /etc/zones/index:

        global:installed:/
        zone1:installed:/u01/zones/zone1
        zone2:installed:/u01/zones/zone2
        zone3:incomplete:/u01/zones/zone3            <-----------

2. delete the xml file associated with the zone under /etc/zones

3. delete the directory associated with the zone (if it has been created)
</pre>
<p>ข้อมูลจาก : <a href="http://www.camelrichard.org/topics/Solaris/Creating_a_Zone_in_Solaris_10" target="_blank">http://www.camelrichard.org/topics/Solaris/Creating_a_Zone_in_Solaris_10</a><br />
รายละเอียดเพิ่มเติม : <a href="http://www.ziddu.com/download/11471764/lidatingServerandApplicationswithSolarisContainers.pdf.html" target="_blank">Consolidating Server and Applications with Solaris Containers.pdf</a></p>
]]></content:encoded>
			<wfw:commentRss>http://imrgill.com/2010/09/01/how-to-create-solaris-containers-zone-in-solaris10.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>วิธีแก้ปัญหา CUPS Print หน้า Classified ออกมาก่อนงานที่สั่งพิมพ์</title>
		<link>http://imrgill.com/2010/08/02/how-to-fix-cups-classified-print-before-print-your-job.html</link>
		<comments>http://imrgill.com/2010/08/02/how-to-fix-cups-classified-print-before-print-your-job.html#comments</comments>
		<pubDate>Mon, 02 Aug 2010 12:36:49 +0000</pubDate>
		<dc:creator>mrgill</dc:creator>
				<category><![CDATA[Daily tips]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[classified]]></category>
		<category><![CDATA[cups]]></category>

		<guid isPermaLink="false">http://imrgill.com/?p=589</guid>
		<description><![CDATA[ไม่ทราบว่าใครเคยเจอปัญหา CUPS Print หน้า Classified ที่แสดงยี่ห้อ Printer และรายละเอียดอื่นๆ บ้างครับ มันเป็นปัญหาคาใจผมมานานละ วันนี้นั่ง Print งานให้เพื่อน ก็เลยต้องสะสางกับมันสักทีเพราะมันทำให้เปลืองกระดาษมาก ขึ้นชื่อว่า Classified ผมก็ลองเข้าไปหาใน /etc/cups ลองเข้าไปในไฟล์ classes.conf แต่ปรากฎว่ายังไม่ใช่คำตอบ มองหาในไฟล์ /etc/cups.conf ก็ยังไม่ใช่ ก็เลยลองเปิดไฟล์ /etc/cups/printers.conf ก็เจอบรรทัดน่าสงสัย นั้นก็คือบรรทัด Info Ricoh Aficio AP610N Location 10.30.1.201 MakeModel Ricoh Aficio AP610N , Postscript-Ricoh 20090617 (OpenPrinting LSB 3.2) DeviceURI socket://10.30.1.201:9100 State Idle StateTime 1280749475 Type 8433876 Filter application/vnd.cups-raw 0 [...]]]></description>
			<content:encoded><![CDATA[<p>ไม่ทราบว่าใครเคยเจอปัญหา CUPS Print หน้า Classified ที่แสดงยี่ห้อ Printer และรายละเอียดอื่นๆ บ้างครับ มันเป็นปัญหาคาใจผมมานานละ วันนี้นั่ง Print งานให้เพื่อน ก็เลยต้องสะสางกับมันสักทีเพราะมันทำให้เปลืองกระดาษมาก ขึ้นชื่อว่า Classified ผมก็ลองเข้าไปหาใน /etc/cups ลองเข้าไปในไฟล์ classes.conf แต่ปรากฎว่ายังไม่ใช่คำตอบ มองหาในไฟล์ /etc/cups.conf ก็ยังไม่ใช่ ก็เลยลองเปิดไฟล์ /etc/cups/printers.conf ก็เจอบรรทัดน่าสงสัย นั้นก็คือบรรทัด</p>
<pre>
<div class="codesnip-container" >Info Ricoh Aficio AP610N
Location 10.30.1.201
MakeModel Ricoh Aficio AP610N , Postscript-Ricoh 20090617 (OpenPrinting LSB 3.2)
DeviceURI socket://10.30.1.201:9100
State Idle
StateTime 1280749475
Type 8433876
Filter application/vnd.cups-raw 0 -
Filter application/vnd.cups-postscript 0 foomatic-rip
Accepting Yes
Shared Yes
<span style="color: #ff0000;">JobSheets classified none</span>
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
Attribute marker-colors \#000000,#000000
Attribute marker-levels -1,-1
Attribute marker-names Toner,Waste Toner
Attribute marker-types toner,wasteToner
Attribute marker-change-time 1280749475</div>
</pre>
<p>ตอนแรกผมลองโดยการใส่ # ไว้หน้าบรรทัด JobSheets ไว้แล้วลอง Restart CUPS</p>
<pre>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">root<span class="sy0">@</span>mrgill-laptop:~<span class="co0"># /etc/init.d/cups restart</span>
&nbsp;<span class="sy0">*</span> Restarting Common Unix Printing System: cupsd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="br0">&#91;</span> OK <span class="br0">&#93;</span></div>
</div>
</pre>
<p>แล้วลองสั่ง print งานใหม่<br />
ผลออกมาเป็นอย่างที่คิด นั้นคือหน้า classified หายไปแว้วววว เย้<br />
ที่นี้ผมลองกลับไปดูที่ไฟล์ /etc/cups/printers.conf ปรากฎว่าไฟล์ /etc/cups/printers.conf ได้เปลี่ยนจาก JobSheets classified none เป็น</p>
<pre>
<div class="codesnip-container" >Info Ricoh Aficio AP610N
Location 10.30.1.201
MakeModel Ricoh Aficio AP610N , Postscript-Ricoh 20090617 (OpenPrinting LSB 3.2)
DeviceURI socket://10.30.1.201:9100
State Idle
StateTime 1280749475
Type 8433876
Filter application/vnd.cups-raw 0 -
Filter application/vnd.cups-postscript 0 foomatic-rip
Accepting Yes
Shared Yes
<span style="color: #ff0000;">JobSheets none none</span>
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
Attribute marker-colors \#000000,#000000
Attribute marker-levels -1,-1
Attribute marker-names Toner,Waste Toner
Attribute marker-types toner,wasteToner
Attribute marker-change-time 1280749475</div>
</pre>
<p>ใครเจอปัญหานี้รบกวนจิตใจอยู่ ก็ลองทำวิธีนี้ไปแก้ปัญหากันดูนะครับ <img src='http://imrgill.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://imrgill.com/2010/08/02/how-to-fix-cups-classified-print-before-print-your-job.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>การติดตั้ง Ultrasurf บน Ubuntu 10.04</title>
		<link>http://imrgill.com/2010/07/29/how-to-install-ultrasurf-on-ubuntu-10-04.html</link>
		<comments>http://imrgill.com/2010/07/29/how-to-install-ultrasurf-on-ubuntu-10-04.html#comments</comments>
		<pubDate>Thu, 29 Jul 2010 15:26:24 +0000</pubDate>
		<dc:creator>mrgill</dc:creator>
				<category><![CDATA[Daily tips]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[dll]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[ultrasurf]]></category>
		<category><![CDATA[wine]]></category>

		<guid isPermaLink="false">http://imrgill.com/?p=586</guid>
		<description><![CDATA[สวัสดีครับ ไม่ค่อยมีเวลา update blog สักเท่าไหร่ วันนี้ว่างๆ หลังเลิกงานก็เลยมาเขียนไรเล่นซะหน่อย ติดจากที่บริษัทผม block facebook/twitter ในช่วงเวลาทำงานปกติ จะเปิดอีกทีก็โน้นหลังห้าโมงเลย แต่ทำงานบางทีมันเครียดๆ อะนะครับ อยากจะไปดูรูปสาวๆ ให้มันชื่นหัวใจ ก็ต้องหาวิธีแหกกฎกันบ้าง ก็ต้องหาโปรแกรมมาช่วยโปรแกรมยอดฮิตใน Windows คงหนีไม่ได้ Ultrasurf ใน Linux ก็มีโปรแกรมที่ทำงานคล้าย Ultrasurf เหมือนกันชื่อ tor + privoxy แต่ค่อนข้าง config ลำบากนิดนึง วันนี้ผมเลยเอา Ultrasurf ที่รันบน Windows มารันบน Ubuntu ซะเลย โดยใช้โปรแกรม Wine เข้ามาช่วย เรามาดูขั้นตอนการทำกัน 0. ติดตั้งโปรแกรม wine โดยใช้คำสั่ง mrgill@mrgill-laptop:~$ sudo apt-get install wine 1. เข้าไปในเว็บ http://www.ultrareach.com/ [...]]]></description>
			<content:encoded><![CDATA[<p>สวัสดีครับ ไม่ค่อยมีเวลา update blog สักเท่าไหร่ วันนี้ว่างๆ หลังเลิกงานก็เลยมาเขียนไรเล่นซะหน่อย ติดจากที่บริษัทผม block facebook/twitter ในช่วงเวลาทำงานปกติ จะเปิดอีกทีก็โน้นหลังห้าโมงเลย แต่ทำงานบางทีมันเครียดๆ อะนะครับ อยากจะไปดูรูปสาวๆ ให้มันชื่นหัวใจ ก็ต้องหาวิธีแหกกฎกันบ้าง ก็ต้องหาโปรแกรมมาช่วยโปรแกรมยอดฮิตใน Windows คงหนีไม่ได้ Ultrasurf ใน Linux ก็มีโปรแกรมที่ทำงานคล้าย Ultrasurf เหมือนกันชื่อ tor + privoxy แต่ค่อนข้าง config ลำบากนิดนึง วันนี้ผมเลยเอา Ultrasurf ที่รันบน Windows มารันบน Ubuntu ซะเลย โดยใช้โปรแกรม Wine เข้ามาช่วย เรามาดูขั้นตอนการทำกัน</p>
<p>0. ติดตั้งโปรแกรม wine โดยใช้คำสั่ง</p>
<pre>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">mrgill<span class="sy0">@</span>mrgill-laptop:~$ <span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> wine</div>
</div>
</pre>
<p>1. เข้าไปในเว็บ http://www.ultrareach.com/ จากนั้นดาวน์โหลด Ultrasurf มาโดยเวอร์ชันปัจจุบันคือ <a href="http://www.ultrareach.com/downloads/ultrasurf/u997.zip">Ultrasurf 9.97</a></p>
<p>2. เมื่อโหลดมาแล้วก็เอาไปแตกไว้ในที่เราชอบได้เลย ซึ่งเมื่อแตกไฟล์ zip ออกมาแล้วก็จะได้ไฟล์ u997.exe</p>
<p style="text-align: center;"><a href="http://farm5.static.flickr.com/4088/4840757224_1f4bacde36.jpg" rel="lightbox[586]"><img class="aligncenter" src="http://farm5.static.flickr.com/4088/4840757224_1f4bacde36.jpg" alt="" width="358" height="239" /></a></p>
<p style="text-align: center;">เมื่อแตกไฟล์ zip ออกมาก็จะได้ไฟล์ u997.exe</p>
<p><span id="more-586"></span></p>
<p style="text-align: left;">3. กำหนดสิทธิ์ให้ไฟล์ u997.exe สามารถ execute ได้โดยคลิกขวาที่ไฟล์ u997.exe แล้วเลือก Properties &gt;&gt; Permission &gt;&gt; ให้ติ๊กที่ช่อง Allow executing file as program แล้วคลิกปุ่ม Close</p>
<p style="text-align: center;"><a href="http://farm5.static.flickr.com/4133/4840757228_801191de17_b.jpg" rel="lightbox[586]"><img class="aligncenter" src="http://farm5.static.flickr.com/4133/4840757228_801191de17_b.jpg" alt="" width="539" height="416" /></a></p>
<p style="text-align: center;">ติ๊ก Allow executing file as program</p>
<p style="text-align: left;">4. เลือก Tab Open With เข้าไปเลือกโปรแกรม Wine Windows Program Loader</p>
<p style="text-align: center;"><a href="http://farm5.static.flickr.com/4110/4841004156_56b6cb334b_b.jpg" rel="lightbox[586]"><img class="aligncenter" src="http://farm5.static.flickr.com/4110/4841004156_56b6cb334b_b.jpg" alt="" width="537" height="416" /></a></p>
<p style="text-align: center;">เลือก Wine Windows Program Loader</p>
<p style="text-align: left;">5. Ultrasurf จำเป็นต้องการไฟล์ mfc42.dll และ msvcp60.dll ซึ่งอยู่ใน %Systemroot%WINDOWS/System32 ของเครื่องที่มี Windows XP หรือดาวน์โหลดได้จาก<a href="http://imrgill.com/myfiles/ultrasurf_req_dll.tar.bz2">ที่นี่</a></p>
<p style="text-align: left;">6. เมื่อโหลดไฟล์ ultrasurf_req_dll.tar.bz2 มาแล้วก็แตกออกมาเลยครับ แล้วนำไฟล์ที mfc42.dll กับ msvcp60.dll ไปไว้ที่ ~/.wine/drive_c/windows/system32 โดยใช้คำสั่ง</p>
<pre>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">mrgill<span class="sy0">@</span>mrgill-laptop:~$ <span class="kw2">mv</span> <span class="sy0">*</span>.dll ~<span class="sy0">/</span>.wine<span class="sy0">/</span>drive_c<span class="sy0">/</span>windows<span class="sy0">/</span>system32<span class="sy0">/</span></div>
</div>
</pre>
<p style="text-align: left;">7. รันไฟล์ u997.exe โดยดับเบิลคลิกที่ u997.exe ได้เลย</p>
<p style="text-align: center;"><a href="http://farm5.static.flickr.com/4087/4840757236_37be31979a.jpg" rel="lightbox[586]"><img class="aligncenter" src="http://farm5.static.flickr.com/4087/4840757236_37be31979a.jpg" alt="" width="360" height="261" /></a></p>
<p style="text-align: center;">หน้าตาโปรแกรม Ultrasurf ก็เหมือนๆ ใน Windows</p>
<p style="text-align: left;">8. ปรับแต่ง Option สักเล็กน้อยโดยคลิกที่ปุ่ม Option แล้วเข้าไปติ๊กที่ Do not use IE แล้วก็ OK</p>
<p style="text-align: center;"><a href="http://farm5.static.flickr.com/4128/4840757238_f1c71411e3.jpg" rel="lightbox[586]"><img class="aligncenter" src="http://farm5.static.flickr.com/4128/4840757238_f1c71411e3.jpg" alt="" width="414" height="385" /></a></p>
<p style="text-align: center;">ติ๊กเลือก Do not use IE หากใครไม่ชอบให้มันแสดงรูปกุญแจสีทองก็ติ๊กเลือกที่ Hide Golden Lock ได้</p>
<p style="text-align: left;">9. โปรแกรม Ultrasurf เราก็พร้อมใช้งานแล้วที่เหลือก็เข้าไปตั้งค่าในโปรแกรม Firefox สักเล็กน้อยเพื่อให้ Firefox เราเข้าเว็บที่เค้า Block ไว้ได้โดยคลิกที่เมนู Edit &gt;&gt; Preferences &gt;&gt; Advanced &gt;&gt; Network &gt;&gt; Settings &gt;&gt; Manual proxy configuration</p>
<p style="text-align: center;"><a href="http://farm5.static.flickr.com/4085/4840149079_3c7786f8a0_b.jpg" rel="lightbox[586]"><img class="aligncenter" src="http://farm5.static.flickr.com/4085/4840149079_3c7786f8a0.jpg" alt="" width="500" height="313" /></a></p>
<p style="text-align: center;">ในช่อง HTTP Proxy กรอก localhost ส่วน Port กรอก 9666 ลงไป</p>
<p style="text-align: left;">10. เครื่องเราก็พร้อมเข้า Facebook กันแว้วววว</p>
<p style="text-align: left;">ต้องขอร้องสาวๆ แฟนคลับอย่ามาเม้นใน wall ผมเยอะนะ เดี่ยวหมี่เหลือง อิอิ</p>
<p style="text-align: left;">Enjoy with Ultrasurf <img src='http://imrgill.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://imrgill.com/2010/07/29/how-to-install-ultrasurf-on-ubuntu-10-04.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solaris 10 error : Not on system console, root logon rejected</title>
		<link>http://imrgill.com/2010/07/17/solaris-10-root-login-via-xmanager-error.html</link>
		<comments>http://imrgill.com/2010/07/17/solaris-10-root-login-via-xmanager-error.html#comments</comments>
		<pubDate>Sat, 17 Jul 2010 11:28:36 +0000</pubDate>
		<dc:creator>mrgill</dc:creator>
				<category><![CDATA[Daily tips]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[solaris 10]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[xmanager]]></category>

		<guid isPermaLink="false">http://imrgill.com/?p=582</guid>
		<description><![CDATA[วันนี้มีงานด่วนเข้ามาคือติดตั้งต้อง login Solaris 10 จาก Xmanager ให้ได้ แต่ตอน Login มันดันมี error &#8220;Not on system console, root logon rejected&#8221; ทำยังไงละทีนี้ ค้นไปค้นมาก็เจอคำตอบใน http://www.computing.net/answers/solaris/solaris-xmanager-root-logon/2163.html ขั้นตอนเค้ามีอยู่ว่า 1. login เข้าระบบผ่าน console หรือ ssh เข้าไปก็ได้ 2. เข้าไปแก้ไขไฟล์ /etc/default/login โดยให้ comment บรรทัด CONSOLE=/dev/console ซะเป็น (หากบันทึกไม่ได้ให้ chmod 644 /etc/default/login ก่อน) #CONSOLE=/dev/console 3. ลอง login อีกทีสิ อิอิ]]></description>
			<content:encoded><![CDATA[<p>วันนี้มีงานด่วนเข้ามาคือติดตั้งต้อง login Solaris 10 จาก Xmanager ให้ได้ แต่ตอน Login มันดันมี error &#8220;Not on system console, root logon rejected&#8221; ทำยังไงละทีนี้ ค้นไปค้นมาก็เจอคำตอบใน http://www.computing.net/answers/solaris/solaris-xmanager-root-logon/2163.html</p>
<p>ขั้นตอนเค้ามีอยู่ว่า<br />
1. login เข้าระบบผ่าน console หรือ ssh เข้าไปก็ได้<br />
2. เข้าไปแก้ไขไฟล์ /etc/default/login โดยให้ comment บรรทัด CONSOLE=/dev/console ซะเป็น (หากบันทึกไม่ได้ให้ chmod 644 /etc/default/login ก่อน)</p>
<p>#CONSOLE=/dev/console</p>
<p>3. ลอง login อีกทีสิ อิอิ</p>
]]></content:encoded>
			<wfw:commentRss>http://imrgill.com/2010/07/17/solaris-10-root-login-via-xmanager-error.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>วิธีติดตั้ง emesene 1.6.3 บน ubuntu 9.10</title>
		<link>http://imrgill.com/2010/07/13/how-to-install-emesene-1-6-3-on-ubuntu-9-10.html</link>
		<comments>http://imrgill.com/2010/07/13/how-to-install-emesene-1-6-3-on-ubuntu-9-10.html#comments</comments>
		<pubDate>Tue, 13 Jul 2010 14:32:54 +0000</pubDate>
		<dc:creator>mrgill</dc:creator>
				<category><![CDATA[Daily tips]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[chat]]></category>
		<category><![CDATA[emesene]]></category>
		<category><![CDATA[im]]></category>
		<category><![CDATA[msn]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://imrgill.com/?p=579</guid>
		<description><![CDATA[ใครที่ใช้ ubuntu และชอบเล่น msn กับโปรแกรม emesene ก็คงรู้ว่าเวอร์ชัน emesene บน ubuntu ก็คือ 1.6.1 ซึ่งตอนนี้ชาวบ้านเค้าไปเวอร์ชัน 1.6.2 กันแล้ว และตอนนี้ก็เพิ่งมีเวอร์ชัน 1.6.3 ออกมา แล้วทำไมเราต้องรอให้มี .deb ออกมาเล่า เรามา update โปรแกรมกันเองเลยดีกว่า ขั้นตอน 1. เข้าไปในหน้า http://emesene.org/download.html แล้วลงมาด้านล่างสุดของหน้าจะมีลิงค์ให้โหลดไฟล์ Source tarball คลิกไปให้ว่อง 2. เมื่อได้ไฟล์ emesene-1.6.3.tar.gz มาแล้วก็ให้ extract ออกมา เราก็จะได้ไดเรกทอรี emesene-1.6.3 3. backup ไดเรกทอรี /usr/share/emesene เดิมเก็บไว้ก่อนก็ได้กันเหนียวโดยใช้คำสั่ง mrgill@mrgill-laptop:~$ sudo mv /usr/share/emesene/ /usr/share/emesene_backup 4. ย้ายไดเรกทอรี emesene-1.6.3 ไปไว้ที่ /usr/share/emesene [...]]]></description>
			<content:encoded><![CDATA[<p>ใครที่ใช้ ubuntu และชอบเล่น msn กับโปรแกรม emesene ก็คงรู้ว่าเวอร์ชัน emesene บน ubuntu ก็คือ 1.6.1 ซึ่งตอนนี้ชาวบ้านเค้าไปเวอร์ชัน 1.6.2 กันแล้ว และตอนนี้ก็เพิ่งมีเวอร์ชัน 1.6.3 ออกมา แล้วทำไมเราต้องรอให้มี .deb ออกมาเล่า เรามา update โปรแกรมกันเองเลยดีกว่า</p>
<p>ขั้นตอน<br />
1. เข้าไปในหน้า <a href="http://emesene.org/download.html">http://emesene.org/download.html</a> แล้วลงมาด้านล่างสุดของหน้าจะมีลิงค์ให้โหลดไฟล์ Source tarball คลิกไปให้ว่อง</p>
<p>2. เมื่อได้ไฟล์ emesene-1.6.3.tar.gz มาแล้วก็ให้ extract ออกมา เราก็จะได้ไดเรกทอรี emesene-1.6.3</p>
<p>3. backup ไดเรกทอรี /usr/share/emesene เดิมเก็บไว้ก่อนก็ได้กันเหนียวโดยใช้คำสั่ง</p>
<pre>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">mrgill<span class="sy0">@</span>mrgill-laptop:~$ <span class="kw2">sudo</span> <span class="kw2">mv</span> <span class="sy0">/</span>usr<span class="sy0">/</span>share<span class="sy0">/</span>emesene<span class="sy0">/</span> <span class="sy0">/</span>usr<span class="sy0">/</span>share<span class="sy0">/</span>emesene_backup</div>
</div>
</pre>
<p>4. ย้ายไดเรกทอรี emesene-1.6.3 ไปไว้ที่ /usr/share/emesene โดยใช้คำสั่ง</p>
<pre>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">mrgill<span class="sy0">@</span>mrgill-laptop:~$ <span class="kw2">sudo</span> <span class="kw2">mv</span> emesene-1.6.3 <span class="sy0">/</span>usr<span class="sy0">/</span>share<span class="sy0">/</span>emesene</div>
</div>
</pre>
<p>5. พร้อมสนุกกับ emesene 1.6.3 กันแล้ว</p>
<p>good luck <img src='http://imrgill.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://imrgill.com/2010/07/13/how-to-install-emesene-1-6-3-on-ubuntu-9-10.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP Warning หลัง Upgrade เป็นเวอร์ชัน 3.0</title>
		<link>http://imrgill.com/2010/06/22/wp-warning-in-function-php.html</link>
		<comments>http://imrgill.com/2010/06/22/wp-warning-in-function-php.html#comments</comments>
		<pubDate>Tue, 22 Jun 2010 02:08:51 +0000</pubDate>
		<dc:creator>mrgill</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://imrgill.com/?p=577</guid>
		<description><![CDATA[เมื่อวานผม upgrade version ของ wordpress ครับหลังลงก็ไม่ได้เช็คอะไรมากมาย upgrade เสร็จเข้าเว็บได้ก็ไม่สนใจละ จนมาถึงวันนี้เพิ่งสังเกตเห็นว่ามี warning เหมือนข้างล่างเลยมานั่งแก้ bug เล่น Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/imrgill/:/tmp:/usr/local/lib/php/) in /home/imrgill/domains/imrgill.com/public_html/wp-includes/functions.php on line 2037 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/imrgill/:/tmp:/usr/local/lib/php/) in /home/imrgill/domains/imrgill.com/public_html/wp-includes/functions.php on line 2028 Warning: is_dir() [...]]]></description>
			<content:encoded><![CDATA[<p>เมื่อวานผม upgrade version ของ wordpress ครับหลังลงก็ไม่ได้เช็คอะไรมากมาย upgrade เสร็จเข้าเว็บได้ก็ไม่สนใจละ จนมาถึงวันนี้เพิ่งสังเกตเห็นว่ามี warning เหมือนข้างล่างเลยมานั่งแก้ bug เล่น</p>
<pre>
<div class="codesnip-container" >Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/imrgill/:/tmp:/usr/local/lib/php/) in /home/imrgill/domains/imrgill.com/public_html/wp-includes/functions.php  on line 2037

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/imrgill/:/tmp:/usr/local/lib/php/) in /home/imrgill/domains/imrgill.com/public_html/wp-includes/functions.php on line 2028

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/imrgill/:/tmp:/usr/local/lib/php/) in /home/imrgill/domains/imrgill.com/public_html/wp-includes/functions.php on line 2037</div>
</pre>
<p>ิวิธีแก้ก็ไม่ยากครับไปแก้ไขไฟล์ /wp-includes/functions.php แล้วไปที่บรรทัด 2028 และ 2037 อย่างที่มันบอกแล้วก็ไปใส่เครื่องหมาย &#8220;@&#8221; ไว้หน้า function file_exist แล้วก็ is_dir ที่อยู่ในวงเล็บ if ก็เป็นอันหายจากอาการ warning ครับ</p>
<pre>
<div class="codesnip-container" >
<div class="php codesnip" style="font-family:monospace;"><span class="kw1">if</span> <span class="br0">&#40;</span> <span class="sy0">@</span><a href="http://www.php.net/file_exists"><span class="kw3">file_exists</span></a><span class="br0">&#40;</span> <span class="re0">$target</span> <span class="br0">&#41;</span> <span class="br0">&#41;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> <span class="sy0">@</span><a href="http://www.php.net/is_dir"><span class="kw3">is_dir</span></a><span class="br0">&#40;</span> <span class="re0">$target</span> <span class="br0">&#41;</span><span class="sy0">;</span>

&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// Attempting to create the directory may clutter up our display.</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span> <span class="sy0">@</span><a href="http://www.php.net/mkdir"><span class="kw3">mkdir</span></a><span class="br0">&#40;</span> <span class="re0">$target</span> <span class="br0">&#41;</span> <span class="br0">&#41;</span> <span class="br0">&#123;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$stat</span> <span class="sy0">=</span> <span class="sy0">@</span><a href="http://www.php.net/stat"><span class="kw3">stat</span></a><span class="br0">&#40;</span> <a href="http://www.php.net/dirname"><span class="kw3">dirname</span></a><span class="br0">&#40;</span> <span class="re0">$target</span> <span class="br0">&#41;</span> <span class="br0">&#41;</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$dir_perms</span> <span class="sy0">=</span> <span class="re0">$stat</span><span class="br0">&#91;</span><span class="st_h">'mode'</span><span class="br0">&#93;</span> <span class="sy0">&amp;</span> <span class="nu8">0007777</span><span class="sy0">;</span> &nbsp;<span class="co1">// Get the permission bits.</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sy0">@</span><a href="http://www.php.net/chmod"><span class="kw3">chmod</span></a><span class="br0">&#40;</span> <span class="re0">$target</span><span class="sy0">,</span> <span class="re0">$dir_perms</span> <span class="br0">&#41;</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> <span class="kw4">true</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span> <span class="kw1">elseif</span> <span class="br0">&#40;</span> <span class="sy0">@</span><a href="http://www.php.net/is_dir"><span class="kw3">is_dir</span></a><span class="br0">&#40;</span> <a href="http://www.php.net/dirname"><span class="kw3">dirname</span></a><span class="br0">&#40;</span> <span class="re0">$target</span> <span class="br0">&#41;</span> <span class="br0">&#41;</span> <span class="br0">&#41;</span> <span class="br0">&#123;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> <span class="kw4">false</span><span class="sy0">;</span> 

&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span></div>
</div>
</pre>
<p>สำหรับใครที่ใช้ plugin WP Super Cache หลังจากแก้ไขไฟล์ function.php แล้วก็อย่าลืมไปเคลียร์ cache ด้วยนะครับ</p>
<p>หวังว่าคงเป็นประโยชน์กับเพื่อนร่วมโลก WP</p>
]]></content:encoded>
			<wfw:commentRss>http://imrgill.com/2010/06/22/wp-warning-in-function-php.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>อย่างนี้สิถึงจะเรียก &#8220;ใจนักเลง&#8221; ของจริง</title>
		<link>http://imrgill.com/2010/05/17/%e0%b9%83%e0%b8%88%e0%b8%99%e0%b8%b1%e0%b8%81%e0%b9%80%e0%b8%a5%e0%b8%87.html</link>
		<comments>http://imrgill.com/2010/05/17/%e0%b9%83%e0%b8%88%e0%b8%99%e0%b8%b1%e0%b8%81%e0%b9%80%e0%b8%a5%e0%b8%87.html#comments</comments>
		<pubDate>Sun, 16 May 2010 17:22:15 +0000</pubDate>
		<dc:creator>mrgill</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[we love the king]]></category>

		<guid isPermaLink="false">http://imrgill.com/?p=573</guid>
		<description><![CDATA[ไม่อยากพูดมากไปฟังกันเอง บอกได้คำเดียวโดน]]></description>
			<content:encoded><![CDATA[<p>ไม่อยากพูดมากไปฟังกันเอง บอกได้คำเดียวโดน</p>
<p style="text-align: center;">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/qtgJMOEREMw&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/qtgJMOEREMw&amp;hl=en_US&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://imrgill.com/2010/05/17/%e0%b9%83%e0%b8%88%e0%b8%99%e0%b8%b1%e0%b8%81%e0%b9%80%e0%b8%a5%e0%b8%87.html/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>คลิปตีหัวแมวน่ารักๆ ตลกๆ  Whack a Kitty</title>
		<link>http://imrgill.com/2010/05/16/clip-whack-a-kitty.html</link>
		<comments>http://imrgill.com/2010/05/16/clip-whack-a-kitty.html#comments</comments>
		<pubDate>Sun, 16 May 2010 03:38:17 +0000</pubDate>
		<dc:creator>mrgill</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[clip]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[joke]]></category>
		<category><![CDATA[whack a kitty]]></category>

		<guid isPermaLink="false">http://imrgill.com/?p=572</guid>
		<description><![CDATA[วันก่อนเปิดทีวีเจอคลิปนี้รายการข่าว เห็นว่าตลกดีเลยเอามาให้เพื่อนๆ ได้ดู]]></description>
			<content:encoded><![CDATA[<p>วันก่อนเปิดทีวีเจอคลิปนี้รายการข่าว เห็นว่าตลกดีเลยเอามาให้เพื่อนๆ ได้ดู</p>
<p style="text-align: center;">
<div><object width="512" height="322"><param name="movie" value="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.46" /><param name="allowFullScreen" value="true" /><param name="AllowScriptAccess" VALUE="always" /><param name="bgcolor" value="#000000" /><param name="flashVars" value="id=13535434&#038;vid=5102912&#038;lang=en-us&#038;intl=us&#038;thumbUrl=&#038;embed=1" /><embed src="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.46" type="application/x-shockwave-flash" width="512" height="322" allowFullScreen="true" AllowScriptAccess="always" bgcolor="#000000" flashVars="id=13535434&#038;vid=5102912&#038;lang=en-us&#038;intl=us&#038;thumbUrl=&#038;embed=1" ></embed></object></div></p>
]]></content:encoded>
			<wfw:commentRss>http://imrgill.com/2010/05/16/clip-whack-a-kitty.html/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HP ProLiant ML350 Gx And Windows Server 2008 Hyper-V Hypervisor is not running</title>
		<link>http://imrgill.com/2010/05/15/hp-proliant-ml350-gx-and-windows-server-2008-hyper-v-hypervisor-is-not-running.html</link>
		<comments>http://imrgill.com/2010/05/15/hp-proliant-ml350-gx-and-windows-server-2008-hyper-v-hypervisor-is-not-running.html#comments</comments>
		<pubDate>Sat, 15 May 2010 06:11:30 +0000</pubDate>
		<dc:creator>mrgill</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[hyper-v]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://imrgill.com/?p=571</guid>
		<description><![CDATA[ใครเจอปัญหารัน Hyper-V แล้วขึ้น Error “The virtual machine could not be started because the hypervisor is not running” ทั้งที่เราก็เปิด Hardware Virtualization ใน BIOS แล้วลองเข้าไปใน BIOS แล้ว Enable Advanced>Processor Options>No-Execute Memory ดูครับ]]></description>
			<content:encoded><![CDATA[<p>ใครเจอปัญหารัน Hyper-V แล้วขึ้น Error “The virtual machine could not be started because the hypervisor is not running” ทั้งที่เราก็เปิด Hardware Virtualization ใน BIOS แล้วลองเข้าไปใน BIOS แล้ว Enable Advanced>Processor Options>No-Execute Memory ดูครับ</p>
]]></content:encoded>
			<wfw:commentRss>http://imrgill.com/2010/05/15/hp-proliant-ml350-gx-and-windows-server-2008-hyper-v-hypervisor-is-not-running.html/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Daily Tips : วิธีเปิด X Windows มากกว่าหนึ่งหน้าจอ</title>
		<link>http://imrgill.com/2010/04/28/how-to-run-multiple-x-session.html</link>
		<comments>http://imrgill.com/2010/04/28/how-to-run-multiple-x-session.html#comments</comments>
		<pubDate>Wed, 28 Apr 2010 14:32:31 +0000</pubDate>
		<dc:creator>mrgill</dc:creator>
				<category><![CDATA[Daily command]]></category>
		<category><![CDATA[Daily tips]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[session]]></category>
		<category><![CDATA[x windows]]></category>

		<guid isPermaLink="false">http://imrgill.com/?p=570</guid>
		<description><![CDATA[วันนี้ได้รับ News letter จากเว็บ cyberciti.biz ฉบับนึงมีบทความน่าสนใจเรื่อง Linux / UNIX: Run Multiple X Sessions ผมเลยคลิกตามไปดู ก็เป็นเรื่องการ Start X Windows ของ Linux ขึ้นมาอีก Session นึงนั่นเอง Vivek เค้าเขียนบอกไว้ว่า ปกติแล้วเวลาที่เราเปิด Linux ขึ้นมาแล้วเข้าหน้า X Windows แล้ว X Windows นั้นจะอยู่ที่ Screen 0 เราสามารถ Start X Windows เพิ่มเติมได้อีกโดยการกำหนดหมายเลข Screen ต่อท้าย ซึ่งมีขั้นตอนดังนี้ 1. กด CTRL + ALT + F1 เพื่อเข้าหน้า Console tty1 แล้วกรอกข้อมูล [...]]]></description>
			<content:encoded><![CDATA[<p>วันนี้ได้รับ News letter จากเว็บ <a href="http://www.cyberciti.biz">cyberciti.biz</a> ฉบับนึงมีบทความน่าสนใจเรื่อง <a href="http://www.cyberciti.biz/faq/running-multiple-x-sessions/">Linux / UNIX: Run Multiple X Sessions</a> ผมเลยคลิกตามไปดู ก็เป็นเรื่องการ Start X Windows ของ Linux ขึ้นมาอีก Session นึงนั่นเอง Vivek เค้าเขียนบอกไว้ว่า ปกติแล้วเวลาที่เราเปิด Linux ขึ้นมาแล้วเข้าหน้า X Windows แล้ว X Windows นั้นจะอยู่ที่ Screen 0 เราสามารถ Start X Windows เพิ่มเติมได้อีกโดยการกำหนดหมายเลข Screen ต่อท้าย</p>
<p><strong>ซึ่งมีขั้นตอนดังนี้</strong><br />
1. กด CTRL + ALT + F1 เพื่อเข้าหน้า Console tty1 แล้วกรอกข้อมูล login ให้เรียบร้อย<br />
2. รันคำสั่ง startx</p>
<pre>
<div class="codesnip-container" >mrgill@mrgill-laptop:~$ starx -- :1</div>
</pre>
<p>3. หากต้องการรัน X Windows เพิ่มอีก Session ก็ให้กด CTRL + ALT + F2 แล้วกรอกข้อมูล login ให้เรียบร้อยเหมือนเดิม จากนั้นรันคำสั่ง startx</p>
<pre>
<div class="codesnip-container" >mrgill@mrgill-laptop:~$ starx -- :2</div>
</pre>
<p style="text-align: left;"><img class="aligncenter" src="http://farm5.static.flickr.com/4022/4560737158_611ddbc1df.jpg" alt="" /><br />
เราก็จะมี X Windows 3 Session นั่นก็คือ Session ที่ Screen 0 &#8211; 2</p>
<p>4. หากต้องการสลับหน้าจอกับมาที่ Screen 0 ให้กด CTRL + ALT + F7<br />
หากต้องการเปลี่ยนมาที่ Screen 1 ให้กด CTRL + ALT + F8<br />
และถ้าอยากกลับมาที่ Screen 2 ก็กด CTRL + ALT + F9</p>
<p>เราสามารถรัน X Windows ได้สูงสุดถึง 6 Session คือ login เข้า tty1 &#8211; tty6 ได้โดยการกด CTRL + ALT + F1 ไปจนถึง F6 แล้วใช้คำสั่ง startx ตามด้วย Screen id ตามตัวอย่างด้านบน<br />
และเรียกเข้า X Windows ได้โดยกด CTRL + ALT + F7 ไปจนถึง F12</p>
<p>เป็นทิปที่ผมเองก็เพิ่งรู้และได้ทดสอบแล้วว่าใช้งานได้จริง</p>
<p>แหล่งข้อมูล : <a href="http://www.cyberciti.biz/faq/running-multiple-x-sessions/">http://www.cyberciti.biz/faq/running-multiple-x-sessions/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://imrgill.com/2010/04/28/how-to-run-multiple-x-session.html/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
