liquidzoo Posted August 20, 2003 Report Share Posted August 20, 2003 I installed fluxbox recently. I wanted to check it out and see what it was like. When I booted up, I entered the command startfluxbox since I didn't know any other command to start it up (KDE is my default when I type startx) but I got the following error on my screen: BaseDisplay::BaseDisplay: connection to X server failed. /usr/X11R6/bin/startfluxbox: line 11: 2255 Aborted /usr/X11R6/bin/bsetroot - solid Black BaseDisplay::BaseDisplay: connection to X server failed. Fluxbox: Unknown error. All line 11 of the startfluxbox script says is fi Any ideas what I should do next? It seems that the display is not being recognized or something, but it works just fine with KDE. I really want to give this a shot. Can anyone help? Quote Link to comment Share on other sites More sharing options...
liquidzoo Posted August 20, 2003 Author Report Share Posted August 20, 2003 Per request from rcxau, my /usr/X11R6/bin/startfluxbox file: #!/bin/sh if [ -e ~/.fluxbox/startup ];then exec sh ~/.fluxbox/startup else if [ ! -d ~/.fluxbox ];then mkdir ~/.fluxbox fi cp /usr/share/fluxbox/startup ~/.fluxbox /usr/X11R6/bin/bsetroot -solid Black exec /usr/X11R6/bin/fluxbox fi Quote Link to comment Share on other sites More sharing options...
liquidzoo Posted August 20, 2003 Author Report Share Posted August 20, 2003 Thanks to rcxau and HJ on the IRC channel, I got this figured out. Thanks a lot for your help. Now I just need to figure out some configuration options and I'll be all set... Anyone that uses flux have any good configuration options they would like to share? Quote Link to comment Share on other sites More sharing options...
ramfree17 Posted August 20, 2003 Report Share Posted August 20, 2003 Per request from rcxau, my /usr/X11R6/bin/startfluxbox file: #!/bin/sh<!--QuoteEBegin--><!--QuoteEBegin-->if [ -e ~/.fluxbox/startup ];then<!--QuoteEBegin--><!--QuoteEBegin--> exec sh ~/.fluxbox/startup<!--QuoteEBegin--><!--QuoteEBegin-->else<!--QuoteEBegin--><!--QuoteEBegin--> if [ ! -d ~/.fluxbox ];then<!--QuoteEBegin--><!--QuoteEBegin--> mkdir ~/.fluxbox<!--QuoteEBegin--><!--QuoteEBegin--> fi<!--QuoteEBegin--><!--QuoteEBegin--> cp /usr/share/fluxbox/startup ~/.fluxbox<!--QuoteEBegin--><!--QuoteEBegin--> /usr/X11R6/bin/bsetroot -solid Black<!--QuoteEBegin--><!--QuoteEBegin--> exec /usr/X11R6/bin/fluxbox<!--QuoteEBegin--><!--QuoteEBegin-->fi hehehe, your life would be simpler by installing the Xtart package which if i remember correctly is in your installation disks. after that it would be a trivial thing to add new windows managers to its configurations. but then, looking at the bright side you have now learned how to do it by hand. :) ciao! Quote Link to comment Share on other sites More sharing options...
SoulSe Posted August 20, 2003 Report Share Posted August 20, 2003 Please post the fix here so that other users can benefit from this thread, thanks 8) Quote Link to comment Share on other sites More sharing options...
static Posted August 20, 2003 Report Share Posted August 20, 2003 What I do is put exec fluxbox at the end of my ~/.xinitrc and use startx still. I also had to edit my /etc/rc.conf I believe to change the $XSESSION to fluxbox from kde I believe... Anyway, what did you do? Quote Link to comment Share on other sites More sharing options...
tyme Posted August 20, 2003 Report Share Posted August 20, 2003 startfluxbox won't work because you need to have an X server running prior to starting fluxbox. startfluxbox will not start the server itself. if you're starting from a command line, static's way is the best way (IMHO)-although I don't think editing /etc/rc.conf is necessary for it to work (atleast I never had to do it). Quote Link to comment Share on other sites More sharing options...
william Posted August 20, 2003 Report Share Posted August 20, 2003 here i how my .xinitrc looks like: #exec gnome-session #exec startkde #exec enlightenment & idesk & gkrellm & exec fluxbox Quote Link to comment Share on other sites More sharing options...
liquidzoo Posted August 20, 2003 Author Report Share Posted August 20, 2003 What I do is put exec fluxbox at the end of my ~/.xinitrc and use startx still. I also had to edit my /etc/rc.conf I believe to change the $XSESSION to fluxbox from kde I believe... Anyway, what did you do? This is the fix that worked for me, except the only file I had to modify was the ~/.xinitrc file, not anything else. Quote Link to comment Share on other sites More sharing options...
bvc Posted August 21, 2003 Report Share Posted August 21, 2003 Couldn't find one for flux....but maybe you'll see something you can use :wink: last modified May 7th...it's old :wink: #!/bin/bash #======START PROGRAMS=======# #(sleep 10; gkrellm) & #(sleep 5; artsplay /home/soundz/Save.wav & exit) & #(sleep 4; Eterm --trans -g 80x77+0+0) & #(sleep 8; krusader) & #(sleep 12; kate) & #=======MISC=======# #(sleep 7; gnome-settings-daemon) & #(sleep 2; gnome-theme-properties) & #####/usr/bin/kicker & #######/usr/bin/kdeinit & #####/usr/bin/dcopserver && kded & #~/setbkgrd.sh #=======WAIMEA=======# #export LD_LIBRARY_PATH=$QTDIR/usr/lib/qt3/lib/ #export OPERA_FORCE_JAVA_ENABLED=1 #####export LC=C #####export LC_ALL=C #export QT_XFT=true #export GDK_USE_XFT=1 #(sleep 10; gkrellm) & #(sleep 4; Eterm --trans -g 80x77+0+0) & #/usr/bin/artsd -F 10 -S 4096 -s 60 -m artsmessage -l 3 -f & #enable_X11_numlock & #(sleep 8; aterm -T WvDial -tr +sb -bg black -fg yellow -bw 0 -e wvdial) & #(sleep 1; xset s off s noblank dpms 0 0 0) & #(sleep 12; idesk) & #/usr/bin/wampager & #exec /usr/X11R6/bin/waimea --menufile /home/bvc/waimea/menu #=========GNOME2========# #export LD_LIBRARY_PATH=$QTDIR/usr/lib/qt3/lib/ #export OPERA_FORCE_JAVA_ENABLED=1 #export LC=C #export LC_ALL=C #export QT_XFT=true #export GDK_USE_XFT=1 ###(sleep 5; /usr/bin/esd -terminate -nobeeps -as 2 -spawnfd 15) & #(sleep 3; play /home/soundz/maxmsn.wav) & #Esetroot -s ~/wallpapers/scales/Clean_Gnome.png #Esetroot -s ~/wallpapers/scales/GNOME-simple_1600x1200.png #(sleep 4; gkrellm) & #enable_X11_numlock & #(sleep 2; wvdial $*) & #(sleep 10; xset s off s noblank dpms 0 0 0) & #(sleep 5; idesk) & #exec /usr/bin/startgnome #========KDE3-1=======# #export LD_LIBRARY_PATH=$QTDIR/usr/lib/qt3/lib/ #export OPERA_FORCE_JAVA_ENABLED=1 ##export LC=C ##export LC_ALL=C #export QT_XFT=true #export GDK_USE_XFT=1 #(sleep 10; gkrellm) & ###(sleep 13; kppp -c MLI) & #(sleep 2; wvdial $*) & ##(sleep 8; aterm -T WvDial -tr +sb -bg black -fg yellow -bw 0 -e wvdial) & #(sleep 1; xset s off s noblank dpms 0 0 0) & #(sleep 12; idesk) & #exec /usr/bin/startkde #=======AfterStep=======# (sleep 7; /usr/bin/esd -terminate -nobeeps -as 2 -spawnfd 15) & (sleep 6; aterm -T Aterm -tr +sb -bg black -fg yellow -bw 0) & (sleep 4; gkrellm) & #enable_X11_numlock & (sleep 2; wvdial $*) & #(sleep 10; xset s off s noblank dpms 0 0 0) & (sleep 5; idesk) & exec /usr/X11R6/bin/afterstep Quote Link to comment Share on other sites More sharing options...
liquidzoo Posted August 21, 2003 Author Report Share Posted August 21, 2003 just a quick question about that config file. I see this: #(sleep 4; Eterm --trans -g 80x77+0+0) & I know what the Eterm command does, I'm pretty sure what the --trans does. What do the -g and the 80x77+0+0 do? Quote Link to comment Share on other sites More sharing options...
bvc Posted August 21, 2003 Report Share Posted August 21, 2003 from man aterm (same for Eterm, xterm, probably others and many apps) -geometry geom Window geometry (-g still respected); resource geometry. Quote Link to comment Share on other sites More sharing options...
liquidzoo Posted August 21, 2003 Author Report Share Posted August 21, 2003 Thanks. 1 more question: How do you get the titlebars on the terminal windows to go away? I have seen this in some screenshots (can't remember where, though) and I really want this look. Anyone have any ideas? Is this something that is terminal specific? Quote Link to comment Share on other sites More sharing options...
bvc Posted August 21, 2003 Report Share Posted August 21, 2003 man Eterm -x, --borderless This option forces Eterm to have no borders. http://www.coost.com/cgi-bin/dwww?type=man...man1/Eterm.1.gz ...and yes, it is terminal specific. I think another or two can do it, but I d/k how.....SEE:man <terminal> I use to like to start Eterm with X w/ no borders, toolbar, and no tiltebar and vertically/ with -g take up half the entire screen 8) Quote Link to comment Share on other sites More sharing options...
liquidzoo Posted August 21, 2003 Author Report Share Posted August 21, 2003 Sweet, thanks a lot! I was wondering how to do that. This will help me out a lot. I will have to give it a try when I get home. I assume that I can do this with Eterm from any WM/DE? All I would have to do is adjust the command in the respective menu line/command prompt? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.