View previous topic :: View next topic |
Author |
Message |
sasho23 Apprentice
Joined: 28 Dec 2005 Posts: 186 Location: Pamplona , Spain
|
Posted: Tue Dec 04, 2012 10:22 pm Post subject: KDE dont`t start, new instalation on macbook pro |
|
|
Hi all, I have Macbook pro 8,2 with refit, lilo, dualboot mac os and gentoo.
Startx is running well but when I start Kde it tells me
Quote: | Call to lnusertemp failed (temporary directories full?). Check your installation. |
I enter in console mode and try
and it says
Quote: | $DISPLAY is not set or cannot connect to the X server. |
I was "googleing" and tryed
Code: | chmod 1777 /tmp
chmod 1777/var/tmp |
but still the same. df -h / says that I have enoght space. I am using gentoo-sources-3.5.7 I'm not sure what else info you will need. Just ask me and please help... |
|
Back to top |
|
|
MacGyver031 Tux's lil' helper
Joined: 11 Jul 2004 Posts: 141 Location: Ilavalai, Sri Lanka
|
Posted: Thu Dec 06, 2012 9:25 am Post subject: |
|
|
Does this site help: http://www.jon.demon.co.uk/kde_xinitrc/ ? _________________ Sincerely your
Joanand K.
MacBook Pro 5.1: 2.4GHz Core2 Duo, 4096MB, 500GB, NVidia 9400/9600 M GT
Gentoo, Kernel 3.4.9, XOrg, Fluxbox. |
|
Back to top |
|
|
LoTeK Apprentice
Joined: 26 Jul 2012 Posts: 270
|
|
Back to top |
|
|
sasho23 Apprentice
Joined: 28 Dec 2005 Posts: 186 Location: Pamplona , Spain
|
Posted: Thu Dec 06, 2012 3:33 pm Post subject: |
|
|
Thanks a lot for yours answers.
Ok, I have just tried
Code: | echo "exec startkde" > ~/.xinitrc |
and if I type "startx" in console mode it works. Oh, only for root. But when I reboot and try to login with my user, it gives me the same error. So, this is my fstab:
Quote: | /dev/sda3 / ext4 noauto,noatime 1 2
/dev/sda4 none swap sw 0 0
/dev/cdrom /mnt/cdrom auto noauto,user 0 0
/dev/sda5 /home/sasho23/ vfat rw,users 0 0
|
If I uncheck /dev/sda5 then I can login just fine... Any suggestions... |
|
Back to top |
|
|
LoTeK Apprentice
Joined: 26 Jul 2012 Posts: 270
|
Posted: Thu Dec 06, 2012 4:48 pm Post subject: |
|
|
have you run
Code: | echo "exec startkde" > ~/.xinitrc |
as root?
where is your .xinitrc and what are the permissions?
(it should be in /home/sasho23/.xinitrc with permissions sasho23 "your group") |
|
Back to top |
|
|
sasho23 Apprentice
Joined: 28 Dec 2005 Posts: 186 Location: Pamplona , Spain
|
Posted: Sun Dec 09, 2012 8:21 pm Post subject: |
|
|
Hi again
LoTeK wrote: | have you run
Code: | echo "exec startkde" > ~/.xinitrc |
as root? |
Yes I already did it and it still fail.
Quote: | where is your .xinitrc and what are the permissions?
(it should be in /home/sasho23/.xinitrc with permissions sasho23 "your group") |
No, my xinitrc is not in my user dir and I don't know what to do with this.Here is my ls -la sasho23:
Code: | tux sasho23 # ls -la
total 84
drwxr-x--- 9 sasho23 users 4096 Dec 9 21:13 .
drwxr-xr-x 3 root root 4096 Oct 22 23:51 ..
-rwxr-x--- 1 sasho23 sasho23 158 Dec 9 21:08 .Xauthority
-rwxr-x--- 1 sasho23 users 53 Dec 6 14:48 .bash_history
-rwxr-x--- 1 sasho23 users 127 Oct 6 16:57 .bash_logout
-rwxr-x--- 1 sasho23 users 193 Oct 6 16:57 .bash_profile
-rwxr-x--- 1 sasho23 users 551 Oct 6 16:57 .bashrc
drwxr-x--- 3 sasho23 users 4096 Dec 6 14:32 .config
drwxr-x--- 3 sasho23 users 4096 Dec 6 14:32 .dbus
-rwxr-x--- 1 sasho23 users 26 Dec 6 14:32 .dmrc
drwxr-x--- 2 sasho23 users 4096 Dec 6 14:32 .gstreamer-0.10
drwxr-x--- 4 sasho23 users 4096 Dec 6 14:32 .kde4
drwxr-x--- 3 sasho23 users 4096 Dec 6 14:32 .local
drwx------ 4 sasho23 sasho23 4096 Dec 9 21:13 .mozilla
drwxr-x--- 2 sasho23 users 4096 Jun 21 14:09 .ssh
-rw------- 1 sasho23 sasho23 17622 Dec 9 21:16 .xsession-errors |
|
|
Back to top |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Sun Dec 09, 2012 8:25 pm Post subject: |
|
|
Quote: | Quote: | have you run
Code:
echo "exec startkde" > ~/.xinitrc
as root? | Yes I already did it and it still fail. |
No, you have to run it as a user. You should not play with X as root because you you will get burned. You have to run that as your user. In this case, ~ refereed to root's home directory, not yours. _________________ First things first, but not necessarily in that order.
Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box. |
|
Back to top |
|
|
LoTeK Apprentice
Joined: 26 Jul 2012 Posts: 270
|
Posted: Sun Dec 09, 2012 8:31 pm Post subject: |
|
|
Yes thats what I meant... not that you should run it as root, I've just asked if you did run it as root
Now your .xinitrc is in /root, but like The Doctor said you have to run it as sasho23 and then it is in /home/sasho23 and you should be fine...
Last edited by LoTeK on Mon Dec 10, 2012 3:09 pm; edited 1 time in total |
|
Back to top |
|
|
sasho23 Apprentice
Joined: 28 Dec 2005 Posts: 186 Location: Pamplona , Spain
|
Posted: Sun Dec 09, 2012 8:50 pm Post subject: |
|
|
Hey, you are so quick answering to me, thanks a lot.
I will try it tomorow like a user and will report here .
I was looking around and find that I should not mount extended partition like primary. So, my /dev/sda5 is extended and it mounts fine at /home/sasho23. But maybe there is the problem and the system is getting confused ??? I'll search the way to change it in primary without loose the data on it and if it's not possible will have to make a backup. And maybe will have to work without a swap partition. See you soon and thanks again. |
|
Back to top |
|
|
sasho23 Apprentice
Joined: 28 Dec 2005 Posts: 186 Location: Pamplona , Spain
|
Posted: Mon Dec 10, 2012 2:39 pm Post subject: |
|
|
Nop, my dear friends, the problem is not solved yet. I did
Code: | echo "exec startkde" > ~/.xinitrc
|
like a user and it worked. But my /dev/sda5 was unchecked. So I set it again and then appear the same problem. And when I look for my xinitrc it wasn't there. I retype
Code: | echo "exec startkde" > ~/.xinitrc
|
and xinitrc is in my user dir again. Will have to change my partition table. Thanks to all for their help. I'll be back soon. |
|
Back to top |
|
|
LoTeK Apprentice
Joined: 26 Jul 2012 Posts: 270
|
Posted: Mon Dec 10, 2012 3:08 pm Post subject: |
|
|
ok, I'm not quite sure, but in your fstab you have
Quote: | /dev/sda5 /home/sasho23/ vfat rw,users 0 0 | maybe change it to
Quote: | /dev/sda5 /home vfat rw,users 0 0 |
|
|
Back to top |
|
|
rabcor Apprentice
Joined: 05 Apr 2012 Posts: 200
|
Posted: Wed Dec 12, 2012 5:17 pm Post subject: |
|
|
You might need to create a /etc/X11/xorg.conf file.
In my case i created it and it looks like this. (you're not "supposed to" need this file, but... i needed it.)
Code: | Section "Device"
Identifier "GeForce GTX 670"
Driver "nvidia"
EndSection
Section "Module"
# Load "dri"
Load "glx"
EndSection |
Without this file i got a similar error to yours. i found it on the gentoo documentary on how to set up nvidia graphics cards on gentoo if i recall correctly. _________________ This picture was my biggest reason for ever trying Gentoo <3 |
|
Back to top |
|
|
Deathwing00 Bodhisattva
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Fri Dec 21, 2012 12:52 am Post subject: |
|
|
Moved from Installing Gentoo to Desktop Environments. |
|
Back to top |
|
|
|