gnome-terminal does not change window title after returning root account

Bug #1388478 reported by Numan Demirdöğen

This bug report was converted into a question: question #408662: gnome-terminal does not change window title after returning root account.

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-terminal (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

If a user change user to root via sudo su command then exit root account by writing exit, gnome-terminal does not change window title or tab name to default one or profile's preferred title.

Steps to produce bug:
1- Open gnome-terminal -> title of the terminal shows user's preferred title like Terminal or user_name@host_name:some_dir_path
2- sudo su -> title or tab name of the terminal changes to root@host_name:some_dir_path
3- Exit root account by exit command
4- Title of the terminal remains root@host_name:some_dir_path

What I expect to happen:
1- Open gnome-terminal -> title of the terminal shows user's preferred title like Terminal or user_name@host_name:some_dir_path
2- sudo su -> title of the terminal changes to root@host_name:some_dir_path
3- Exit root account by exit command
4- Title of the terminal should change to user's preferred title like Terminal or user_name@host_name:some_dir_path

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: gnome-terminal 3.6.2-0ubuntu1
ProcVersionSignature: Ubuntu 3.16.0-24.32-generic 3.16.4
Uname: Linux 3.16.0-24-generic x86_64
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Nov 2 02:13:52 2014
InstallationDate: Installed on 2014-02-27 (247 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140224)
SourcePackage: gnome-terminal
UpgradeStatus: Upgraded to utopic on 2014-09-08 (54 days ago)

Revision history for this message
Numan Demirdöğen (if.gnu.linux) wrote :
description: updated
description: updated
Revision history for this message
Numan Demirdöğen (if.gnu.linux) wrote :

The bug can be reproducable on other vte based terminal emulators like Sakura and Guake. Is that mean the bug is related to vte library?

Revision history for this message
Numan Demirdöğen (if.gnu.linux) wrote :

It seems that the bug has been fixed on 16.04.

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu Xenial Xerus (development branch)

LC_ALL=C apt-cache policy gnome-terminal
gnome-terminal:
  Installed: 3.18.2-1ubuntu2
  Candidate: 3.18.2-1ubuntu2
  Version table:
 *** 3.18.2-1ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Numan Demirdöğen (if.gnu.linux) wrote :

Unfortunatelly, the bug still exists in Ubuntu 16.04.1. I do not know what I can do to further investigate the couse of the bug.

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"

C_ALL=C apt-cache policy gnome-terminal
gnome-terminal:
  Installed: 3.18.3-1ubuntu1
  Candidate: 3.18.3-1ubuntu1
  Version table:
 *** 3.18.3-1ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Numan Demirdöğen (if.gnu.linux) wrote :

The bug still exists in Ubuntu 16.10.

LC_ALL=C lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.10
Release: 16.10
Codename: yakkety

LC_ALL=C apt-cache policy gnome-terminal
gnome-terminal:
  Installed: 3.20.2-1ubuntu5
  Candidate: 3.20.2-1ubuntu5
  Version table:
 *** 3.20.2-1ubuntu5 500
        500 http://archive.ubuntu.com/ubuntu yakkety/main amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Numan Demirdöğen (if.gnu.linux) wrote :

I reported this bug to upstream. Here is the link to the bug: https://bugzilla.gnome.org/show_bug.cgi?id=775036

Revision history for this message
Numan Demirdöğen (if.gnu.linux) wrote :

It seems that this particular behaviour is caused by something that I made. I will try to compare default configurations and changes that I made in ~/.bashrc, ~/.profile, /etc/bash.bashrc ant /etc/skel.

Changed in gnome-terminal (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.