Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
11-02-2002, 12:12 AM
#31
Member
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836
Original Poster
Rep:
Code:
#!/bin/sh
# (c) 2000 MandrakeSoft
exec /etc/X11/Xsession $*
weird xinitrc isn't it?
Garry
11-02-2002, 02:46 AM
#32
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
Ok, so comment out that line, place a new line:
exec /usr/local/bin/fluxbox
Save and exit, symlink that to your home directory:
ln -s /etc/X11/xinit/xinitrc ~/.xinitrc
And then startx...
Cool
11-02-2002, 02:48 AM
#33
Member
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836
Original Poster
Rep:
Yeh but the thing is i don't do a startx.....i do a GUI login...i think it's KDM....and i want flux to be a selectable WM...
Garry
11-02-2002, 02:54 AM
#34
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
Yeah, I am still working on that one for ya...
Cool
11-02-2002, 03:00 AM
#35
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
Hey, I think I found it... Just so you can see what I am reading:
http://www.mandrakeuser.org/docs/xwin/xstart.html#conf
Cool
11-02-2002, 03:07 AM
#36
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
Ok, so...
It looks like you need to locate:
'/usr/share/config/kdm/kdmrc'
And find an area to add Fluxbox in there. If you post the contents I will see if I can help.
Also, to start fluxbox from the command line I understand you have to type:
startx fluxbox
And it's supposed to start. No need to comment any lines in any file.
If you want to use flux as your default wm, then you would make the entry in:
~/.desktop
And the entry should look like:
DESKTOP=fluxbox
Cool
11-02-2002, 03:08 AM
#37
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
/usr/sbin/chksession -l
Also, you might need to run this to see what X options you have.
Good Luck, and read that link I provided above, good info there.
Cool
11-02-2002, 03:41 AM
#38
Member
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836
Original Poster
Rep:
Ok thanks i will read that, then post up the things you requested....
Thanks again
Garry
11-02-2002, 03:47 AM
#39
Member
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836
Original Poster
Rep:
Hmmm this is kmrc
Code:
[Desktop0]
BackgroundMode=Flat
BlendBalance=100
BlendMode=NoBlending
ChangeInterval=60
Color1=33,68,156
Color2=192,192,192
CurrentWallpaper=0
LastChange=0
MultiWallpaperMode=NoMulti
Pattern=
Program=
ReverseBlending=false
Wallpaper=
WallpaperList=
WallpaperMode=NoWallpaper
[General]
PidFile=/var/run/xdm.pid
Xservers=/etc/X11/xdm/Xservers
[Shutdown]
HaltCmd=/sbin/halt
LiloCmd=/sbin/lilo
LiloMap=/boot/map
RebootCmd=/sbin/reboot
UseLilo=true
[X-*-Core]
AllowNullPasswd=false
AllowRootLogin=false
AutoReLogin=false
Reset=
Resources=/etc/X11/xdm/Xresources
Session=/etc/X11/xdm/Xsession
Setup=
Startup=
SystemPath=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin
UserPath=/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin
[X-*-Greeter]
AllowShutdown=Root
AuthComplain=false
DefaultUser=axfrdns
EchoMode=OneStar
FailFont=helvetica,12,5,15,75,0
FocusPasswd=false
GUIStyle=KDE
GreetFont=charter,24,5,15,50,0
GreetString=Welcome to %n
GreeterPosFixed=false
GreeterPosX=100
GreeterPosY=100
Language=C
LogoArea=Logo
LogoPixmap=/usr/share/apps/kdm/pics/kdelogo.png
MinShowUID=500
NoUsers=adm,alias,amanda,apache,bin,bind,daemon,exim,falken,ftp,games,gdm,gopher,halt,httpd,ident,ingres,kmem,lp,mail,mailnull,man,mta,mysql,named,news,nobody,nscd,operator,pcap,pop,postfix,postgres,qmaild,qmaill,qmailp,qmailq,qmailr,qmails,reboot,root,rpc,rpcuser,rpm,sendmail,shutdown,sympa,sync,tty,uucp,xfs,xten,
PreselectUser=None
SessionTypes=KDE,IceWM,failsafe,default
ShowUsers=All
SortUsers=true
StdFont=helvetica,12,5,15,50,0
Users=
[X-:*-Core]
AllowNullPasswd=true
AllowRootLogin=true
NoPassEnable=false
NoPassUsers=
[X-:*-Greeter]
AllowShutdown=All
[X-:0-Core]
Authorize=true
AutoLogin1st=true
AutoLoginEnable=false
AutoLoginUser=axfrdns
Reset=/etc/X11/xdm/TakeConsole
Setup=/etc/X11/xdm/Xsetup_0
Startup=/etc/X11/xdm/GiveConsole
[X-:1-Core]
Authorize=true
[Xdmcp]
Enable=false
KeyFile=/etc/X11/xdm/xdm-keys
Willing=
Xaccess=/etc/X11/xdm/Xaccess
And if i changed DESKTOP=KDE to DESKTOP=fluxbox that doesn't mean it would make flux selectable would it, it would just make it default...hmm i'm still reading....
Garry
11-02-2002, 03:49 AM
#40
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
See this line:
SessionTypes=KDE,IceWM,failsafe,default
I think if you add fluxbox there, that might be your ticket.
Cool
11-02-2002, 03:50 AM
#41
Member
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836
Original Poster
Rep:
Ok i'm gonna think of switching to GDM instead of KDM...since they say its high configurable....etc etc
Garry
11-02-2002, 03:56 AM
#42
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
Also, what does:
/usr/sbin/chksession -l
return?
I think this would all make alot more sense if I followed along with ya, then I could explain things better.
Anway, I think if the chksession returns flux then you should be good to go...
Cool
11-02-2002, 03:59 AM
#43
Member
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836
Original Poster
Rep:
Hmmmmm in GDM's Login Session tab there is KDE and IceWM...when i click on add session i type in fluxbox....and i can't enter what command to execute...but for KDE and Ice there already are commands...
#!/bin/sh
exec /etc/X11/xdm/Xsession KDE
and
#!/bin/sh
exec /etc/X11/xdm/Xsession IceWM
i can edit and chnage those etc.
But i cannot edit flux's....the window to type the command isn't editable...
hope this made sense..
Garry
11-02-2002, 04:02 AM
#44
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
Might be a button you missed or something... Poke around a bit more, seems like it's always something little on things like that.
Cool
11-02-2002, 04:02 AM
#45
Member
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836
Original Poster
Rep:
Ok i think i'm onto something...i'm gonna make an executable in /etc/X11/gdm/Sessions where Kde and Ice are...
i'll post when i'm done....
Oh yeh and sorry MasterC i never saw that post, i tried that before...and it didn't execute...nothing happened...
Garry
All times are GMT -5. The time now is 08:41 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News