LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
LinkBack Search this Thread
Old 11-12-2006, 06:57 PM   #1
adamt222
LQ Newbie
 
Registered: Jul 2006
Location: Staten Island
Distribution: Ubuntu/Crunchbang
Posts: 11

Rep: Reputation: 0
IceWm has taken over FC4


Hi all; I have installed (via RPM) a somewhat old version of IceWM and it is indeed working.

However, the issue I'm having is that whenever I log out of an IceWm session and choose GNOME or KDE from the sessions menu (both were installed with FC4) I get the user name and password prompt, but it logs me right back in to IceWM desktop.

I've even tried (in a command line as both root and user) to run the command 'switchdesk kde' and 'switchdesk gnome' and both of them returned some textual information in the CLI, but nothing else happened.

Don't get me wrong, I enjoy IceWM, but I still want to be able to choose among my other desktop sessions as well. I am going to try to look at my xsessions file, but i'm not sure this will do what i'm expecting....

Any help would be appreciated- thanks.

Adam
 
Old 11-13-2006, 12:11 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
You installed by rpm remove it by rpm; rpm -e foo

FYI: IceWM rpm packages built for FC4 can be found here;

http://dries.ulyssis.org/rpm/packages/icewm/info.html
 
Old 11-13-2006, 01:24 PM   #3
bioalchemist
Member
 
Registered: Oct 2005
Distribution: mandriva
Posts: 106

Rep: Reputation: 15
Quote:
Originally Posted by adamt222
Hi all; I have installed (via RPM) a somewhat old version of IceWM and it is indeed working.

However, the issue I'm having is that whenever I log out of an IceWm session and choose GNOME or KDE from the sessions menu (both were installed with FC4) I get the user name and password prompt, but it logs me right back in to IceWM desktop.

I've even tried (in a command line as both root and user) to run the command 'switchdesk kde' and 'switchdesk gnome' and both of them returned some textual information in the CLI, but nothing else happened.

Don't get me wrong, I enjoy IceWM, but I still want to be able to choose among my other desktop sessions as well. I am going to try to look at my xsessions file, but i'm not sure this will do what i'm expecting....

Any help would be appreciated- thanks.

Adam

try something like "startkdm" or "startgdm" at the command prompt - those should take you to the screens you're looking for.
 
Old 11-13-2006, 02:01 PM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
You might want to boot into runlevel 3 instead of 5 then try using switchdesk and startx for Gnome and or KDE. Delete the hidden .Xclients[-default] files first, they should get re-created each time you use switchdesk.
 
Old 11-13-2006, 08:24 PM   #5
adamt222
LQ Newbie
 
Registered: Jul 2006
Location: Staten Island
Distribution: Ubuntu/Crunchbang
Posts: 11

Original Poster
Rep: Reputation: 0
[QUOTE=Lenard]You installed by rpm remove it by rpm; rpm -e foo


Thanks, I was able to remove the older icewm, and found the newer fc4 package at the URL you listed.

Still having the same issue. Lenard, I'm not sure how to boot into run level 3 instead of runlevel 5.

Last edited by adamt222; 11-13-2006 at 08:47 PM.
 
Old 11-13-2006, 09:09 PM   #6
bioalchemist
Member
 
Registered: Oct 2005
Distribution: mandriva
Posts: 106

Rep: Reputation: 15
[QUOTE=adamt222]
Quote:
Originally Posted by Lenard
You installed by rpm remove it by rpm; rpm -e foo


Thanks, I was able to remove the older icewm, and found the newer fc4 package at the URL you listed.

Still having the same issue. Lenard, I'm not sure how to boot into run level 3 instead of runlevel 5.
you could try hitting Ctrl+Alt+F1 and that will take you to a terminal. then, login as root and type this:
Code:
init 3
that will get you to runlevel 3.
 
Old 11-15-2006, 11:06 AM   #7
adamt222
LQ Newbie
 
Registered: Jul 2006
Location: Staten Island
Distribution: Ubuntu/Crunchbang
Posts: 11

Original Poster
Rep: Reputation: 0
Icewm takeover FC4 - issue solved/with workaround

Hi all- just want to say thanks for all the advice you've given me at this forum.

I tried an alternate approach to the problem, and for now it seems to be working, so I'm going to consider the matter closed. Here's what I did: (hopefully this will be helpful to other Linux users, or if not, it's not)

I did some investigating as to 'which file' has the exec icewm-session line and where
it needs to be either active or commented-out [made inactive]. The file (in my distro) is /home/yourUserName/.bash_profile

Commenting-out the line "exec icewm-session", disables icewm from running and taking over the OS, thus allowing me to choose KDE or GNOME after I log out of an IceWM session.

If I take the '#' character away from the line exec icewm-session, it logs/boots me right into IceWM session. So, editing .bash_profile manually each time would (obviously) get tired very quickly, so I wrote a python script (2 of them, just for sake of speed) that will re-write (add or remove commenting) the file '.bash_profile' in my home directory.

I created 2 files (enable_icewm, and disable_icewm) in python and placed them in /usr/bin. From within a menu choice in IceWM (/home/yourUserName/.icewm/menu) I call to the disable_icewm python script. And then, I log out of IceWM and I can choose KDE or GNOME, as needed.

Once in KDE, if I run the python script 'enable_icewm' it once again overwrites '.bash_profile' so that the commenting is removed, and when i log out of KDE, i can log in to Icewm.

Again I thank you for your responses- Adam

Last edited by adamt222; 11-15-2006 at 11:10 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Boot Windows XP & FC4 with FC4 already installed kt8993 Linux - General 8 10-18-2006 04:26 PM
FC4 eMachines ndiswrapper problem (don't think it has anything to do with FC4) unknownmosquito Linux - Laptop and Netbook 2 12-04-2005 11:50 AM
iceWM lilohatea Debian 5 07-06-2005 02:38 PM
Converting a FC4 dvd to FC4 cd set? prem1000 Fedora 2 06-17-2005 02:14 PM
icewm kcorupe Fedora 1 12-17-2004 07:29 PM


All times are GMT -5. The time now is 03:23 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration