Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Enterprise Linux > AS/ES/WS Basics > Issue <<  833 of 909 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 12677
Last update: 05-06-08
Issue:
How do I enable the login shell in Gnome Terminal?
Resolution:

By default, gnome-terminal does not spawn a login shell. To use a login shell for all gnome-terminal windows for a particular user in gnome-terminal, you can use gnome-terminal preferences dialog:
"Edit" -> "Current Profile" -> "Title and Command" and select "Run command as a login shell"

Alternatively, using the command line tool "gconftool-2" will achieve the same result:

# gconftool-2 --type boolean --set /apps/gnome-terminal/profiles/Default/login_shell true

To set this as a default option for all users, use gconftool-2 to set the default value of the key "login_shell" to "true" in the GConf database. As root, run the following command:

# gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type boolean --set /apps/gnome-terminal/profiles/Default/login_shell true

Users will still be able to change that default value on a per user basis using the preference dialog in gnome-terminal.


How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Enterprise Linux > AS/ES/WS Basics > Issue <<   833  of  909  >>