You are not logged in.

#1 2013-10-23 14:55:07

halimbo
Member
From: Krefeld, Germany
Registered: 2013-10-23
Posts: 74

[Solved] Xserver Runlevel Confusion

Hi, I'm German and new to the Forum :)
I switched from Debian to Arch yesterday and Installation was okay in general.
I installed the Xserver packages mentioned in the Beginner's Guide description .
Installed enlightenment17 (great that arch has a newer version in the official repos than Debian!) and after putting the
starter command in my .xinitrc it worked and started but the "Alt+F(x)" screen changing is very confused( I suppose it's this runlevel thing but I'm not sure)
Alt+F1-F4 switches between my Enlightenment-Desktops, and F7 also to a Enlightenment Desktop.
Now my ttys are not reachable.
I want my Xserver running on F7 and F1-F6 the different ttys.
I appreciate your help :)

Last edited by halimbo (2013-10-24 08:29:42)

Offline

#2 2013-10-23 15:03:56

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Xserver Runlevel Confusion

This has nothing to do with runlevels, they don't exist in systemd anymore, you now get different targets.
Maybe X starts on vt1?
What happens if you press Alt-Ctrl-F2? Alt-Ctrl-F7?
When running X you have to use Alt-Ctrl-F#, not just Alt-F#, to go to tty.

Last edited by karol (2013-10-23 15:04:34)

Offline

#3 2013-10-23 15:31:39

halimbo
Member
From: Krefeld, Germany
Registered: 2013-10-23
Posts: 74

Re: [Solved] Xserver Runlevel Confusion

Okay, thats why I got no clue, I'm totally new to the Sytemd thing :D
Yes i forgot to add Ctrl, but i  knew that.
When i press Alt+Ctrl+F2  i get a black screen...

Last edited by halimbo (2013-10-23 15:31:56)

Offline

#4 2013-10-23 15:34:04

halimbo
Member
From: Krefeld, Germany
Registered: 2013-10-23
Posts: 74

Re: [Solved] Xserver Runlevel Confusion

Yes i suppose X starts on vt1
how can I change this?

Offline

#5 2013-10-23 15:36:25

halimbo
Member
From: Krefeld, Germany
Registered: 2013-10-23
Posts: 74

Re: [Solved] Xserver Runlevel Confusion

Alt+Ctrl+F7 gives me a black screen too.
When i start X i get some shitty pixels and red hieroglyphs for about a second, don't know if that has anything to do with it

Offline

#6 2013-10-23 15:44:57

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Xserver Runlevel Confusion

What's the output of

ps -C X -o args=

Offline

#7 2013-10-23 15:45:30

halimbo
Member
From: Krefeld, Germany
Registered: 2013-10-23
Posts: 74

Re: [Solved] Xserver Runlevel Confusion

When i quit enlightenment i've got some green pixels on vt1 and all other vt's are black and i have to force poweroff because nothing responds...

Offline

#8 2013-10-23 15:47:42

halimbo
Member
From: Krefeld, Germany
Registered: 2013-10-23
Posts: 74

Re: [Solved] Xserver Runlevel Confusion

the output is:
X :0

while running X

Offline

#9 2013-10-23 16:18:24

halimbo
Member
From: Krefeld, Germany
Registered: 2013-10-23
Posts: 74

Re: [Solved] Xserver Runlevel Confusion

so after some experiments and googling:
X starts on the vt from which I call it.
It then blocks all other vts and spams some pixel rubbish on them.
( if I call X from vt6 then X starts on 6. Then after Alt+Strg+F1 it shows me green pixels and with Alt+Strg+F2 it shows me white pixels...)

Offline

#10 2013-10-23 16:21:21

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [Solved] Xserver Runlevel Confusion

Sounds like a video card and/or driver issue. Provide some relevant details.

Offline

#11 2013-10-23 16:28:16

halimbo
Member
From: Krefeld, Germany
Registered: 2013-10-23
Posts: 74

Re: [Solved] Xserver Runlevel Confusion

I don't think it's a driver issue because x and enlightenment works perfect until i quit the x server.
but thats just me, please define relevant details so i know what could be important information
Its an Intel Grpahic card, i installed the mesa and intel driver. Unfortunately i dont know how to switch between them so i could test which works bettere

okay google helped, i will now try the other driver

Last edited by halimbo (2013-10-23 16:31:08)

Offline

#12 2013-10-23 16:36:42

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Xserver Runlevel Confusion

halimbo wrote:

the output is:
X :0

while running X

That's weird, I get

$ ps -C X -o args=
/usr/bin/X -nolisten tcp :0 -auth /tmp/serverauth.G4T5E0VGIx vt1

'vt1' means I'm running on the first tty, the one I started X on. I start X with 'startx' and I'm using just dwm, so my setup it a bit different from yours.

Last edited by karol (2013-10-23 16:37:13)

Offline

#13 2013-10-23 16:40:04

halimbo
Member
From: Krefeld, Germany
Registered: 2013-10-23
Posts: 74

Re: [Solved] Xserver Runlevel Confusion

now as root in xserver i get a similar output

Offline

#14 2013-10-23 16:41:10

halimbo
Member
From: Krefeld, Germany
Registered: 2013-10-23
Posts: 74

Re: [Solved] Xserver Runlevel Confusion

could nomodeset have something to do with it? hmm

Offline

#15 2013-10-23 16:41:59

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Xserver Runlevel Confusion

halimbo wrote:

could nomodeset have something to do with it? hmm

Yes.

Please don't bump this thread. Edit your posts instead.

Last edited by karol (2013-10-23 16:43:22)

Offline

#16 2013-10-23 16:46:19

halimbo
Member
From: Krefeld, Germany
Registered: 2013-10-23
Posts: 74

Re: [Solved] Xserver Runlevel Confusion

okay sorry.
now as normal user i get this similar output from ps, too.
should i install the uvesafb driver for the console?
thats what i did with debian because my laptop screen only works with nomodeset.
but with arch the reolution was okay in console without any changing so i did not instalk the uvesafb driver.

edit: Quoting from the archwiki page of uvesafb: "Warning disabling KMS may break X"
what should i do now?

Last edited by halimbo (2013-10-23 16:56:56)

Offline

#17 2013-10-23 16:58:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Xserver Runlevel Confusion

https://bbs.archlinux.org/viewtopic.php … 3#p1340653
What exactly is your hardware?

Last edited by karol (2013-10-23 16:58:57)

Offline

#18 2013-10-23 17:00:50

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,722

Re: [Solved] Xserver Runlevel Confusion

at 8:33:02 Halimbo reported wrote:

    yes i suppose X starts on vt1..
how can i change this...
and why is this set as default?!? big_smile

If you were wondering what happened to your post, you hit the 'report' function, not the 'reply' function.  The post turned into a report to the moderators. It happens smile


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#19 2013-10-23 17:04:21

halimbo
Member
From: Krefeld, Germany
Registered: 2013-10-23
Posts: 74

Re: [Solved] Xserver Runlevel Confusion

0:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 01)
00:1c.2 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 3 (rev 01)
00:1c.3 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 4 (rev 01)
00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 01)
00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 01)
00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7-M Family) SATA Controller [AHCI mode] (rev 01)
02:06.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
02:06.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
02:06.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
02:06.3 SD Host controller: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller
02:06.4 Communication controller: Texas Instruments PCIxx12 GemCore based SmartCard controller
02:0e.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5788 Gigabit Ethernet (rev 03)
08:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)

Offline

#20 2013-10-23 17:09:51

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Xserver Runlevel Confusion

You don't need uvesafb, install just the intel driver.
What's the output of

pacman -Q linux
pacman -Qqs ^xf86-video

BTW, when posting configs, code or command output, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and - in case of longer listings - more convenient to scroll through.

Last edited by karol (2013-10-23 17:10:34)

Offline

#21 2013-10-23 17:23:02

halimbo
Member
From: Krefeld, Germany
Registered: 2013-10-23
Posts: 74

Re: [Solved] Xserver Runlevel Confusion

pacman -Q linux:

linux 3.11.6-1

pacman -Qqs ^xf86-video:

xf86-video-intel
xf86-video-vesa

Offline

#22 2013-10-23 17:29:16

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Xserver Runlevel Confusion

What's the kernel commandline of your bootlader?
Anything interesting in the logs?

halimbo wrote:

Its an Intel Grpahic card, i installed the mesa and intel driver. Unfortunately i dont know how to switch between them so i could test which works bettere

okay google helped, i will now try the other driver

What exactly did you do here?

Offline

#23 2013-10-23 17:40:43

halimbo
Member
From: Krefeld, Germany
Registered: 2013-10-23
Posts: 74

Re: [Solved] Xserver Runlevel Confusion

Kernel-Command-Line:
"nomodeset" and currently "i915.modeset=0".

Driver-Switching:
i did not find the configuration file to switch the driver and was not able to do it...

Logs:
Which logs?

Last edited by halimbo (2013-10-23 17:42:01)

Offline

#24 2013-10-23 17:43:59

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Xserver Runlevel Confusion

What happens if you remove both i915.modeset=0 and nomodeset?

What driver do you want to switch to? Intel is the correct driver.

Offline

#25 2013-10-23 17:46:08

halimbo
Member
From: Krefeld, Germany
Registered: 2013-10-23
Posts: 74

Re: [Solved] Xserver Runlevel Confusion

The screen goes black while booting Arch (Debian too)

Okay, so how can I check that the Intel driver is loaded an not the  Vesa driver?

Offline

Board footer

Powered by FluxBB