Difference between revisions of "XDM"

From ArchWiki
Jump to: navigation, search
(update templates, see Help:Style)
(Create 'Troubleshooting' section. Add note about dbus requirement.)
Line 62: Line 62:
  
 
The changes will now give you a random wallpaper image and move the login prompt to the botom-right edge of the screen.
 
The changes will now give you a random wallpaper image and move the login prompt to the botom-right edge of the screen.
 +
 +
==Troubleshooting==
 +
 +
===XDM loops back to itself after login===
 +
 +
The current version of the {{Pkg|xorg-xdm}} package, available in the [[Official Repositories]] is patched to register sessions with [[ConsoleKit]] by default.  If ConsoleKit is not running, XDM will fail to succesfully launch an X session.  [[D-Bus]] can be used invoke ConsoleKit when called upon by XDM.
 +
 +
Make sure that the {{pkg|dbus}} package, available in the [[Official Repositories]] is installed and then make sure {{ic|dbus}} is included in the {{ic|DAEMONS}} array in {{ic|/etc/rc.conf}}.
 +
 +
{{hc|/etc/rc.conf|2=
 +
DAEMONS=(... '''dbus''' ...)}}

Revision as of 23:39, 24 December 2011

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

Template:Article summary start Template:Article summary text Template:Article summary heading Template:Article summary wiki Template:Article summary end

From XDM manual page:

Xdm manages a collection of X displays, which may be on the local host or remote servers. The design of xdm was guided by the needs of X terminals as well as The Open Group standard XDMCP, the X Display Manager Control Protocol. Xdm provides services similar to those provided by init, getty and login on character terminals: prompting for login name and password, authenticating the user, and running a "session."

XDM provides a simple and straightforward graphical login prompt.

Installation

Install XDM:

# pacman -S xorg-xdm xorg-xconsole

Make .xsession executable:

$ chmod 744 .xsession

Optionally, install the Arch Linux theme for XDM:

# pacman -S xdm-archlinux

See Display Manager for additional information.

Background wallpaper

Here are some tips to make XDM look nicer:

  • Install the Quick Image Viewer:
# pacman -S qiv
  • Make a directory to store background images. (e.g. /root/backgrounds or /usr/local/share/backgrounds)
  • Place your images in the directory. If you do not have any try [1] for starters.
  • Edit /etc/X11/xdm/Xsetup_0. Change the xconsole command to:
 /usr/bin/qiv -zr /root/backgrounds/*
  • Edit /etc/X11/xdm/Xresources. Add/replace the following defines:
 xlogingreetFont:  -adobe-helvetica-bold-o-normal--20------iso8859-1
 xloginfont:       -adobe-helvetica-medium-r-normal--14------iso8859-1
 xloginpromptFont: -adobe-helvetica-bold-r-normal--14------iso8859-1
 xloginfailFont:   -adobe-helvetica-bold-r-normal--14------iso8859-1
 xlogin*frameWidth: 1
 xlogin*innerFramesWidth: 1
 xlogin*logoPadding: 0
 xlogin*geometry:    300x175-0-0

Comment out the logo defines:

 #xlogin*logoFileName: /usr/X11R6/lib/X11/xdm/pixmaps/xorg.xpm
 #xlogin*logoFileName: /usr/X11R6/lib/X11/xdm/pixmaps/xorg-bw.xpm

For the exact meaning of the definitions, see the man page of xdm.

  • Update /etc/pacman.conf so the changes do not get erased:
 ~NoUpgrade   = etc/X11/xdm/Xsetup_0 etc/X11/xdm/Xresources

The changes will now give you a random wallpaper image and move the login prompt to the botom-right edge of the screen.

Troubleshooting

XDM loops back to itself after login

The current version of the xorg-xdm package, available in the Official Repositories is patched to register sessions with ConsoleKit by default. If ConsoleKit is not running, XDM will fail to succesfully launch an X session. D-Bus can be used invoke ConsoleKit when called upon by XDM.

Make sure that the dbus package, available in the Official Repositories is installed and then make sure dbus is included in the DAEMONS array in /etc/rc.conf.

/etc/rc.conf
DAEMONS=(... dbus ...)