File: tag_xdmthread.html

package info (click to toggle)
lg-issue28 3-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 2,396 kB
  • ctags: 160
  • sloc: makefile: 36; sh: 4
file content (134 lines) | stat: -rw-r--r-- 5,823 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!--startcut =======================================================  -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<TITLE>The Answer Guy 28: LinuxGazette Mar 1998: xdm Login doesn't! </TITLE> 
</head>

<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#A000A0"
ALINK="#FF0000">
<!--endcut =========================================================  -->
<H4>"Linux Gazette...<I>making Linux just a little more fun!</I>"
</H4>
<P> <hr> <P>

<!-- ===============================================================  -->
<H1 align="center"><A NAME="answer">
<img src="../gx/dennis/qbubble.gif" alt="" border="0" align="middle">
<a href="./lg_answer28.html">The Answer Guy</a>
<img src="../gx/dennis/bbubble.gif" alt="" border="0" align="middle">
</A></H1> <BR>
<H4 align="center">By James T. Dennis,
<a href="mailto:answerguy@ssc.com">answerguy@ssc.com</a><BR>
Starshine Technical Services, 
<A HREF="http://www.starshine.org/">http://www.starshine.org/</A> </H4>
<p><hr><p>

<p>The <a href="../issue26/lg_answer26.html#login">original message</a> 
	referred to was sent by Cesar Augusto Kant Grossmann.</p>

<hr width="40%" align="center">

<H3><img src="../gx/dennis/qbub.gif" alt="(?)" width="50" height="28"
	align="left" border="0">LinuxGazette Mar 1998: xdm Login doesn't! </H3>

<p><strong>From Milton L. Hankins on Mon, 30 Mar 1998 </strong></p>

<p><strong>
Actually, it sounds like Cesar's <tt>.xsession</tt> script is exiting before he
performs his usual "logout" action.</strong></p>

<p><strong>Cesar, does the user account have a <tt>.xsession</tt> file in the 
home directory?  If not, create one.  The simplest one would contain the
line "<tt>fvwm</tt>" or "<tt>xterm</tt>".</strong></p>

<blockquote><img src="../gx/dennis/bbub.gif" width="50" height="28" alt="(!)"
	align="left" border="0">Milton,
<br><br>
 Wouldn't this show up as a problem when he ran '<tt>startx</tt>' as well?

<br><br>
 As I've said before my practical grasp of X is pretty weak -- but
 I do understand the concept of a '<em>session manager</em>.'  Most X clients
 in your start up script are started in the background (with trailing 
 ampersand in shell script syntax).  However one (usually the last
 item executed by the script) must be started in the "foreground."  
 This client, whether it is a window managers, an '<tt>xterm</tt>' or even 
'<tt>xclock</tt>'
 will be the "session manager."  When you exit or kill the session manager
 the X server takes that as a hint to close down (returning you to a shell
 prompt if you used '<tt>startx</tt>' or to an <tt>xdm</tt> login screen 
if you started the session graphically.
<br><br>

 Can you clarify the differences between <tt>~/.xsession</tt> and 
 <tt>~/.Xclients</tt> (mine are just symlinked together)?
</blockquote>

<hr width="40%" align="center">

<H3><img src="../gx/dennis/qbub.gif" alt="(?)" width="50" height="28"
	align="left" border="0">Milton Replied...</H3>

<p><strong>From Jim Dennis on Mon, Mar 30, 1998</strong></p>

<p><strong>Wouldn't this show up as a problem when he ran '<tt>startx</tt>' 
as well?</strong></p>


<blockquote><img src="../gx/dennis/bbub.gif" width="50" height="28" alt="(!)"
	align="left" border="0">Not necessarily, Jim.  It all depends on the 
system scripts.   Traditionally, <tt>startx</tt> uses "<tt>~/.xinitrc</tt>" 
and <tt>xdm</tt> uses "<tt>~./xsession</tt>". 

<br><br>
It sounded like he was only having problems as a "normal user" -- that
root was OK.  You obviously know a lot more about <tt>xdmi</tt> than I do, 
but I went on a hunch that his <tt>xdm</tt> setup was fine. 
</blockquote>

<p><strong><img src="../gx/dennis/qbub.gif" width="50" height="28" alt="(?)"
	align="left" border="0">As I've said before my practical grasp of 
X is pretty weak -- but I do understand the concept of a '<em>session 
manager</em>.'  Most X clients in your start up script are started in the 
background (with trailing ampersand in shell script syntax).  However one 
(usually the last item executed by the script) must be started in the 
"foreground."  </strong></p>

<blockquote><img src="../gx/dennis/bbub.gif" width="50" height="28" alt="(!)"
	align="left" border="0">Right.  (The very fact that you know the 
difference between an X client and an X server means you know something.) 
<font color="#008F00">:)</font> That's what I meant by "usual `logout' 
action."  Most people either logout of a special xterm or exit the window 
manager. </blockquote>


<p><strong><img src="../gx/dennis/qbub.gif" width="50" height="28" alt="(?)"
	align="left" border="0">Can you clarify the differences between 
<tt>~/.xsession</tt> and <tt>~/.Xclients</tt> (mine are just symlinked 
together)?</strong></p>

<blockquote><img src="../gx/dennis/bbub.gif" width="50" height="28" alt="(!)"
	align="left" border="0">I honestly have no idea.  That's pretty 
strange.  Usually, I link <tt>.xsession</tt> and <tt>.xinitrc</tt> together.  
That way, X looks the same whether I use <tt>xdm</tt> or <tt>startx</tt>.
</blockquote>

<!--================================================================-->
<P> <hr> <P>
<H5 align="center"><a href="http://www.linuxgazette.com/ssc.copying.html"
	>Copyright &copy;</a> 1998, James T. Dennis <BR>
Published in <I>Linux Gazette</I> Issue 28 May 1998</H5>
<P> <hr> <P>
<!--================================================================-->
<A HREF="./lg_toc28.html"><IMG SRC="../gx/indexnew.gif" 
	ALT="[ Table Of Contents ]"></A> 
<A HREF="../index.html"><IMG SRC="../gx/homenew.gif" 
	ALT="[ Front Page ]"></A>
<A HREF="./lg_answer28.html"><IMG SRC="../gx/dennis/answernew.gif"
        ALT="[ Answer Guy Index ]"></A>
<!--startcut =======================================================  -->
</body>
</html>
<!--endcut =========================================================  -->