<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Redhat Login Problem - gdm.conf in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/redhat-login-problem-gdm-conf/m-p/4215235#M62210</link>
    <description>actually if i set my /etc/inittab to level 3 then just startx i have no problem. maybe because it doesn't prompt for username and password on the gui.&lt;BR /&gt;&lt;BR /&gt;but if i start at level 5 it prompts for username and password. then i cannot login. it gives me the same error as stated earlier.</description>
    <pubDate>Mon, 16 Jun 2008 01:39:09 GMT</pubDate>
    <dc:creator>Alvin_14</dc:creator>
    <dc:date>2008-06-16T01:39:09Z</dc:date>
    <item>
      <title>Redhat Login Problem - gdm.conf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/redhat-login-problem-gdm-conf/m-p/4215231#M62206</link>
      <description>when I login to Redhat GUI thru console I get:&lt;BR /&gt;&lt;BR /&gt;your session lasted less than 10 seconds. if you have not logged out yourself, this could mean that there is some installation problem or that you may be out of diskspace. try loggin in with one of the failsafe sessions to see if you can fix this problem.&lt;BR /&gt;&lt;BR /&gt;my .xsession-errors file states:&lt;BR /&gt;&lt;BR /&gt;/etc/X11/gdm/PreSession/Default: Registering your session with wtmp and utmp&lt;BR /&gt;/etc/X11/gdm/PreSession/Default: running: /usr/bin/X11/sessreg -a -w /var/log/wt&lt;BR /&gt;mp -u /var/run/utmp -x "/var/gdm/:0.Xservers" -h "" -l ":0" "root"&lt;BR /&gt;tset: standard error: Invalid argument&lt;BR /&gt;&lt;BR /&gt;stty: standard input: Inappropriate ioctl for device&lt;BR /&gt;stty: standard input: Inappropriate ioctl for device&lt;BR /&gt;&lt;BR /&gt;I've harden the server. The only change done on the gdm side is the gdm.conf which I uncommented:&lt;BR /&gt;&lt;BR /&gt;#SystemMenu=true&lt;BR /&gt;&lt;BR /&gt;now I've restored it to original file yet I cannot login thru X.&lt;BR /&gt;&lt;BR /&gt;Help please.</description>
      <pubDate>Thu, 12 Jun 2008 02:42:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/redhat-login-problem-gdm-conf/m-p/4215231#M62206</guid>
      <dc:creator>Alvin_14</dc:creator>
      <dc:date>2008-06-12T02:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Redhat Login Problem - gdm.conf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/redhat-login-problem-gdm-conf/m-p/4215232#M62207</link>
      <description>i noticed something. if i ctrl alt f1 and then remove .X0-lock then startx I have no problem.&lt;BR /&gt;&lt;BR /&gt;but im still dazed and confused. which configuration should i modify so that i can directly login to the redhat gui?</description>
      <pubDate>Thu, 12 Jun 2008 03:19:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/redhat-login-problem-gdm-conf/m-p/4215232#M62207</guid>
      <dc:creator>Alvin_14</dc:creator>
      <dc:date>2008-06-12T03:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Redhat Login Problem - gdm.conf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/redhat-login-problem-gdm-conf/m-p/4215233#M62208</link>
      <description>attached is the default configuration of gdm.conf file.</description>
      <pubDate>Thu, 12 Jun 2008 04:41:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/redhat-login-problem-gdm-conf/m-p/4215233#M62208</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2008-06-12T04:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Redhat Login Problem - gdm.conf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/redhat-login-problem-gdm-conf/m-p/4215234#M62209</link>
      <description>If you are running gdm, then press Ctrl-Alt-F1, remove the /tmp/.X0-lock file and run startx, you're effectively starting a new X server while gdm has already started one. This wastes memory.&lt;BR /&gt;&lt;BR /&gt;The error messages of tset and stty commands in your .xsession-errors file suggest that your /etc/profile, ~/.profile and/or other login scripts contain some commands that attempt to initialize terminal settings without first making sure that the current session *has* a terminal.&lt;BR /&gt;&lt;BR /&gt;gdm will run several scripts when initializing an X session. To initialize all environment variables properly, these scripts will execute /etc/profile (and whatever other login scripts) as with a terminal login, but with stdin redirected from /dev/null and stdout+stderr redirected to .xsession-errors file. If any of these scripts end with an error, gdm will see it as an indication that the X session setup has failed, and will re-display the login dialog.&lt;BR /&gt;&lt;BR /&gt;You should make any tset and stty commands in your login scripts conditional, for example:&lt;BR /&gt;&lt;BR /&gt;if tty -s; then&lt;BR /&gt;tset &lt;WHATEVER...&gt;&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;tty -s &amp;amp;&amp;amp; stty &lt;WHATEVER options...=""&gt;&lt;BR /&gt;&lt;BR /&gt;MK&lt;/WHATEVER&gt;&lt;/WHATEVER...&gt;</description>
      <pubDate>Fri, 13 Jun 2008 13:40:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/redhat-login-problem-gdm-conf/m-p/4215234#M62209</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2008-06-13T13:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Redhat Login Problem - gdm.conf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/redhat-login-problem-gdm-conf/m-p/4215235#M62210</link>
      <description>actually if i set my /etc/inittab to level 3 then just startx i have no problem. maybe because it doesn't prompt for username and password on the gui.&lt;BR /&gt;&lt;BR /&gt;but if i start at level 5 it prompts for username and password. then i cannot login. it gives me the same error as stated earlier.</description>
      <pubDate>Mon, 16 Jun 2008 01:39:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/redhat-login-problem-gdm-conf/m-p/4215235#M62210</guid>
      <dc:creator>Alvin_14</dc:creator>
      <dc:date>2008-06-16T01:39:09Z</dc:date>
    </item>
  </channel>
</rss>

