HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- cant execute .profile from gnome-terminal
Operating System - Linux
1828671
Members
2547
Online
109984
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2003 01:45 AM
08-19-2003 01:45 AM
xterm allows you to specify -ls at the command line to execute the .profile when you open a window.
Gnome terminal appears not to take any notice of this.
I tried adding *loginShell: true to my .Xdefaults file but that doesn't work either.
Any ideas?
Gnome terminal appears not to take any notice of this.
I tried adding *loginShell: true to my .Xdefaults file but that doesn't work either.
Any ideas?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2003 01:51 AM
08-19-2003 01:51 AM
Re: cant execute .profile from gnome-terminal
Share a moment of time to take a look at this thread:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xa20c53e414e6d74cb104a085c97109f7,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xa20c53e414e6d74cb104a085c97109f7,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2003 03:00 AM
08-19-2003 03:00 AM
Re: cant execute .profile from gnome-terminal
As I said in the question, I already tried that and it doesn't work for gnome-terminal, only xterm.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2003 04:46 PM
08-19-2003 04:46 PM
Solution
There should be a tick-box in the 'profile' options in Gnome-Terminal to "Runcommand as a login shell" (edit, current profile, title and command).
This execute's the .bash_profile (assuming your shell is bash) when you run a gnome-terminal session.
This is set in the %gconf.xml file under ~/.gconf/apps/gnome-terminal/profiles/Default/ in for 'login_shell' (value=true).
Hope this helps.
This execute's the .bash_profile (assuming your shell is bash) when you run a gnome-terminal session.
This is set in the %gconf.xml file under ~/.gconf/apps/gnome-terminal/profiles/Default/ in
Hope this helps.
One long-haired git at your service...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP