You are not logged in.

#1 2012-08-18 18:49:23

jrussell
Member
From: Cape Town, South Africa
Registered: 2012-08-16
Posts: 510

[Solved] Issue after killling X

Hi,

Im really new to arch... and linux infact, I have installed arch on my laptop and computer, but there is a possible problem on the computer.


I have a problem after killing X, Im not sure if this is ment to happen, but this is what happened:

I start X with "startx" from a tty screen, and the X starts fine and I see 3 xterms and a clock.

Then if I kill X with "pkill X" I go back to a tty# window but my cursor (not sure if thats the correct word) is off the screen, basicly I cant see what Im typing, but whatever I type still works, and the screen still shifts as I do things.


From the wiki https://wiki.archlinux.org/index.php/Beginners'_Guide#Start_X it says: "If pkill does not work, reboot blindly with"...

Is what Im describing normal?

I did not have this problem on the laptop. The video driver on the computer is xf86-video-vesa, the laptop has nouveau.

I followed the wiki systematically on both my laptop and computer, the computer has an ATI card in it.

Last edited by jrussell (2012-08-20 14:45:48)


bitcoin: 1G62YGRFkMDwhGr5T5YGovfsxLx44eZo7U

Offline

#2 2012-08-19 05:01:48

Mactownes
Member
From: The womb
Registered: 2012-08-17
Posts: 22
Website

Re: [Solved] Issue after killling X

What window manager or desktop environment are you running?

This might be from X setting the resolution to something higher than is set for the TTYs, then not setting it back to the TTY resolution when it quits. What is the resolution of your monitors?
If you run "xrandr" in X, it should tell you what your resolution is. If you found that out and found out the resolution of the TTYs, that would help.

Also try killing X by going to the tty and doing Ctrl C instead

Offline

#3 2012-08-19 06:23:56

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [Solved] Issue after killling X

@Mactownes - it sounds like he is using the xwm to test X as the beginners guide tells you to do.  I think it tells you to install xorg-server xorg-server-utils and xorg-xinit and then do a startx.  Then goes on to tell you that if that works, proceed to install a DE and/or WM if desired.

Offline

#4 2012-08-19 20:35:16

b4data
Member
Registered: 2010-12-14
Posts: 141

Re: [Solved] Issue after killling X

@jrussell

After issuing startx (and focus is switched to tty7), can you use CTRL+ALT+F1 to switch back to tty1 (or F2 for tty2 and so on)? Do things appear normal then?

Offline

#5 2012-08-20 04:28:35

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [Solved] Issue after killling X

I start X with "startx" from a tty screen, and the X starts fine and I see 3 xterms and a clock.

It means you don't have a proper ~/.xinitrc file. Carefully read the wiki page for whatever DE/WM (desktop environment/window manager) you chose, starting from the top. Twice. For example:

https://wiki.archlinux.org/index.php/Xfce
https://wiki.archlinux.org/index.php/KDE
https://wiki.archlinux.org/index.php/Openbox
Etc.

Then if I kill X with "pkill X" I go back to a tty# window but my cursor (not sure if thats the correct word) is off the screen, basicly I cant see what Im typing, but whatever I type still works, and the screen still shifts as I do things.

First thing that popped into my head was the resolution. Off screen cursor (yes, the blinking thing is called a cursor), can usually be fixed by auto adjusting the monitor to fit the screen borders. But I don't understand what you mean by "basicly I cant see what Im typing" and "the screen still shifts as I do things".


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#6 2012-08-20 07:10:58

Lennie
Member
From: Sweden
Registered: 2011-10-12
Posts: 146

Re: [Solved] Issue after killling X

Install the right driver for your video card. Vesa is only kind of a rescue driver, not meant to be used normally. I guess you should have xf86-video-ati.

Offline

#7 2012-08-20 13:03:48

jrussell
Member
From: Cape Town, South Africa
Registered: 2012-08-16
Posts: 510

Re: [Solved] Issue after killling X

Thanks for the replies so far

b4data wrote:

@jrussell

After issuing startx (and focus is switched to tty7), can you use CTRL+ALT+F1 to switch back to tty1 (or F2 for tty2 and so on)? Do things appear normal then?

If I startx and then switch back to tty1 it does not work properly, same problem.
All the tty's have the same problem after starting X

So I assume from that that my problem has nothing to do with quiting X.

Adjusting the monitor doesn't help either, I just get a blank space where text should be.

Last edited by jrussell (2012-08-20 13:11:46)


bitcoin: 1G62YGRFkMDwhGr5T5YGovfsxLx44eZo7U

Offline

#8 2012-08-20 13:05:03

jrussell
Member
From: Cape Town, South Africa
Registered: 2012-08-16
Posts: 510

Re: [Solved] Issue after killling X

Mactownes wrote:

What window manager or desktop environment are you running?

This might be from X setting the resolution to something higher than is set for the TTYs, then not setting it back to the TTY resolution when it quits. What is the resolution of your monitors?
If you run "xrandr" in X, it should tell you what your resolution is. If you found that out and found out the resolution of the TTYs, that would help.

Also try killing X by going to the tty and doing Ctrl C instead


I have been fiddling with fluxbox and the default one (I think its xwm?) Ill try the xranddr now


bitcoin: 1G62YGRFkMDwhGr5T5YGovfsxLx44eZo7U

Offline

#9 2012-08-20 13:18:36

jrussell
Member
From: Cape Town, South Africa
Registered: 2012-08-16
Posts: 510

Re: [Solved] Issue after killling X

Lennie wrote:

Install the right driver for your video card. Vesa is only kind of a rescue driver, not meant to be used normally. I guess you should have xf86-video-ati.

Problem solved. I installed the xf86-video-ati driver and now X (on tty7) runs at 1024 x 768. Which seems to be the same as my tty's and there is no problem.

With the vesa driver, X ran at 1280 x 1024, then I assume after starting X, the resolution did not change back to 1024 x 768 with the vesa driver?


bitcoin: 1G62YGRFkMDwhGr5T5YGovfsxLx44eZo7U

Offline

#10 2012-08-20 13:58:00

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [Solved] Issue after killling X

The generic VESA driver couldn't have possibly ran at 1280x1024 if your native resolution is 1024x768 - which is what KMS uses (native, from open source drivers). I think it was the bootloader that used a larger resolution and it was probably transferred to VESA.

jrussell wrote:

Problem solved.

Don't forget to mark it as such (by editing the first post). wink


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#11 2012-08-20 14:45:14

jrussell
Member
From: Cape Town, South Africa
Registered: 2012-08-16
Posts: 510

Re: [Solved] Issue after killling X

Thanks for the help everyone.

DSpider wrote:

The generic VESA driver couldn't have possibly ran at 1280x1024 if your native resolution is 1024x768 - which is what KMS uses (native, from open source drivers). I think it was the bootloader that used a larger resolution and it was probably transferred to VESA.

jrussell wrote:

Problem solved.

Don't forget to mark it as such (by editing the first post). wink

Will do, do you know how I could get around the problem of the resolutions if I did use vesa? Just for fiddling purposes. I have no idea how the resolutions work with  KMS and any of that, Ill do a bit of reading now though.


bitcoin: 1G62YGRFkMDwhGr5T5YGovfsxLx44eZo7U

Offline

Board footer

Powered by FluxBB