You are not logged in.

#1 2015-11-07 01:18:25

ritchan
Member
Registered: 2013-10-06
Posts: 13

Can start Xorg via SSH, but not via TTY

I have a Radeon 6870 and whenever I try to start X using just 'X' from the TTY it won't start. Here's what /var/log/Xorg.0.log says:

[   630.688] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   630.688] (--) using VT number 7

[   630.702] (II) [KMS] Kernel modesetting enabled.
[   630.702] (WW) Falling back to old probe method for modesetting
[   630.702] (II) RADEON(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[   630.702] (==) RADEON(0): Depth 24, (--) framebuffer bpp 32
[   630.702] (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[   630.702] (==) RADEON(0): Default visual is TrueColor
[   630.702] (==) RADEON(0): RGB weight 888
[   630.702] (II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
[   630.702] (--) RADEON(0): Chipset: "AMD Radeon HD 6800 Series" (ChipID = 0x6738)
[   630.702] (EE) RADEON(0): [drm] failed to set drm interface version.
[   630.702] (EE) RADEON(0): Kernel modesetting setup failed
[   630.702] (II) UnloadModule: "radeon"
[   630.702] (EE) Screen(s) found, but none have a usable configuration.
[   630.703] (EE) 
Fatal server error:
[   630.703] (EE) no screens found(EE) 
[   630.703] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[   630.703] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   630.703] (EE) 
[   630.731] (EE) Server terminated with error (1). Closing log file.

But funnily enough, I ran 'X' from SSH, and it seemed to work just fine:

[root@valentine ~]# X

X.Org X Server 1.17.4
Release Date: 2015-10-28
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.2.5-1-ARCH x86_64 
Current Operating System: Linux valentine 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=22e9c14d-5b17-445b-a6b6-c9194b108ad5 rw quiet
Build Date: 01 November 2015  10:36:50AM
 
Current version of pixman: 0.32.8
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Nov  7 02:18:00 2015
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) [KMS] Kernel modesetting enabled.
^C(II) Server terminated successfully (0). Closing log file.
[root@valentine ~]# 

What gives? is radeondrmfb blocking it?

Offline

#2 2015-11-07 01:31:53

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

Re: Can start Xorg via SSH, but not via TTY

What if you start x with startx    ?


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

#3 2015-11-07 01:37:05

ritchan
Member
Registered: 2013-10-06
Posts: 13

Re: Can start Xorg via SSH, but not via TTY

startx seems to start the server just fine, it just complains that I don't have xterm and all that. But I would really like lightdm to work instead of having to run startx all the time!

Last edited by ritchan (2015-11-07 01:37:54)

Offline

#4 2015-11-07 02:27:39

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

Re: Can start Xorg via SSH, but not via TTY

My point, that I had not even tried to make, is that 'X' is not the way to start X from the console.  You really want to use xinit or startx.  startx uses xinint.  xinit does a lot of magic having to do with screens and access to them.

I really suggest you set up a local .xinitrc and use startx.  Check out this article

Edit:  Sorry, I glossed over the lightdm bit.  I don't use a DM, so I really cannot help.   I did not see that as part of the initial question.

Last edited by ewaller (2015-11-07 02:29:13)


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

#5 2015-11-07 11:55:11

tulcod
Member
Registered: 2011-05-25
Posts: 9

Re: Can start Xorg via SSH, but not via TTY

1. What's your X configuration? (/etc/X11/xorg.conf.d/ or /etc/X11/xorg.conf)
2. Try cleaning your X config by renaming files in /etc/X11/xorg.conf.d/ from xx-yyyy.conf to xx-yyyy.conf.bak (some of them are installed by packages and you'll probably want to keep them)

Offline

Board footer

Powered by FluxBB