<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="sans-serif">From Vol 46, Issue 344, Message 8:<br>
<br>
</font>
<pre wrap=""><div class="moz-txt-sig">Date: Mon, 23 Jun 2008 12:49:36 +0000 (UTC)
From: Aart Koelewijn <a class="moz-txt-link-rfc2396E"
 href="mailto:aart@mtack.xs4all.nl"><aart@mtack.xs4all.nl></a>
Subject: Re: re: problem moving a user's home directory to a new
        location --     more --
To: <a class="moz-txt-link-abbreviated"
 href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a>
Message-ID: <a class="moz-txt-link-rfc2396E"
 href="mailto:g3o650$nps$2@ger.gmane.org"><g3o650$nps$2@ger.gmane.org></a>
Content-Type: text/plain; charset=UTF-8

On Mon, 23 Jun 2008 07:09:57 -0500, Jay Ridgley wrote:

</div></pre>
<blockquote type="cite">
  <pre wrap=""><span class="moz-txt-citetags">> </span>I wrote:
<span class="moz-txt-citetags">> </span>
  </pre>
  <blockquote type="cite">
    <pre wrap=""><span class="moz-txt-citetags">>></span>Message: 9
<span class="moz-txt-citetags">>></span>Date: Sun, 22 Jun 2008 16:47:22 -0500 From: Jay Ridgley
<span class="moz-txt-citetags">>></span><a
 class="moz-txt-link-rfc2396E" href="mailto:jridgley2@austin.rr.com"><jridgley2@austin.rr.com></a> Subject: re: problem moving a user's home
<span class="moz-txt-citetags">>></span>directory to a new location To: <a
 class="moz-txt-link-abbreviated"
 href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a>
<span class="moz-txt-citetags">>></span>Message-ID: <a
 class="moz-txt-link-rfc2396E"
 href="mailto:485EC86A.3080700@austin.rr.com"><485EC86A.3080700@austin.rr.com></a> Content-Type: text/plain;
<span class="moz-txt-citetags">>></span>charset="iso-8859-1"
<span class="moz-txt-citetags">>></span>
<span class="moz-txt-citetags">>></span>Folks,
    </pre>
  </blockquote>
  <pre wrap=""><span class="moz-txt-citetags">> </span>
  </pre>
  <blockquote type="cite">
    <pre wrap=""><span class="moz-txt-citetags">>></span>After doing the things Smoot(THANKS!) suggested, I have discovered that
<span class="moz-txt-citetags">>></span>it appears everything is fine EXCEPT the initial terminal window has
<span class="moz-txt-citetags">>></span>/home/user as part of the prompt. Where is that coming from? I have been
<span class="moz-txt-citetags">>></span>unable to find it... I can do a cd<enter> and that part of the prompt
<span class="moz-txt-citetags">>></span>disappears. and pwd shows /home2/user.
<span class="moz-txt-citetags">>></span>
<span class="moz-txt-citetags">>></span>If I pop up a new terminal (using the panel button) it points to the
<span class="moz-txt-citetags">>></span>proper place and does not have the  /home/user displayed.
<span class="moz-txt-citetags">>></span>
<span class="moz-txt-citetags">>></span>I apologize that I am unable to include the discussion thread but it was
<span class="moz-txt-citetags">>></span>
<span class="moz-txt-citetags">>></span>lost while I was in the process of switching things around.
<span class="moz-txt-citetags">>></span>
<span class="moz-txt-citetags">>></span>I am going to continue using /home2/user as the home directory, since
<span class="moz-txt-citetags">>></span>that is where I want it to be and everything appears to be working with
<span class="moz-txt-citetags">>></span>the exception of the item noted above... weird...
<span class="moz-txt-citetags">>></span>
<span class="moz-txt-citetags">>></span>I am not going to delete the old home directory until I know for sure
<span class="moz-txt-citetags">>></span>that things are fixed.
<span class="moz-txt-citetags">>></span>
<span class="moz-txt-citetags">>></span>Cheers,
<span class="moz-txt-citetags">>></span>Jay
<span class="moz-txt-citetags">>></span>
<span class="moz-txt-citetags">>></span>
<span class="moz-txt-citetags">>></span>
    </pre>
  </blockquote>
  <pre wrap=""><span class="moz-txt-citetags">> </span>I have been trying to figure out what is going on...
<span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>If I login from a tty terminal (using ctrl-alt-F1) every thing is fine,
<span class="moz-txt-citetags">> </span>it appears that it is ONLY with the GUI interface (GNOME).
<span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>I did find a file named .gtkrc-1.2-gnome2 that contained the following:
<span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span># Autowritten by gnome-settings-daemon. Do not edit
<span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>include "<i
 class="moz-txt-slash"><span class="moz-txt-tag">/</span>home/jay<span
 class="moz-txt-tag">/</span></i>.gtkrc.mine"
<span class="moz-txt-citetags">> </span><eof>
<span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>I moved it to old.gtkrc-1.2-gnome2 and tried once again to login --- NO
<span class="moz-txt-citetags">> </span>CHANGE and the file was not rewritten... In addition the referenced file
<span class="moz-txt-citetags">> </span>does not exist in either directory.
<span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>I can not find ANYWHERE that a pointer to /home/jay is set. However,
<span class="moz-txt-citetags">> </span>when I boot the system and initially login or if I logout and log back
<span class="moz-txt-citetags">> </span>in as user the initial terminal window that is launched is pointing to
<span class="moz-txt-citetags">> </span>/home/jay for the pwd. Now the weird part if I enter the cd command it
<span class="moz-txt-citetags">> </span>changes to /home2/jay. NOTE: I entered nothing other than the characters
<span class="moz-txt-citetags">> </span>cd & pressed enter!
<span class="moz-txt-citetags">> </span>I am including a copy of the screen:
<span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>jay@polar:/home/jay$ pwd
<span class="moz-txt-citetags">> </span>/home/jay
<span class="moz-txt-citetags">> </span>jay@polar:/home/jay$ cd
<span class="moz-txt-citetags">> </span>jay@polar:~$ pwd
<span class="moz-txt-citetags">> </span>/home2/jay
<span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>ALL subsequent terminal windows I launch point to /home2/jay. All of the
<span class="moz-txt-citetags">> </span>data and other information is available from the directory /home2/jay
<span class="moz-txt-citetags">> </span>without any problems.
<span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>ANY AND ALL SUGGESTIONS,  please...
  </pre>
</blockquote>
<pre wrap=""><!---->
> If you do a "$ strace gnome-terminal" you can see which files are read 
> when a gnome-terminal is opened. I suppose it should be something in one 
> of those files.
>
> Good luck figuring it out.
>
><div class="moz-txt-sig">> -- 
> Aart

<font face="sans-serif"></font>
<font face="sans-serif">If I run strace it traces the output of a NEW gnome-terminal, not the one that was initially opened. Those do NOT have a problem. What I need is information about what is happening from the time the password is entered on the login screen until the desktop is displayed with the initial gnome-terminal on it (that is the ONLY one with the problem).

BTW Don't use the $ in front of the command as indicated by your the quotes.

Regards,

Jay

</font><pre wrap="">-- 


Jay Ridgley
<a class="moz-txt-link-abbreviated"
 href="mailto:jridgley2@austin.rr.com">jridgley2@austin.rr.com</a>
Registered Linux User ID - 9115</pre>
</div></pre>
</body>
</html>