PDA

View Full Version : installation woes



night116
March 31st, 2014, 01:48 PM
I just re-installed ubuntu 13.10 on my main desktop, killing the duel boot windows8, now in my main Identity anything I have installed such as terminator or even firefox, will only work if I use gksudo or sudo.
But the other identities like my wifes one work just fine.
what have I done wrong and how do I fix this mess.

steeldriver
March 31st, 2014, 01:56 PM
It sounds like the ownership of your home directory went awry - can you post from a terminal



id

ls -ld $HOME

night116
March 31st, 2014, 02:11 PM
night@night:~$ id
uid=1000(night) gid=1000(night) groups=1000(night),4(adm),24(cdrom),27(sudo),30(di p),46(plugdev),112(lpadmin),124(sambashare)
night@night:~$
night@night:~$ ls -ld $HOME
drwxr-xr-x 28 night night 4096 Mar 27 13:42 /home/night
night@night:~$

night116
April 2nd, 2014, 05:28 AM
I just re-installed ubuntu 13.10 on my main desktop, killing the duel boot windows8, now in my main Identity anything I have installed such as terminator or even firefox, will only work if I use gksudo or sudo.
But the other identities like my wifes one work just fine.
what have I done wrong and how do I fix this mess.

night@night:~$ id
uid=1000(night) gid=1000(night) groups=1000(night),4(adm),24(cdrom),27(sudo),30(di p),46(plugdev),112(lpadmin),124(sambashare)
night@night:~$
night@night:~$ ls -ld $HOME
drwxr-xr-x 28 night night 4096 Mar 27 13:42 /home/night
night@night:~$

QIII
April 2nd, 2014, 06:06 AM
Threads merged.

Please do not create duplicate threads. It causes confusion and dilutes the community's effort to help.

mastablasta
April 2nd, 2014, 12:55 PM
my main Identity anything I have installed such as terminator or even firefox, will only work if I use gksudo or sudo.
.


this could happen if you used sudo for graphical apps i believe.

steeldriver
April 2nd, 2014, 01:09 PM
^^^ yup check that the profile files for those apps didn't get owned by root. If you don't want to trawl through your dot files manually you could run something like


find ~ \( ! -uid $(id -u) -o ! -gid $(id -g) \) -ls

night116
April 2nd, 2014, 02:36 PM
yep shows up as being owned by root.
so how to fix it, i did try
sudo chown -R night:night ~/.mozilla
but that didnt work

night116
April 2nd, 2014, 02:43 PM
dont worry, I fixed it from another post that was similar using the above but on each DIR manually and it works now.
thanks for all your help every-one.

su:bhatta
April 2nd, 2014, 03:39 PM
If all your issues are solved, Please mark the thread as Solved using Thread Tools on the top right of the page.