You are not logged in.
I just Installed Arch on my custom PC!
I installed 'xorg-server', 'xorg-utils', 'xorg-server-utils', 'xorg-xinit', 'xterm' and 'xorg-twm' as well as 'gnome' and 'gnome-extra'. When running as root, xorg worked and I could use gnome. When running as a normal user, after executing startx the cursor would blink and give me a message about being unable to loack XAuthority,not being able to access Xlog, followed by EE messages about xinit giving up and not being able to establish a connection to the X server. I tries enabling gdm via systemctl, but is crashed when it was loaded by systemd saying an error had occurred. I created a .xinitrc file in my user's directory, the only line in it being 'exec gnome-session'. By the way, /etc/skel was empty. I also ran twm before I installed GNOME and it too would only run under root nad give the same error message when I ran from my user account. Sitting typing this from the root account using GNOME (and Firefox, of course)!
Please help me run X as the normal user I am!
Offline
When running as root, xorg worked and I could use gnome.
Who owns ~/.Xauthority, should be owned by user.
Offline
... I created a .xinitrc file in my user's directory, the only line in it being 'exec gnome-session'. By the way, /etc/skel was empty...
Read the wiki. The recommended .xinitrc file doesn't live in /etc/skel anymore ![]()
Edit - Are you sure that /etc/skel was completely empty? It should at least contain the usual hidden bash config files.
Last edited by Slithery (2015-05-27 18:02:35)
Offline
Comrades, thank you for the continued interest. I think I might be getting somewhere.
florosus wrote:... I created a .xinitrc file in my user's directory, the only line in it being 'exec gnome-session'. By the way, /etc/skel was empty...
Read the wiki. The recommended .xinitrc file doesn't live in /etc/skel anymore
Edit - Are you sure that /etc/skel was completely empty? It should at least contain the usual hidden bash config files.
+slithery the bashrc etc files were in /etc/skel. Thank God for that!
The big problem was that I had set up the /home partition as a FAT32 one, mounting it as root during the install, thinking that I could share files with Windows this way. It turns out that Fat32, FAT and NTFS permissions are specific to the user who mounted them. There is a way to mount Windowsesque partitions for different users, but I decided that it was too much hassle, especially if I have to delete my user account for troubleshooting, so I reformatted my /home partition as ext4 and re-genfstab-ed it with my install usb. Currently writing from Arch (as root!) so that part worked. .XAUthority now exists and belongs to me. Now it gives me one polite, distinguishable error that doesn't hang my system for 30 minutes! The error says: xf860OpenConsole:Cannot open virtual console (Permission Denied)
What can I do to correct this?
Offline
The best thing would be to reinstall Arch on a linux filesystem and setup a separate fat32 partition for the files you want to share with the Windows system.
Offline