SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-09-13 12:44:29

Bisto
New Member
Registered: 2013-09-13
Posts: 6

Broken X and Openbox starting on boot

Hi guys,

Need help getting openbox and X to start automatically on boot.
It used to, but I broke it trying to switch graphics driver to fgrlx.
I installed fgrlx, removed the xorg ati drivers, and rebooted.
fgrlx didn't apply the correct resolution of my screen, and I was presented with the tty login on boot.

It all works fine if I log in and startx, but I would like to not have to do this on each boot,
anyone got an idea how to get it back to work again?

Thanks smile

Offline

Help fund CrunchBang, donate to the project!

#2 2013-09-13 12:45:33

Bisto
New Member
Registered: 2013-09-13
Posts: 6

Re: Broken X and Openbox starting on boot

I forgot to add, I have since reinstalled the xorg ati drivers and removed fgrlx but no change sadly sad

Offline

#3 2013-09-13 12:53:00

Kexolino
#! Junkie
Registered: 2011-06-13
Posts: 293

Re: Broken X and Openbox starting on boot

Do you have a login manager installed? What happens if you do a

sudo service slim start

?

Offline

#4 2013-09-13 13:01:45

Bisto
New Member
Registered: 2013-09-13
Posts: 6

Re: Broken X and Openbox starting on boot

If I do sudo service slim start I get

Starting X display manager: slim already running.

Offline

#5 2013-09-13 13:19:25

Kexolino
#! Junkie
Registered: 2011-06-13
Posts: 293

Re: Broken X and Openbox starting on boot

Hm, that's weird. If it's running, you shouldn't end up in a tty...
How did you install fglrx (before you removed it)? If installed with sgfxi, you should run the script again after rebooting... When I install the proprietary nvidia driver, that's always the case, after reboot I get bad resolution, and I have to run the script again to actually install the thing...
Honestly, I'm just throwing out what comes to mind, someone more knowledgeable will probably pop in to help you.

Offline

#6 2013-09-13 16:38:47

Bisto
New Member
Registered: 2013-09-13
Posts: 6

Re: Broken X and Openbox starting on boot

No I was following the guide from debian forums on how to change. this whole fglrx thing is a mess!
It seems to me (from what I can make out anyway) that when fglrx is installed it might be changing the config folder for login somehow?
Other problem is after installing fglrx, is asks me to do

sudo aticonfig --initial

This doesn't work, as it says there isn't a compatible adapter, then cancels.
According to the how-to,I need the legacy version of fglrx, which is what I installed.
I have tried both versions, same outcome either way.
If I make the xorg.conf as they suggest you need to, it will not start X and I have to delete xorg.conf. I have also tried using the other method of /etc/X11/xorg.conf.d/20-fglrx.conf (iirc) and that produces the same result. startx and slim both say 'screen not found' if I point to 'fglrx' or 'radeon' in the xorg config sad
I'm on the cusp of giving up and accepting mega slow gfx performance forever! It's nothing special, only a radeon xpress 200m in a  laptop! I know I can run games on it though, I dual boot with Win7 and I can run 3d applications fine there.

Offline

#7 2013-09-13 20:21:40

Kexolino
#! Junkie
Registered: 2011-06-13
Posts: 293

Re: Broken X and Openbox starting on boot

Being the noob that I am, I'd try installing fglrx again, with sgfxi:

sudo su
cd /usr/local/bin && wget -O sgfxi smxi.org/sgfxi && chmod +x sgfxi
mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak (or back it up somewhere else you prefer)

then switch to a tty, go sudo su again, and enter sgfxi, then follow the instructions. It should detect your card and install the proper driver for it. Don't forget to re-run it after it finished for the first time and you reboot.
And ofc, back up any important data if you need to, cause fglrx is a bitch and can do crappy things, as you know.

EDIT: What distro are you using?

Last edited by Kexolino (2013-09-13 20:41:00)

Offline

#8 2013-09-14 16:03:45

Bisto
New Member
Registered: 2013-09-13
Posts: 6

Re: Broken X and Openbox starting on boot

Sorry for the late reply, I forgot to charge my internet hotspot ^_^

I'm on Waldorf. It's fairly stock, the only thing that I have really messed about with is changing the menu entries.
I will give sgfxi a go then, and report back with what happens!

Seb

Offline

#9 2013-09-16 12:25:21

Bisto
New Member
Registered: 2013-09-13
Posts: 6

Re: Broken X and Openbox starting on boot

Okay, so I finally got around to playing with sgfxi.
Brilliant bit of kit that! However, no good for my setup. It seems that AMD/ATI dropped support for my lapotp gfx in linux, so I'll just have to abandon that plan until I get a better laptop I guess!
Thanks for all your help Kexolino!

Offline

#10 2013-09-17 07:04:09

Kexolino
#! Junkie
Registered: 2011-06-13
Posts: 293

Re: Broken X and Openbox starting on boot

Well, you could still try to install the open source driver with sgfxi, maybe if you're in luck it will be configured properly

sgfxi -N radeon

(AFAIK, it doesn't need an xorg.conf, but can't be sure)

Other than this, I'm out of ideas. The good news is that the newest Radeon driver is supposed to bring some serious performance upgrades (better power management, less heat, etc.) but you do need kernel 3.11 for that. So unless you're willing to switch to something like Sid or Arch, you're not going to get it soon, but it should at least be in the next Debian release...

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo