View previous topic :: View next topic |
Author |
Message |
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Sun Jul 22, 2012 4:00 pm Post subject: |
|
|
athena810,
Concentrate on one problem at a time
From this point forward always login with your user account - NOT root
Is dbus in your default renlevel Check it with ls -l /etc/runlevels/default/dbus
If you get No such file or directory then add it - as root rc-update add dbus default then reboot. _________________ Good luck
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
athena810 Apprentice
Joined: 23 Jun 2012 Posts: 176
|
Posted: Sun Jul 22, 2012 4:36 pm Post subject: |
|
|
I did what you said and ls -l
It returned
Code: | lrwxrwxrwx root root 16 Jul 2 00:17 /etc/runlevels/default/dbus -> /etc/init.d/dbus |
[/code] |
|
Back to top |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Sun Jul 22, 2012 5:36 pm Post subject: |
|
|
athena810 wrote: | I did what you said and ls -l
It returned
Code: | lrwxrwxrwx root root 16 Jul 2 00:17 /etc/runlevels/default/dbus -> /etc/init.d/dbus |
[/code] |
Good - what does this return eix -CcI x11-wm
If you don't have eix installed then emerge it and run eix-update first. _________________ Good luck
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
athena810 Apprentice
Joined: 23 Jun 2012 Posts: 176
|
Posted: Mon Jul 23, 2012 6:55 am Post subject: |
|
|
So, I didn't have an eix.
I emerged it.
eix-update
and then did exi -CcI x11-wm which returned
Code: | [I] x11-wm/twm (1.0.7@07/10/12); X.Org twm application |
I tried to startx again. Unfortunately, same problem |
|
Back to top |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Mon Jul 23, 2012 1:30 pm Post subject: |
|
|
Quote: | And despite changing permissions for ~/.xinitrc, I still get the three white boxes. |
There's your problem - you're trying to troubleshoot a -non-problem
That's all you get with x11-wm/twm - it's just to test the starting of xorg; it's not a windows manager for a desktop.
With Code: | echo "exec startkde" > ~/.xinitrc | you're trying to start a windows manager that doesn't exist
The next step is to install gnome. lxde or kde etc. I don't use kde so I'm not sure what windows manager kde installs, but just follow the installation guide. _________________ Good luck
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
athena810 Apprentice
Joined: 23 Jun 2012 Posts: 176
|
Posted: Mon Jul 23, 2012 1:51 pm Post subject: |
|
|
Wait, so I'm re-installing kde?
Do I just do everything I did before for root and do it in reg user or is there a way that I could copy stuff from root user to reg user?
If not, can I install something other than kde?
Also, all the things that I emerged previously for kde, will it still be there after I re-install? like chromium, libreoffice, etc. |
|
Back to top |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Mon Jul 23, 2012 2:58 pm Post subject: |
|
|
athena810 wrote: | Wait, so I'm re-installing kde?
Do I just do everything I did before for root and do it in reg user or is there a way that I could copy stuff from root user to reg user?
If not, can I install something other than kde?
Also, all the things that I emerged previously for kde, will it still be there after I re-install? like chromium, libreoffice, etc. |
I'm using lxde - it's pretty simple to install. I setup two installation on Saturday. It will pull the openbox windows manager.
I can't speak for the installations of chromium and libreoffice. Installing them without a de/wm is useless.
You have to install as root - it's probably best to chroot from the live media for the installations so you can follow the instructions with ff. _________________ Good luck
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
athena810 Apprentice
Joined: 23 Jun 2012 Posts: 176
|
Posted: Wed Jul 25, 2012 1:05 am Post subject: |
|
|
But, if I install them from root, then the same problem will happen. |
|
Back to top |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Wed Jul 25, 2012 1:54 am Post subject: |
|
|
athena810 wrote: | But, if I install them from root, then the same problem will happen. |
How do you propose to install them then _________________ Good luck
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
athena810 Apprentice
Joined: 23 Jun 2012 Posts: 176
|
Posted: Sat Aug 18, 2012 11:25 am Post subject: |
|
|
I was gonna give up on fixing this problem but then it bothered me to a point that I couldn't ignore it anymore so here I am again. I dunno how I should install it...I'd prefer it if i could just somehow add normal user and have it work for my existing gui, |
|
Back to top |
|
|
Malik222 n00b
Joined: 15 Aug 2012 Posts: 12
|
Posted: Sun Aug 19, 2012 1:27 am Post subject: home directories permissions |
|
|
I got a bit mixed-up with the many problems brought together.
If I go back to the title itself, I would suggest that you verify the permissions on your home/users' directories so they can actually write to their ~
if you created the home directories with root, make sure they are chown'ed. |
|
Back to top |
|
|
athena810 Apprentice
Joined: 23 Jun 2012 Posts: 176
|
Posted: Sun Aug 19, 2012 11:49 am Post subject: |
|
|
@Malik,
So do I just chmod 777 stuff?
Sorry for the n00bness but do you mean that I change permissions for all files in the home directory?
And yeah, I created the home directories with root. So now I chown everything in directory root? or directory home?
Sorry, I'm a bit confused. |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Sun Aug 19, 2012 12:05 pm Post subject: |
|
|
First of all, don't "chmod 777" stuff - that's at very least silly.
Pastebin xserver log (and any additional logs that KDE may produce) when you run it as a normal user (and 'groups' for that user). |
|
Back to top |
|
|
athena810 Apprentice
Joined: 23 Jun 2012 Posts: 176
|
|
Back to top |
|
|
Odward n00b
Joined: 21 Mar 2012 Posts: 65
|
Posted: Sun Aug 19, 2012 7:41 pm Post subject: |
|
|
For the sake of checking permissions.
Log in as user athena - not root. *Edit - assuming athena is the name of your regular user
should return /home/athena
should return 100 (unless you specified a different default group)
If the above checks out
Code: | ls -al /home/athena |
This will list the user group permissions and files
The first result should be '.' and that should be owned by 'athena users'
The second result should be '..' and that will probably be owned by 'root root'
Pretty much everything else should be owned by 'athena users'
If you created a custom default group for athena, those results would be 'athena customgroup'
If you get different results, please share.
#Edit - you can also 'ls -al /home/athena/.xinitrc' to see if athena owns your .xinitrc file in the home folder |
|
Back to top |
|
|
athena810 Apprentice
Joined: 23 Jun 2012 Posts: 176
|
Posted: Sun Aug 19, 2012 8:02 pm Post subject: |
|
|
echo $HOME returns
echo $GROUPS returns
Btw, I thought that i should mention. I was in user athena and was just updating portage. When I su, instead of getting "localhost" i got "new-host-2". Is that unusual? |
|
Back to top |
|
|
Odward n00b
Joined: 21 Mar 2012 Posts: 65
|
Posted: Sun Aug 19, 2012 8:47 pm Post subject: |
|
|
athena810 wrote: | echo $HOME returns
echo $GROUPS returns
Btw, I thought that i should mention. I was in user athena and was just updating portage. When I su, instead of getting "localhost" i got "new-host-2". Is that unusual? |
I'm not sure about your question, it doesn't seem normal but I have a hostname set for my boxes.
The results you received though, this was done as athena correct? Not while su
If so, your home directory is the / of your file system and that's wrong. Does /home/athena exist?
The 1000 isn't necessarily a problem, but that's a custom default group. You can
Code: | cat /etc/group |grep 1000 | and the first word in the result is the name of your default group.
I don't have a lot of experience with creating / modifying users as I just setup 1 for myself.
But your best options at this point are probably to delete athena, via userdel, and then useradd a new athena with proper settings Or via usermod
Log out of athena completely - any sessions. Log in as root
Step 1) If /home/athena doesn't yet exist, we'll create it to be sure
Code: | mkdir -p /home/athena |
Step 2) Be sure athena owns her home directory
Code: | chown athena:1000 /home/athena |
Step 3) Now fix the user athena
Code: | usermod --home /home/athena athena |
The instructions I used assume that the group 1000 you're already in is acceptable. If that group is something other than 'users' AND If you would
rather athena have a default user group of 'users'
Code: | cat /etc/group |grep users |
You should see
change above step 2)
Code: | chown athena:users /home/athena |
and change step 3)
Code: | usermod --home /home/athena -g users athena |
After you've done this, you should be able to log out of root. Log back in as athena and
Code: | echo "exec startkde" > ~/.xinitrc |
Now try 'startx' |
|
Back to top |
|
|
Odward n00b
Joined: 21 Mar 2012 Posts: 65
|
Posted: Sun Aug 19, 2012 9:08 pm Post subject: |
|
|
I should also add, if all goes well at setting up a proper home directory. After you log back in as athena simply run
If video is not listed, you need to log out of athena completely again and as root
Code: | usermod -a -G video athena |
since video group is required, you might also want to be in other groups such as audio, cdrom, usb and plugdev. If
you aren't already in those groups you can add them with comma separations to the above command so for example:
Code: | usermod -a -G video,audio,cdrom,usb,plugdev athena |
if you were previously in none of those groups. You must be logged out of athena for these changes to take effect. |
|
Back to top |
|
|
athena810 Apprentice
Joined: 23 Jun 2012 Posts: 176
|
Posted: Sun Aug 19, 2012 9:51 pm Post subject: |
|
|
@Odward, you are pro.
Turns out, I probably added athena weird or mispelled something. I deleted it, and re-added her . startx works perfectly. Thanks so much
Big thanks to everyone who helped me. |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Wed Sep 19, 2012 9:21 pm Post subject: |
|
|
VoidMage wrote: | OK, there seems to be a thing or two.
First, while IIRC nothing major uses that yet, set libkms on libdrm anyway.
Second, if I'm reading your log correctly, you should add i965 to VIDEO_CARDS in your make.conf.
After that, rebuild both mesa and libdrm (just make sure first you set it correctly) and pastebin new xorg log. |
all this intel stuff is virgin soil to me (hybrid graphics everywhere )
had "intel" in video_cards but got the same issue
now re-compiling with i965 - thanks ! _________________ https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa
Hardcore Gentoo Linux user since 2004 |
|
Back to top |
|
|
|