You are not logged in.
I'm new to Arch but not to Linux. Also I'm writting this from my phone so excuse formating and gramatical errors.
I want xfce as my desktop environment.
I downloaded it and tried to run it with:
'startxfce4'
It then prints:
'usr/bin/startxfce: starting X server
waiting for Xserver to beginn accepting connections'
Then it prints some dots and then shuts down the PC (no error or anything I know of). (The same happens with 'startx')
Now i check my .Xauthority file which exists but is empty.
So i tried to generate one via 'xauth generate [...]' but for this I need to know the display and i didnt found a way to get it (":0" or "arch:0" didnt work).
Any ideas?
Last edited by Stefan_xyz (2019-09-01 13:02:59)
Offline
Hi Stefan_xyz and welcome onboard.
First things first. Is this a laptop perhaps with hybrid graphics?
Do you have a ~/.xinitrc?
I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.
Offline
First things first. Is this a laptop perhaps with hybrid graphics?
I got an 1050ti and an i7 7700HQ with graphic support.
Do you have a ~/.xinitrc?
Yes i got the file. It is not empty the only changes i made was to uncomment everything below the '# start some nice programms' commentar.
Offline
Yes i got the file. It is not empty the only changes i made was to uncomment everything below the '# start some nice programms' commentar.
That would explain why startx doesn't do what you expect, though not why the system would shut down: please follow the wiki.
To troubleshoot the shutdown, please post your Xorg log and the journal from the previous boot (when the shutdown happened).
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Stefan_xyz wrote:Yes i got the file. It is not empty the only changes i made was to uncomment everything below the '# start some nice programms' commentar.
That would explain why startx doesn't do what you expect, though not why the system would shut down: please follow the wiki.
To troubleshoot the shutdown, please post your Xorg log and the journal from the previous boot (when the shutdown happened).
Okay i redone it and now it works. Thanks!
Im not quite sure why tho because before i changed the file it didnt work (neither as root nor a normal user) but now it works (as root and as a normal user)
Thanks for the quick replies.
Offline
Ah, ok. That really shouldn't have fixed the shutdown.
But if it's working, so be it. But please also do not run X as root.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline