LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 12-09-2003, 12:04 AM   #1
hanxuerui
LQ Newbie
 
Registered: Mar 2003
Location: Edmonton
Distribution: slackware
Posts: 27

Rep: Reputation: 15
Question XFree86 Upgraded


I have my RedHat 9 installed at home. I don't like the looks of the Redhat, so I decide to upgrade the XFree86, kde.

Downloaded the X and installed it, downloaded KDE and upgraded.

Here is the problem.

The default window manager was changed to fvwm, I can get only get into my kde by editing my .xinitrc file to use startkde.

I don't know where I can start from to make the kdm or gdm stop using the fvwm. I have tried, in the gdm kdm, no matter what I choice, they all start my disktop with the fvwm.

Can some one please tell me where I could get some useful information or documentation.

If you can tell me the trick that is even more welcomed.

Thanks.
 
Old 12-09-2003, 01:18 AM   #2
stuNNed
Member
 
Registered: Aug 2003
Distribution: Gentoo/Ubuntu
Posts: 134

Rep: Reputation: 15
gdm/kdm sessions are stored in

/etc/X11/Sessions ... i know this works with gdm not sure about kdm

in that dir make an init script, i.e. identical to ~/.initrc then it should show up, at least i know, in gdm
 
Old 12-09-2003, 11:28 AM   #3
hanxuerui
LQ Newbie
 
Registered: Mar 2003
Location: Edmonton
Distribution: slackware
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks.
I will give it a try.
 
Old 12-09-2003, 11:41 AM   #4
hanxuerui
LQ Newbie
 
Registered: Mar 2003
Location: Edmonton
Distribution: slackware
Posts: 27

Original Poster
Rep: Reputation: 15
I changed my /etc/X11/xdm/Xsession file, let it pass the %@ to the $HOME/.xsession like this:

startup=$HOME/.xsession
resources=$HOME/.Xresources

if [ -s "$startup" ]; then
if [ -x "$startup" ]; then
exec "$startup" $@
else
exec /bin/sh "$startup" $@
fi
else
if [ -r "$resources" ]; then
xrdb -load "$resources"
fi
exec xsm
fi

I edited my .xsession file:
#!/bin/bash
. $HOME/.bashrc
startkde
echo "$0 || $1 || $2" > $HOME/.xsession_args
echo $SHELL >>$HOME/.xsession_args
echo `whoami`>>$HOME/.xsession_args
echo `env`>>$HOME/.xsession_args

I use startkde start my session.
It is working, but I think if I could make the Xsession more intelligent, that is a better solution for this problem. Or maybe I should find the originial Xsession file and use it.
Thanks, a lot to StuNNed
 
Old 12-09-2003, 05:13 PM   #5
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 46
This should work.

echo "DESKTOP=KDE" > ~/.desktop
startx
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
xfree86 upgraded: problems mtb Debian 5 07-22-2004 03:54 PM
upgraded to Xfree86 v 4.4 -> fonts messed up EyesOnly Slackware 20 04-11-2004 10:50 AM
upgraded to xfree86 4.3 and lost my GUI!! kinghari Linux - Newbie 5 10-25-2003 11:35 AM
Upgraded XFree86 and now no gnome etc plisken Linux - General 5 05-23-2003 01:48 PM
Upgraded kernel and XFree86 emanners Linux - General 1 09-04-2001 03:33 PM


All times are GMT -5. The time now is 07:17 AM.

Main Menu
Advertisement
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