LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 02-15-2007, 11:28 AM   #1
Splizxer
LQ Newbie
 
Registered: Sep 2003
Posts: 12

Rep: Reputation: 0
X11 gives me a black screen when exiting


Here's the setup I'm running:
Arch-Linux 0.8 in Microsoft Virtual PC 2004

I have installed xorg through 'pacman -Sy xorg', and installed kdebase with 'pacman -Sy kdebase'.
(My kernel and everything is up to date, I ran 'pacman -Syu' before I installed kde/x11).

installed hwd, ran the xorg configuration generator 'hwd -x', it detected my monitor just fine (please note that this problem persisted before I ran the autoconfig).


Basically, I can start X11 with the startx command, and run kde with kdm, everything works great (except for the mouse, which doesn't move).

So I'm keyboarding it in kde, I decide to exit so I logoff and try to go back into console, except my screen goes blank when exiting X11.

I try again using ctrl+alt+backspace, same thing, but here's the kicker, if I type reboot afterthat (into the console [which is black cause I can't see shit]), it goes beep and reboots like normal.

So I can still use the console and everything, I just cant see anything.

I'm using the vesa driver if that makes any difference.


Also, for the mouse problem, hwd detected it as PS/2, says serial and usb wasn't found (it is a usb mouse though), I image that is because of VirtualPC, but I tried to use the serial and usb modes, but they did not work either.


Has anyone had a similar experience or know how to figure this out, it would be greatly appreciated.

-Matthew

*These problems still happened when I installed arch w/out virtual PC (on another partition)*

EDIT: Also I'm not that technical with linux, but I can do basic shit like editing configs, so just keep that in mind when answering.
I also know that Arch is meant for advanced users, but I find this one the most straight forward to use.

Last edited by Splizxer; 02-15-2007 at 11:30 AM.
 
Old 02-15-2007, 12:44 PM   #2
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
Your going to need to edit your /etc/X11/xorg.conf to fix your various issues. Tools like hwd are nice, but its not very "Arch-like." Besides the philosophical points post the mouse section of your xorg.conf. Its probably just configured wrong.

For your console problem, did you include a frame buffer code in your grub.conf? Something like vga=791?

Last edited by Penguin of Wonder; 02-15-2007 at 12:45 PM.
 
Old 02-15-2007, 01:46 PM   #3
Splizxer
LQ Newbie
 
Registered: Sep 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Yea, I added vga=771 (I think its 800x600 256color)

EDIT: I removed the vga line, and now it goes back to working normally. Thanks

Ill post the mouse portions of the xorg config when I figure out how to copy and paste with kde.


Code:
Section "ServerLayout"
	Identifier     "Xorg Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "PS/2 Mouse" "CorePointer"
EndSection

Section "ServerFlags"
	Option "AllowMouseOpenFail"  "true"
	
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "keyboard"
        Option      "CoreKeyboard"
	Option "XkbRules" "xorg"
	Option "XkbModel" "pc105"
	Option "XkbLayout" ""
	Option "XkbVariant" ""
EndSection

Section "InputDevice"
	Identifier  "Serial Mouse"
	Driver      "mouse"
	Option      "Protocol" "Microsoft"
	Option      "Device" "/dev/ttyS0"
	Option      "Emulate3Buttons" "true"
	Option      "Emulate3Timeout" "70"
	Option	    "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
	Identifier  "PS/2 Mouse"
	Driver      "mouse"
	Option      "Protocol" "auto"
	Option          "ZAxisMapping"          "4 5"
	Option      "Device" "/dev/psaux"
	Option      "Emulate3Buttons" "true"
	Option      "Emulate3Timeout" "70"
	Option	    "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
	Option		"SendCoreEvents"	"true"
        Option          "Protocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection

Last edited by Splizxer; 02-15-2007 at 02:00 PM.
 
Old 02-15-2007, 02:48 PM   #4
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
From what you have written there it looks like you've got three different mice setup. But it looks like your corepointer is set to the wrong one. Try changing this line
Quote:
InputDevice "PS/2 Mouse" "CorePointer"
to this
Quote:
InputDevice "USB Mouse" "CorePointer"
Then do a ctrl+alt+backspace to restart X. That should tell X to use the USB mouse by default.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
second screen is black (framebuffer and x11) after upgrading memory oddiofile Linux - Hardware 2 11-17-2005 06:54 PM
Screen switches to 720x400 when exiting X baldy3105 Linux - General 2 11-14-2005 10:58 AM
one inch black bar on left of screen after exiting UT in Fedora Core 3. dr_zayus69 Linux - Software 0 01-14-2005 07:22 PM
screen blacks out after exiting x Skunk_Face Slackware 11 02-17-2004 02:06 AM
exiting X produces garbage all over screen IanS Linux - Newbie 1 10-12-2003 04:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 02:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration