LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 11-02-2002, 12:12 AM   #31
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30

Code:
#!/bin/sh
# (c) 2000 MandrakeSoft

exec /etc/X11/Xsession $*
weird xinitrc isn't it?

Garry
 
Old 11-02-2002, 02:46 AM   #32
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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
 
Old 11-02-2002, 02:48 AM   #33
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
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
 
Old 11-02-2002, 02:54 AM   #34
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Yeah, I am still working on that one for ya...

Cool
 
Old 11-02-2002, 03:00 AM   #35
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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
 
Old 11-02-2002, 03:07 AM   #36
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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
 
Old 11-02-2002, 03:08 AM   #37
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
/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
 
Old 11-02-2002, 03:41 AM   #38
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
Ok thanks i will read that, then post up the things you requested....

Thanks again

Garry
 
Old 11-02-2002, 03:47 AM   #39
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
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
 
Old 11-02-2002, 03:49 AM   #40
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
See this line:
SessionTypes=KDE,IceWM,failsafe,default

I think if you add fluxbox there, that might be your ticket.

Cool
 
Old 11-02-2002, 03:50 AM   #41
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
Ok i'm gonna think of switching to GDM instead of KDM...since they say its high configurable....etc etc

Garry
 
Old 11-02-2002, 03:56 AM   #42
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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
 
Old 11-02-2002, 03:59 AM   #43
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
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
 
Old 11-02-2002, 04:02 AM   #44
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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
 
Old 11-02-2002, 04:02 AM   #45
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
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
 
  


Reply



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
Qt headers and libraries not found c-- Ubuntu 12 03-03-2009 07:16 PM
Fluxbox install, X libraries and headers csb Linux - Software 3 07-15-2005 08:59 AM
QT Libraries & Headers inescapeableus Linux - Software 9 05-03-2005 01:14 AM
KDevelop cannot find QT headers and libraries?! mscollins1 Programming 1 04-10-2004 04:12 PM
QT-1.3 (headers and libraries) not found. p_reah Linux - Software 2 04-17-2003 07:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:41 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
Open Source Consulting | Domain Registration