You are not logged in.

#1 2017-08-28 17:26:45

MrHritik
Member
Registered: 2017-06-26
Posts: 20

[Solved] XFCE4 Not starting [Blank Screen]

Hi.

Whenever I try to start XFCE by `startxfce4` my monitor just turns off and nothing happens.
Though `startx` works fine and starts GNOME.
Also, when using GDM, choosing xfce session gives the same result.
I can't figure out why startx works but startxfce4 doesn't.
Help please.
Here's my X Org log file : https://ptpb.pw/Jjga


Thanks.

Last edited by MrHritik (2017-08-30 13:02:40)


Arch is my digital family.

Offline

#2 2017-08-28 17:52:17

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: [Solved] XFCE4 Not starting [Blank Screen]

Could you try to add another user, say test and login as test. Can you log in? If yes, there is something wrong with your configuration. Just start from a brand new user and move your old valuable files (or clean up your home particularly, your .* files). If that does not work, ensure you have installed the whole xfce4 group.

Last edited by olive (2017-08-28 17:59:49)

Offline

#3 2017-08-28 17:56:29

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [Solved] XFCE4 Not starting [Blank Screen]

Set up your ~/.xinitrc to launch xfce4 then run startx. Post the resulting xorg log file.

The log you posted earlier shows that X is starting and terminating correctly.

Edit - Can you post your ~/.xinitrc as well.

Last edited by Slithery (2017-08-28 17:59:30)


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#4 2017-08-28 17:59:04

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: [Solved] XFCE4 Not starting [Blank Screen]

@slithery Since Gnome start, I doubt there is any problem with Xorg. GDM should start xfce4 no matter the ~/.xinitrc. The problem is likely corrupted config files (hence my suggestion to try to create a brand new user) or a wrong xfce4 installation IMHO.

Last edited by olive (2017-08-28 18:01:29)

Offline

#5 2017-08-28 18:30:17

MrHritik
Member
Registered: 2017-06-26
Posts: 20

Re: [Solved] XFCE4 Not starting [Blank Screen]

@olive
I created a testuser and the results are same.
https://ptpb.pw/bCen
PS: I installed xfce by

pacman -S xfce4

then chose 'all'.

@slithery
There's no .xinitrc for the new testuser so I don't suppose it has to do anything with it.


Arch is my digital family.

Offline

#6 2017-08-28 18:54:44

loqs
Member
Registered: 2014-03-06
Posts: 18,963

Re: [Solved] XFCE4 Not starting [Blank Screen]

That does not appear to be the Xorg.log from the latest run please see Xorg#General
Edit:
The system appears to have hybrid graphics how have you configured that?

Last edited by loqs (2017-08-28 18:58:47)

Offline

#7 2017-08-29 12:15:27

MrHritik
Member
Registered: 2017-06-26
Posts: 20

Re: [Solved] XFCE4 Not starting [Blank Screen]

I switched to tty4 then executed

startx -display :1 -- :1 vt4

My .xinitrc file looks like

exec gnome-session

and X started with GNOME

Now I tried

startxfce4 -display :1 -- :1 vt4

and the same thing happened, monitor turned off. (Complete dark)
Then I switched to another tty and killed X on tty4.
Here's the X log. https://ptpb.pw/M6b8
PS: I got a lot of 'no protocol specified' on tty4 (after killing X)

Edit:
@loqs, I didn't configure any hybrid graphics.

Last edited by MrHritik (2017-08-29 12:16:14)


Arch is my digital family.

Offline

#8 2017-08-29 12:36:47

loqs
Member
Registered: 2014-03-06
Posts: 18,963

Re: [Solved] XFCE4 Not starting [Blank Screen]

Please try removing or renaming ~/.xinitrc so /etc/X11/xinit/xinitrc will be used.  Please ensure xorg-xclock xterm xorg-twm are installed and try starting X.
Want to test if a third window manager succeeds or fails.
Edit:
If that works please try starting gnome-terminal or compton in one of the open xterms.

Last edited by loqs (2017-08-29 14:56:13)

Offline

#9 2017-08-29 18:11:02

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,424

Re: [Solved] XFCE4 Not starting [Blank Screen]

MrHritik wrote:

@loqs, I didn't configure any hybrid graphics.

Yeah, but you should have.

[ 13305.323] (II) NVIDIA(0): Setting mode "NULL"

https://wiki.archlinux.org/index.php/NVIDIA_Optimus
https://wiki.archlinux.org/index.php/Bumblebee

Offline

#10 2017-08-29 18:12:45

loqs
Member
Registered: 2014-03-06
Posts: 18,963

Re: [Solved] XFCE4 Not starting [Blank Screen]

@seth what confuses me is how startx is managing to start gnome.

Offline

#11 2017-08-30 06:26:44

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,424

Re: [Solved] XFCE4 Not starting [Blank Screen]

The problem could be the output connection (to the IGP/GPU), an unconfigured sink and gnome either handling the situation "better" or xfce trying to (re-?)establish a non functional randr setup.

a) Does gnome (on xorg) also start from wayland?
b) launch xfce, switch to another VT and run "xrandr --display :1"

Random question: why do you attempt display :1 - is there already a running server on :0?

Offline

#12 2017-08-30 11:40:45

MrHritik
Member
Registered: 2017-06-26
Posts: 20

Re: [Solved] XFCE4 Not starting [Blank Screen]

@Seth, I don't use 2 graphics card. There's just NVIDIA.
a) Yes, I use GDM as login manager and that launches GNOME from wayland.
b)

Screen 0: minimum 8 x 8, current 640 x 480, maximum 16384 x 16384
eDP-1-1 connected (normal left inverted right x axis y axis)
   1920x1080     60.01 +
   1400x1050     59.98  
   1280x1024     60.02  
   1280x960      60.00  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   800x600       60.00    60.32    56.25  
   700x525       59.98  
   640x512       60.02  
   640x480       60.00    59.94  
   512x384       60.00  
   400x300       60.32    56.34  
   320x240       60.05  
HDMI-1-1 disconnected (normal left inverted right x axis y axis)
DP-1-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-2 disconnected (normal left inverted right x axis y axis)

Random question's answer: Yes, Gnome wayland is running on :0 as I need it to open this forum.
PS: I've tried on :0 as well (i.e. without any other display running) results are same.

@loqs
It returns the same dark screen.

Last edited by MrHritik (2017-08-30 11:44:49)


Arch is my digital family.

Offline

#13 2017-08-30 12:47:57

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,424

Re: [Solved] XFCE4 Not starting [Blank Screen]

About your GPU situation: output of lspci?
For the problem:

xrandr --display :1 --output eDP-1-1 --auto

Offline

#14 2017-08-30 13:02:19

MrHritik
Member
Registered: 2017-06-26
Posts: 20

Re: [Solved] XFCE4 Not starting [Blank Screen]

@seth, Turns out I had optimus. I didn't know. Guys at IRC told me.

Well.. installing bumblebee did the job.

Thanks everyone. smile


Arch is my digital family.

Offline

Board footer

Powered by FluxBB