After intalling fluxbox!! And editing the .xinitrc, now linux won't load the desktop!
uhh.... guys i just install a fluxbox window manager, and edit the .xinitrc file as there tutorial to start the fluxbox..., but now my linux is useless i cant start to it, after logging in, in the login screen it just flashing back again..! to login screen. is fluxbox crash my default window manager?? this is my .xinitrc file..
Code:
bash ~/.fluxbox/startup & |
It would help you to get a useful response if you could provide a few more details.
What distro and version is this? Did you install Fluxbox using the package manager, or build from sources, or some other way? |
i install it using
Code:
sudo apt-get install fluxbox thank you for fast reply! |
I am not familiar with Linux Lite but I see it is an Ubuntu LTS derivative... I also am not an Ubuntu user...
That said, since you installed from apt it is presumably a good install, and setting the .xinitrc correctly should be the way to make it work. Since this the first time you have run it (another assumption) it is maybe due to there not being a ~./fluxbox/... directory in your home directory, or possibly Ubuntu requires some other method of calling startx. Your .xinitrc looks a little odd to me too, but maybe not. You said that you followed a tutorial - can you give us a link to that please. And I'll ask any Ubuntu users to drop in and comment on how you would start Fluxbox the first time. NOTE: It is probably something simple - please don't do anything crazy in a panic, like delete configs or reinstall! ;) |
A little more info from an online Ubuntu man page (see man startfluxbox and man fluxbox in you system):
Code:
Code:
In your ~/.xinitrc (or .xsession per above) |
thanks. for reply astrogeek but.. sorry for very2x noob reply i dont know how to boot in console mode(but dont worry ill search it in google). after i boot from console.. what should i type to start fluxbox?? just type startfluxbox? as the link you gave to me??
|
From some random Ubuntu forum... not sure it applies to you but can't hurt to try...
Quote:
|
ok.. ill reboot and try it..!
|
Just posting. To see this thread tommorrow since I am going to bed.
Code:
harry@harry-Latitude-XT2:~$ ls -all Did you hand make yours or was yours made after the your fluxbox install automagically. I ask because I run Fluxbox only on my M/C shop desktop. Usually either startx or startfluxbox or startx fluxbox. One of those 3 work for me from init 3 command line boot up screen. |
Also. On a desktop I am pretty sure Ctrl+alt+t or cntrl+alt+F1 will drop you out of a desktop and into a shell prompt.
|
auh.. ok see you tomorrow!
|
Hope you got it Cody!
I also must step away for a bit, but just to recap in case you are still stuck: At boot, you should get to options including recovery and root prompt by holding down the shift key. Alternatively, as rokytnji says, if you can boot to the login prompt then Ctl-Alt-F1 should get you to a shell prompt (if not, try Ctl-Alt-F2). Once you are at a shell prompt, cd into your home directory and create or edit both .xinitrc and .xsession (wont hurt to cover both bases)... If you are not sure how to edit from the shell try nano or pico, both are simple editors. See man nano and man pico for options... but something like: Code:
cd /home/myusername |
nothing happens even i put the line
Code:
exec /usr/bin/startfluxbox my linux lite started in the login screen but after it its flashes again into the login screen i cant do anything now.. the only i can access my linux is to mount it up in the windows7! is there a way to restore it? or not anymore.. fluxbox crashes my system wierd ey? |
Quote:
There may be more to your problem than just a bad line .xinitrc is why I say this. Before any Linux install I do. No matter if Puppy or Linux Lite. I check the md5sum of my downloaded iso first before using something Like Unetbootin or Free Iso Burner to make my bootable media in Windows. I mention all of this because some default configs for fluxbox. Like in my AntiX Debian testing installs, are located in /etc/skel. Code:
harry@harry-Latitude-XT2:~$ cd /etc/skel Can you handle copying the .xinitrc that Ubuntu should have made in /etc/skel and copy it over to overwrite what you made in /home/(your user name? Because maybe skel is overridng your home made /xinitrc and the 2 different ones cause a conflict. You can compare the one in skel with Code:
cat /etc/skel/.xinitrc Everything I say is just moot. I will be busy today working on motorcycles and other stuff so it will be awhile till I get back on here. astrogeek knows his stuff and I respect his advise on this forum. He walks the walk besides talk the talk so to speak. If you did not md5sum check your Linux lite iso before making a boot media. All your problems might stem from a corrupted downloaded iso. Hence that is why I mention a reinstall may be a smarter choice for you. You can pull off what you want to keep off of your install to external usb or dvdrw as a backup of pictures, bookmarks, emails, etc....... Be sure and md5sum though before doing any linux install. It saves headaches like this later. Happy Trails, Rok |
The correct entry in .xinitrc is
Code:
exec startfluxbox |
All times are GMT -5. The time now is 02:21 PM. |