- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Adding Environments / Sessions to the LOGIN ba...
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
07-19-2012 03:53 PM
07-19-2012 03:53 PM
Hello Everyone;
I've done a lot of work on my host and have LESSTIF working at an acceptable level.
How can I add "mwm" to the list of sessions (like lxdm / kde / gnome) that are available at login?
Any ideas will be appreciated.
regards,
tony.podrasky
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2012 05:13 AM
07-20-2012 05:13 AM
SolutionYou did not identify your Linux distribution, or the X Display Manager you're using.
The X Display Manager is the process that starts the actual X server on the console and displays the login window. It is usually named *dm, e.g. kdm, gdm, wdm, xdm or whatever.
For example, Debian 6.0 with kdm as X Display Manager builds the list of sessions automatically based on which window/session managers are installed on the system. The list of possible sessions is stored as .desktop files in the /usr/share/kde4/apps/kdm/sessions directory. "mwm.desktop" exists, so MWM would automatically appear as one of the session options if a "mwm" binary can be found in the PATH by the kdm process.
Other display managers may have a very different mechanism.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2012 08:11 AM
07-20-2012 08:11 AM
Re: Adding Environments / Sessions to the LOGIN banner
Hello Matti;
I'm sorry that I left out so much information.
The platform is Fedora 16.
Even without my supplying any useful information, your explanation was sufficient to fix the problem:
I did a <locate .desktop>, found where they were at, copied one to mwm.desktop, edited it, rebooted and it worked.
The only thing that it didn't do was source the .xinitrc file - but it did read the .mwmrc.
Thanks for all your help. After butchering files all over the place, the fix was simple :-)
Hope you have a great weekend.
regards,
tony.podrasky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2012 03:41 PM
07-20-2012 03:41 PM
Re: Adding Environments / Sessions to the LOGIN banner
Just to satisfy my curiosity: where were those session-startup .desktop files located on a Fedora 16 system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2012 03:59 PM
07-20-2012 03:59 PM
Re: Adding Environments / Sessions to the LOGIN banner
Hello Matti;
Here's the directory and what is in it.
Again, thanx for the help.
regards,
tony.podrasky
tonyp% pwd
/usr/share/xsessions
tonyp% ls -la
total 48
drwxr-xr-x 2 root root 4096 Jul 20 14:44 .
drwxr-xr-x 351 root root 12288 Jul 1 14:43 ..
-rw-r--r-- 1 root root 4701 Oct 26 2011 gnome.desktop
-rw-r--r-- 1 root root 5143 Oct 31 2011 kde-plasma-safe.desktop
-rw-r--r-- 1 root root 3400 Oct 31 2011 kde-plasma.desktop
-rw-r--r-- 1 root root 458 Jul 11 2011 lxde.desktop
-rw-r--r-- 1 root root 177 Jul 20 07:58 mwm.desktop
-rw-r--r-- 1 root root 214 Oct 10 2011 openbox.desktop
tonyp%