Tiny Core Extensions > TCE Q&A Forum

black screen when running Xorg

(1/2) > >>

AITap:
Hello! I've installed Xorg-7.4.tcel, my xorg.conf is:

--- Code: ---Section "ServerLayout"
Identifier     "X.org Configured"
Screen      0  "Screen0" 0 0
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath   "/usr/local/lib/X11/modules"
FontPath     "/usr/local/lib/X11/fonts/misc/"
FontPath     "/usr/local/lib/X11/fonts/TTF/"
FontPath     "/usr/local/lib/X11/fonts/OTF"
FontPath     "/usr/local/lib/X11/fonts/Type1/"
FontPath     "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
Load  "glx"
Load  "dri"
Load  "extmod"
Load  "dbe"
Load  "freetype"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver      "kbd"
Option      "XkbLayout" "ru"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option     "Protocol" "auto"
Option     "Device" "/dev/input/mice"
Option     "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier   "Monitor0"
Option     "DPMS"
EndSection

Section "Device"
Identifier  "Card0"
Driver      "vesa"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
DefaultDepth 24

SubSection "Display"
Viewport   0 0
Depth     16
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     24
EndSubSection
EndSection
--- End code ---

When I try to start Xorg (just by typing sudo Xorg after exiting to shell), i get only black screen!
When I return to 1st console (Ctrl+Alt+F1), I see: "error: couldn't open display", so I have to ps -a | grep Xorg and kill -9 ...
What can I do to run Xorg?

Xorg.0.log is also attached.

mikshaw:

--- Quote ---When I try to start Xorg (just by typing sudo Xorg after exiting to shell), i get only black screen!
--- End quote ---
You need to run something along with Xorg in order to make use of a desktop.  See /home/tc/.xsession as an example.  In the default file, Xvesa is run.  Try changing that to Xorg and run the "startx" command.  Startx does a few other things to prepare the system to run X, and it should solve the error.

roberts:
Once your Xorg is setup and has been tested via the .info file instructions, using xsetup.sh from CLI will detect Xorg and update your .xsession for you. Requires Tiny Core v1.3 or later.

curaga:
After installing, and either modifying .xsession yourself or by using xsetup.sh just run "startx". Plain Xorg is just the base for windows to show.

A related note: since version 1.6.0 the default is "dontzap" and a black desktop; I definitely don't agree with the decision to disable zapping by default (ctrl-alt-backspace). On the first times it made me think X had hung when it really just ignored the key combo.

tobiaus:

--- Quote from: curaga on May 03, 2009, 03:30:37 PM ---I definitely don't agree with the decision to disable zapping by default (ctrl-alt-backspace)

--- End quote ---

neither do i. i even hate in qemu when i can't use it.

Navigation

[0] Message Index

[#] Next page

Go to full version