You are not logged in.
Pages: 1
So far, I have installed the base packages of arch from ftp, changed the hostname, changed eth0 to dhcp, pacman -Sy xorg, pacman -Sy hwd, hwd -xa, pacman -Sy fluxbox, and updated hostname in /etc/hosts. at this point, startfluxbox gives the error...
failed to set locale, reverting to "c"
terminate called after throwing an instance of 'std::string'
/root/.fluxbox/startup: line 12: 1944 aborted /usr/bin/sbsetroot -solid black
warning: failed to set locale, reverting to "C"
error: couldn't connect to XServer
Anyone know where I went wrong?
Offline
Apart from your locale problem (is your /etc/locale.gen sound?), the problem with fluxbox seems to be related to a mistake in ~/.fluxbox/startup: it calls /usr/bin/sbsetroot to draw the background, while the correct spelling is /usr/bin/fbsetroot.
Apart from that, it seems that you are running X as root! You should not.
Mortuus in anima, curam gero cutis
Offline
you cannot run startfluxbox from the command line
you need to put this into your .xinitrc :
exec startfluxbox
Then just run startx
You'll notice there should already be this in .xinitrc
#exec fluxbox
The difference is that startfluxbox will start fluxbox with startup scripts located in ~./fluxbox/startup which is alot easier if you want to run programs at startup ie.
gkrellm -w &
Hope that helps
Offline
okay - i started over and used the following steps...
1. install arch off 0.7.1 ftp base installation (all packages in base), changing timezone, hostname, and eth0 (to dhcp) in /etc/rc.conf and localhost in /etc/hosts.
2. reboot
3. passwd
4. pacman -Sy xorg
5. pacman -Sy hwd
6. hwd -xa
7. pacman -Sy fluxbox
8. add "exec startfluxbox" to /etc/X11/xinit/xinitrc
9. adduser tony
10. log in as tony
11. startx
at this point, i see the screen resolution change to 1024x768 for a second and go black - it looks like its going to work but then i get kicked back into bash and see several messages. among these is a "no matching section for instance (BusID PCI:1:0:0) found /home/tony/.xinitrc: line 9: exec: wmaker: not found"
Offline
You should put:
exec startfluxbox
in ~/.xinitrc instead of /etc/X11/xinit/xinitrc. And remove 'exec wmaker' from ~/.xinitrc
For your xorg problem, check /var/log/Xorg.0.log for warning/error messages. You can aslo post the xorg.conf here.
Offline
what is the location of .xinitrc and do i have to update it for a new user?
Offline
what is the location of .xinitrc and do i have to update it for a new user?
It's a hidden file in your /home/user directory
Yes, you'll need to edit it unless you intend to run windowmaker
oz
Offline
yay! thanks to you all, i got it to work. however, when i use the rigth-click menus in fluxbox, i cannot get anything to open. was I supposed to comment out exec wmaker?
Offline
Wmaker? Why? May be you mean mmaker? Anyway, you do not need to use mmaker. You can configure it by hand in the file .fluxbox/menu, or you can use the provided script fluxbox-generate_menu. The menu generated by this script is in my opinion much more consistent and self-contained than that generated by mmaker.
For details:
fluxbox-generate_menu -h
Mortuus in anima, curam gero cutis
Offline
was I supposed to comment out exec wmaker?
Yes, comment out 'exec wmaker' as you are using fluxbox. wmaker stands for windowmaker, a window manager like fluxbox. It's probably not the cause of the menu problem. Maybe it needs to be configured like patroclo7 said. Perhaps you're trying to launch apps that aren't installed on your system.
Offline
Sorry... I read "install wmaker" instead of "comment out exec wmaker", ignore my perplexity above :?
Mortuus in anima, curam gero cutis
Offline
no problem. i got some help from a different user who informed me that I needed to install rxvt-unicode. I am all straightened out now - thanks!
Offline
Pages: 1