<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML ><HEAD ><TITLE >Configuring gdm</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="XFree Local Multi-User HOWTO" HREF="index.html"><LINK REL="UP" TITLE="Configuring display managers" HREF="dm_conf.html"><LINK REL="PREVIOUS" TITLE="Configuring xdm and kdm" HREF="dm_conf-xdm_kdm.html"><LINK REL="NEXT" TITLE="Tweaking it" HREF="automation.html"></HEAD ><BODY CLASS="sect1" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >XFree Local Multi-User HOWTO</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="dm_conf-xdm_kdm.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" >Chapter 6. Configuring display managers</TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="automation.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="sect1" ><H1 CLASS="sect1" ><A NAME="dm_conf-gdm" ></A >6.2. Configuring gdm</H1 ><P >Gdm, as a complete rewrite of xdm, uses its own configuration file, <TT CLASS="filename" >/etc/X11/gdm/gdm.conf</TT >. You should locate the definitions of the local X servers and add additional X servers for the number of cards you have. </P ><DIV CLASS="note" ><P ></P ><TABLE CLASS="note" WIDTH="100%" BORDER="0" ><TR ><TD WIDTH="25" ALIGN="CENTER" VALIGN="TOP" ><IMG SRC="../images/note.gif" HSPACE="5" ALT="Note"></TD ><TH ALIGN="LEFT" VALIGN="CENTER" ><B >Note</B ></TH ></TR ><TR ><TD > </TD ><TD ALIGN="LEFT" VALIGN="TOP" ><P ></P ><UL ><LI ><P >SuSE uses:</P ><P ></P ><UL ><LI ><P ><TT CLASS="filename" >/etc/X11/XF86Config</TT ></P ></LI ><LI ><P ><TT CLASS="filename" >/etc/opt/gnome2/gdm/gdm.conf</TT > for gdm2 </P ></LI ></UL ><P ></P ></LI ><LI ><P >Debian uses:</P ><P ></P ><UL ><LI ><P ><TT CLASS="filename" >/etc/gdm/gdm.conf</TT > for gdm </P ><P ><TT CLASS="filename" >/etc/X11/gdm/</TT > is a symbolic link to <TT CLASS="filename" >/etc/gdm/</TT >, so you can use both paths. </P ></LI ></UL ><P ></P ></LI ><LI ><P >Red Hat and Gentoo use:</P ><P ></P ><UL ><LI ><P ><TT CLASS="filename" >/etc/X11/XF86Config</TT ></P ></LI ></UL ></LI ></UL ></TD ></TR ></TABLE ></DIV ><P >Modifications:</P ><DIV CLASS="sect2" ><H2 CLASS="sect2" ><A NAME="AEN1163" ></A >6.2.1. Changes, Part 1</H2 ><P > <TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="programlisting" > ....... [servers] # These are the standard servers. You can add as many you want here # and they will always be started. Each line must start with a unique # number and that will be the display number of that server. Usually just # the 0 server is used. 0=Standard 1=Second ....... </PRE ></FONT ></TD ></TR ></TABLE > Here, you'll have only 0=Standard. For each additional X server you should add a definition, like here, for 1=Second. </P ></DIV ><DIV CLASS="sect2" ><H2 CLASS="sect2" ><A NAME="AEN1167" ></A >6.2.2. Changes, Part 2</H2 ><P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="programlisting" >.............................. # Definition of the standard X server. [server-Standard] name=Standard server command=/usr/X11R6/bin/X0 :0 -deferglyphs 16 -ac vt7 flexible=true [server-Second] name=Second server command=/usr/X11R6/bin/X1 :1 -deferglyphs 16 -xf86config /etc/X11/XF86Config-4.[your card] vt17 flexible=true .............................. </PRE ></FONT ></TD ></TR ></TABLE > And here, the exact definition of the command line for starting the X server, very similar to the definitions in <TT CLASS="filename" >/etc/X11/xdm/Xservers</TT > (the definition of [server-Second] is the additional one).</P ><P >If you use a single XFree configuration file: <TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="programlisting" >.............................. # Definition of the standard X server. [server-Standard] name=Standard server command=/usr/X11R6/bin/X0 :0 -layout first-Xserver -deferglyphs 16 -ac vt7 flexible=true [server-Second] name=Second server command=/usr/X11R6/bin/X1 :1 -layout second-Xserver -deferglyphs 16 vt17 flexible=true .............................. </PRE ></FONT ></TD ></TR ></TABLE > </P ><DIV CLASS="note" ><P ></P ><TABLE CLASS="note" WIDTH="100%" BORDER="0" ><TR ><TD WIDTH="25" ALIGN="CENTER" VALIGN="TOP" ><IMG SRC="../images/note.gif" HSPACE="5" ALT="Note"></TD ><TH ALIGN="LEFT" VALIGN="CENTER" ><B >Note</B ></TH ></TR ><TR ><TD > </TD ><TD ALIGN="LEFT" VALIGN="TOP" ><P >Under older versions of Backstreet Ruby (released before 7. Oct 2003) each console is represented by 8 tty's, so you should use:</P ><P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="programlisting" >.............................. name=Standard server command=/usr/X11R6/bin/X0 :0 -deferglyphs 16 -ac vt7 .............................. name=Second server command=/usr/X11R6/bin/X1 :1 -deferglyphs 16 -xf86config /etc/X11/XF86Config-4.[your card] vt9 ..............................</PRE ></FONT ></TD ></TR ></TABLE ></P ><P >If you use a single XFree configuration file:<TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="programlisting" >.............................. name=Standard server command=/usr/X11R6/bin/X0 :0 -layout first-Xserver -deferglyphs 16 -ac vt7 ...... name=Second server command=/usr/X11R6/bin/X1 :1 -layout second-Xserver -deferglyphs 16 vt9 ..............................</PRE ></FONT ></TD ></TR ></TABLE ></P ></TD ></TR ></TABLE ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="dm_conf-xdm_kdm.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="automation.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Configuring xdm and kdm</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="dm_conf.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Tweaking it</TD ></TR ></TABLE ></DIV ></BODY ></HTML >