You are not logged in.
I've installed arch linux x64 on my computer. I added other user. Also I added this new user to common groups. When I type startxfce4 by root, xfce4 runs properly and it's possible to use it. But when I type startxfce4 by newly added user xfce4 also runs. But instead default mouse in background I can see black screen, can't see cursor. Panels are visible. After call "turn off" dialog (I can't see cursor, but panels are working and I can see if cursor is on a button of the panel) cursor appearances. If the cursor hovers panels it's ok. But if this cursor is over background I can see big cross cursor like in checking of working xorg-server. When I run su before executing startxfce4 xfce4 also doesn't work correctly. What did I forget during install xorg-server, xfce4 or during adding new user?
Last edited by ivanmihval (2016-03-15 20:55:41)
Offline
Not an Installation issue, moving to NC...
Offline
Don't run Xorg as root.
My guess is that, having done so, there are files that are owned by root in the user's home directory tree. The user will not be able to write those files, and it is likely that they may not be able to read them either. Find said files in $HOME, $HOME/.config and $HOME.local directories (and sub-directories) and delete them. You will need to do that as root.
Don't run Xorg as root. Ever.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
I've deleted .local and .config but background is also black, and instead typical cursor it's cross when I hover background. Besides that I can't see menu clicking right button on background. On top standard xfce4 panel I can't see active windows. On bottom panel I can't see icon of browser, terminal, etc, instead I can see unknown icons like piece of paper with bended right bottom corner.
Offline
Run this to see if you still have files owned by root
find ~/ -user root
https://ugjka.net
paru > yay | webcord > discord
pacman -S spotify-launcher
mount /dev/disk/by-...
Offline
I typed, output is empty, ie I haven't files owned by root in home/user
Offline
Your symptoms all sound like your window manager isn't running. Do windows have title bars? Can they be resized and moved?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
When I execute as non-priviledge user windows haven't titlebars and I can't resize them. Also I couldn't move windows besides firefox. But when I was running as root it was ok. I don't remember if I've installed windows manager, I just typed "pacman -S xfce4".
Offline
... But when I type startxfce4 by newly added user ...
Wait, how exactly do you start X?
Try startx /usr/bin/startxfce4
Last edited by ugjka (2016-03-15 19:56:15)
https://ugjka.net
paru > yay | webcord > discord
pacman -S spotify-launcher
mount /dev/disk/by-...
Offline
And I've checked. xfwm4 are installed.
Offline
Your WM is installed - I said it's not running. Those are the exact symptoms of xfce running without it's WM.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
ivanmihval wrote:... But when I type startxfce4 by newly added user ...
Wait, how exactly do you start X?
Try startx /usr/bin/startxfce4
The same situation.
Offline
Your WM is installed - I said it's not running. Those are the exact symptoms of xfce running without it's WM.
I executed xfwm4 4 times: by user with working xserver, by user without working xserver, by rooot with working xserver and by root without working xserver. And during all 4 times output was: Gtk-WARNING **: cannot open display.
Offline
This is turning into a spoonfeeding session
https://ugjka.net
paru > yay | webcord > discord
pacman -S spotify-launcher
mount /dev/disk/by-...
Offline
This is turning into a spoonfeeding session
Thanks, I've deleted .config, .local, .cache from home directory, run xfconf-query -c xfce4-session -p /sessions/Failsafe/Client0_Command -t string -sa xfwm4 and it works.
Offline
Mark it [Solved] https://bbs.archlinux.org/viewtopic.php?id=50161
https://ugjka.net
paru > yay | webcord > discord
pacman -S spotify-launcher
mount /dev/disk/by-...
Offline