[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem with window title not getting set
From: |
Jean Jordaan |
Subject: |
Problem with window title not getting set |
Date: |
Mon, 11 Jan 2010 12:48:13 +0700 |
Hi there
If I do 'sudo -u zope -s', then I get the correct title in the session
list (ctrl-a"); however the values of e.g. HOME and PATH are wrong. If I
do 'sudo -u zope -i', then HOME and PATH are correct, but the title is
wrong.
In the first case, the title is 'address@hidden:~/path' (changed to 'zope').
In the second case, the title is 'address@hidden:~/path' (still 'jean',
though I'm now working as the 'zope' user).
address@hidden:~$ sudo -i -u zope
address@hidden:~$ echo $HOME && echo $PATH # Shows correct values.
/home/zope
/home/zope/bin:/home/zope/bin:/usr/local/bin:/usr/bin:/bin
address@hidden:~$ logout
address@hidden:~$ sudo -s -u zope
address@hidden:~$ echo $HOME && echo $PATH # Show WRONG values.
/home/jean
/home/jean/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
The bashrc files are identical, this shows now difference:
address@hidden:~$ diff -u /home/jean/.bashrc .bashrc
address@hidden:~$ echo $PS1
${debian_chroot:+($debian_chroot)address@hidden:\w\$
The session list looks like this:
[...]
24 address@hidden:~
25 address@hidden:~
Any advice would be gratefully received.
Regards,
--
jean . .. .... //\\\oo///\\
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Problem with window title not getting set,
Jean Jordaan <=