You are not logged in.

#1 2013-10-05 16:33:12

tomsloan
Member
Registered: 2013-09-30
Posts: 22

startx issues

So, I've been starting x manually as long as I've been running arch. today I go to put arch on a new system, install X, default environment, AMD catalyst drivers, configure said drivers, all as presribed by the beginner's guide. I type 'startx' and the first thing I see is a white screen, then a black screen, and then my system reboots.

just in case the default environment is borked somehow, I install gnome-flashback, edit the .xinitrc file, and try startx again. This time I get a solid screen that looks like what you used to see from TV's when there was no signal from the antenna... and then the system reboots.

What's going on here? I tried reinstalling and configuring the drivers but to no avail.

Last edited by tomsloan (2013-10-08 01:26:22)

Offline

#2 2013-10-05 16:39:41

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: startx issues

Did you test with the open-source video driver first? Is there anything useful in the Xorg log?

Offline

#3 2013-10-05 16:41:32

tomsloan
Member
Registered: 2013-09-30
Posts: 22

Re: startx issues

I did not test with the open-source driver first. I tried checking the xorg log with the grep command, and the file came up blank. I'll try with the open-source driver and see what happens.

Offline

#4 2013-10-05 16:44:54

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: startx issues

tomsloan wrote:

I tried checking the xorg log with the grep command, and the file came up blank.

The file was empty, or the grep command returned nothing? If the latter, what did you grep for?

Offline

#5 2013-10-05 17:00:44

tomsloan
Member
Registered: 2013-09-30
Posts: 22

Re: startx issues

The file was not found. I grepped as follows:

grep EE /var/log/Xorg.0.log

when starting x with the open-source drivers, i get a screen that looks like this:

?ui=2&ik=3f8d156624&view=att&th=14189889c0d97de4&attid=0.1&disp=inline&safe=1&zw&saduie=AG9B_P-dQQe1Qo0OwosDehdGgYo1&sadet=1380992346439&sads=YsNr0AUIGBQ26etGuXz-daOtxM4&sadssc=1

?ui=2&ik=3f8d156624&view=att&th=14189881ff5114a3&attid=0.1&disp=inline&safe=1&zw&saduie=AG9B_P-dQQe1Qo0OwosDehdGgYo1&sadet=1380992402966&sads=YK7kQd36vTpwQg-ApPYDZM0Qdrg

and the aforementioned grep command another missing file error.

Last edited by tomsloan (2013-10-05 17:10:31)

Offline

#6 2013-10-05 19:31:15

tomsloan
Member
Registered: 2013-09-30
Posts: 22

Re: startx issues

update: took another look through the wiki page, found that I had forgotten to turn off modsetting and blacklisting 'radeon'. Now X will, start, go to a black screen, then quit successfully. So I check fglrxinfo and glxinfo for direct rendering, and I get an error in both cases: unable to open display (null). I try to debug a la the troubleshooting section: unable to open display. What's going on here?

Offline

#7 2013-10-05 20:42:06

Steef435
Member
Registered: 2013-08-29
Posts: 577
Website

Re: startx issues

If the X server isn't running there obviously is no display to be found. You have to run the commands while an X-session is running.

Offline

#8 2013-10-05 20:48:34

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: startx issues

tomsloan wrote:

... then quit successfully.

If it quit successfully, what makes you think there is anything wrong with it?

Quitting successfully means it completed everything it was asked to do.  It is likely you didn't ask it to do anything.  What is in your ~/.xinitrc?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#9 2013-10-06 04:00:08

tomsloan
Member
Registered: 2013-09-30
Posts: 22

Re: startx issues

If it quit successfully, what makes you think there is anything wrong with it?

Quitting successfully means it completed everything it was asked to do.  It is likely you didn't ask it to do anything.  What is in your ~/.xinitrc?

Because I read the beginner's guide in the wiki, which states that deleting the xinitrc file if a user was created before installing x will cause x to start in the "default environment" (this all being mostly for testing purposes.) I have run said test successfully in previous installs and I'm flabbergasted as to why this one refuses to work.

When I add a desktop environment (I've tried gnome 3, gnome-flashback, and cinnamon), edit the xinitrc with the appropriate exec command, and execute "startx", I get a blank screen or the Oops, something went wrong" screen. When I press enter to log out, it gets stuck on the black screen. I grant you, all of these are gnome 3 based, so you might think gnome was at fault, but I uninstalled each environment before trying the next.

Offline

#10 2013-10-06 05:42:36

SquiddyBlob
Member
Registered: 2013-09-13
Posts: 24

Re: startx issues

Did you make a new ~/.xinitrc ?
You should use the one provided at /etc/skel/.xinitrc

Offline

#11 2013-10-06 11:58:09

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: startx issues

Do you have the "default environment" (twm, xterm, xclock) installed?  If not, what you are seeing is the expected result.

But now you are describing a completely new set of systems with the gnome message.  So what are the symptoms you are seeing, and (again) what is actually in your ~/.xinitrc?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#12 2013-10-07 22:12:45

tomsloan
Member
Registered: 2013-09-30
Posts: 22

Re: startx issues

default environment was and is installed. .xinitrc looks like this:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice

On the bright side, /var/log/Xorg.0.log now exists. the grep EE command returns this statement:

(EE) fglrx(0): atiddxDriScreenInit failed: Probably kernel module missing or incompatible.

But I'm not sure what to do about this. I'm sure I made a newbie mistake somewhere, but I can't figure out what it is.

Offline

#13 2013-10-13 20:00:58

Andreaskem
Member
Registered: 2013-10-13
Posts: 67

Re: startx issues

Kernel, Catalyst and Xorg Version? (See this)

Offline

Board footer

Powered by FluxBB