You are not logged in.
Pages: 1
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
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
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)
Offline
@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
@olive
I created a testuser and the results are same.
https://ptpb.pw/bCen
PS: I installed xfce by
pacman -S xfce4then 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
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
I switched to tty4 then executed
startx -display :1 -- :1 vt4My .xinitrc file looks like
exec gnome-sessionand X started with GNOME
Now I tried
startxfce4 -display :1 -- :1 vt4and 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
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
@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
@seth what confuses me is how startx is managing to start gnome.
Offline
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
@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
About your GPU situation: output of lspci?
For the problem:
xrandr --display :1 --output eDP-1-1 --autoOffline
@seth, Turns out I had optimus. I didn't know. Guys at IRC told me.
Well.. installing bumblebee did the job.
Thanks everyone. ![]()
Arch is my digital family.
Offline
Pages: 1