6

I installed Cheese and VLC from the Raspbian repositories. The programs worked perfectly until I tried to restart the computer. Now, after executing startx I get a black screen. After killing X I see the following error message:

No protocol specified

waiting for X server to begin accepting connections .
No protocol specified
..
No protocol specified
.. Server terminated successfully (0). Closing log file.

xinit: giving up
xinit: unable to connect to X server: Bad file descriptor
xinit: server error

Can anyone help me to fix this error?

hellocatfood
  • 267
  • 4
  • 10

2 Answers2

2

Check your ~/.xinitrc file. It sounds like something listed there to be launched at execution of the startx command isn't starting properly and is hanging, making it look like X hasn't started. (It probably has, it's just showing a black background. Misleading, I know!)

Fred
  • 4,592
  • 19
  • 29
0

Check how much free space you have available in the partition that your home directory is located on, as X creates configuration files and temporary files in your home folder.

SG60
  • 59
  • 3
  • 4