<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.archhurd.org/index.php?action=history&amp;feed=atom&amp;title=Xorg</id>
	<title>Xorg - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.archhurd.org/index.php?action=history&amp;feed=atom&amp;title=Xorg"/>
	<link rel="alternate" type="text/html" href="https://wiki.archhurd.org/index.php?title=Xorg&amp;action=history"/>
	<updated>2026-05-07T13:36:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.archhurd.org/index.php?title=Xorg&amp;diff=4&amp;oldid=prev</id>
		<title>Z3ntu: Import from https://web.archive.org/web/20120205063543/http://wiki.archhurd.org:80/index.php?title=Xorg&amp;action=edit</title>
		<link rel="alternate" type="text/html" href="https://wiki.archhurd.org/index.php?title=Xorg&amp;diff=4&amp;oldid=prev"/>
		<updated>2018-07-30T11:24:41Z</updated>

		<summary type="html">&lt;p&gt;Import from https://web.archive.org/web/20120205063543/http://wiki.archhurd.org:80/index.php?title=Xorg&amp;amp;action=edit&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Support ==&lt;br /&gt;
&lt;br /&gt;
Xorg was successfully tested on :&lt;br /&gt;
&lt;br /&gt;
* qemu&lt;br /&gt;
* VMware&lt;br /&gt;
* VirtualBox&lt;br /&gt;
* Actual Hardware Installations&lt;br /&gt;
&lt;br /&gt;
== Installing ==&lt;br /&gt;
&lt;br /&gt;
Xorg is available in extra, and so can be installed as simply as anything else:&lt;br /&gt;
&lt;br /&gt;
 pacman -Sy xorg xf86-input-keyboard xf86-input-mouse xf86-video-vesa&lt;br /&gt;
&lt;br /&gt;
You will also need to add &amp;quot;-c&amp;quot; to the CONSOLEOPTS variable in your /etc/rc.conf file. While you are editing rc.conf you also need to set a driver for CONSOLEMOUSE (usually pc_mouse). Once you have done this, reboot.&lt;br /&gt;
&lt;br /&gt;
You should now see a new directory, /dev/cons. This contain the console mouse and keyboard interfaces, but Xorg expects those device nodes to be in different places. If you use a xorg.conf file, you can simply edit it to point to those devices, if not:&lt;br /&gt;
&lt;br /&gt;
 ln -s /dev/cons/kbd /dev/kbd&lt;br /&gt;
 ln -s /dev/cons/mouse /dev/mouse&lt;br /&gt;
&lt;br /&gt;
Additionally, if you wish to run X terminal emulators as a normal user, you need to create the ptyp device:&lt;br /&gt;
&lt;br /&gt;
 cd /dev&lt;br /&gt;
 MAKEDEV ptyp&lt;br /&gt;
&lt;br /&gt;
Now your system is ready to run Xorg.&lt;br /&gt;
&lt;br /&gt;
== .xinitrc ==&lt;br /&gt;
&lt;br /&gt;
The most convenient way to run Xorg is to set up a .xinitrc file starting various programs and suchlike for you when you start the X server. A simple example below, saved as ~/.xinitrc, is sufficient to start openbox:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 &lt;br /&gt;
 exec openbox&lt;br /&gt;
&lt;br /&gt;
The .xinitrc file is executed by whatever interpreter you specify (even python, if you so desire), so it can contain whatever logic or commands you like, for example:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 &lt;br /&gt;
 if &amp;lt;nowiki&amp;gt;[[ &amp;quot;$WM&amp;quot; == &amp;quot;&amp;quot; ]]&amp;lt;/nowiki&amp;gt;; then&lt;br /&gt;
     echo &amp;quot;Starting openbox...&amp;quot;&lt;br /&gt;
     exec openbox&lt;br /&gt;
 else&lt;br /&gt;
     echo &amp;quot;Starting $WM...&amp;quot;&lt;br /&gt;
     exec $WM&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
== Starting X ==&lt;br /&gt;
&lt;br /&gt;
It is advisable to install a window manager, such as openbox, which is currently in the xorg repository.&lt;br /&gt;
&lt;br /&gt;
 pacman -S openbox&lt;br /&gt;
&lt;br /&gt;
Once you have your .xinitrc (or whatever you&amp;#039;re using) and your window manager set up, simply start X:&lt;br /&gt;
&lt;br /&gt;
 startx -- -retro&lt;br /&gt;
&lt;br /&gt;
[[Category:Guides]]&lt;/div&gt;</summary>
		<author><name>Z3ntu</name></author>
	</entry>
</feed>