News:

Happy New Year! Yes, the current one, not a previous one; this is a new post, we swear!

Main Menu

sudo to startx??!

Started by deadly7, June 26, 2006, 03:20:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

deadly7

Ok, so two nights ago I left "slapt-get --upgrade" running for me because, due to the fact that I'm on a fresh install of Slackware, my software was way behind.  Now, last time I did this I remember needing "libcairo.so.2" so before my upgrade I went and got cairo-1.0.2-i486-1.tgz from the Slackware ftp.  After the upgrade I opened Firefox to see if it worked, and I was running Firefox v1.5.0.4.
I turned off my computer and started it today.  I log in, whatever, "startx"
It gives me an error about not being able to access /home/deadly7/.ICEauthority and shut off X.
I did:
$ cd ~/
$ ls
And the file wasn't there.
So I tried "sudo startx"
And that worked.  Is there any workaround for this or am I just stuck with it?
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
[17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

Quik

First of all, the reason you weren't able to see it is because it's dotICEathority. Just like bash history and whatnot, it won't show up in a ls. Try cd ~/ && pico .ICEathority
Quote[20:21:13] xar: i was just thinking about the time iago came over here and we made this huge bomb and light up the sky for 6 min
[20:21:15] xar: that was funny

Ergot

ls -a
I like --dist-upgrade better. Followed by some --install-set [a/ap/d/etc..]
Quote from: Newby on February 26, 2006, 12:16:58 AM
Who gives a damn? I fuck sheep all the time.
Quote from: rabbit on December 11, 2005, 01:05:35 PM
And yes, male both ends.  There are a couple lesbians that need a two-ended dildo...My router just refuses to wear a strap-on.
(05:55:03) JoE ThE oDD: omfg good job i got a boner thinkin bout them chinese bitches
(17:54:15) Sidoh: I love cosmetology

Joe

Using --upgrade is a real nice way to break dependancies and kill your system.
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


deadly7

You know, you guys suck at helping me. :p
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
[17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

Joe

deadly: zomg, my system broke
Joe: --upgrade tends to do that
Ergot: Use --dist-upgrade
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


Ergot

Quote from: Joe on June 26, 2006, 04:09:52 PM
deadly: zomg, my system broke
Joe: --upgrade tends to do that
Ergot: Use --dist-upgrade
Mmhmm! Just do what I said and next time keep an eye on the changelog. >:)
Quote from: Newby on February 26, 2006, 12:16:58 AM
Who gives a damn? I fuck sheep all the time.
Quote from: rabbit on December 11, 2005, 01:05:35 PM
And yes, male both ends.  There are a couple lesbians that need a two-ended dildo...My router just refuses to wear a strap-on.
(05:55:03) JoE ThE oDD: omfg good job i got a boner thinkin bout them chinese bitches
(17:54:15) Sidoh: I love cosmetology

deadly7

Zomg even after dist-upgrade it no work unless I do sudo.
"/home/deadly7/.xinitrc: line 58: xcreensaver: command not found
Agent pid 1464
which: no dbus-launch in (/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/lib/java/bin:/usr/lib/java/jre/bin:/opt/kde/bin:/usr/lib/qt/bin:.)
xfce4-session: Unable to access file /home/deadly7/.ICEauthority: Permission denied
Agent pid 1464 killed"
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
[17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

Joe

Quote"/home/deadly7/.xinitrc: line 58: xcreensaver: command not found
xcreensaver? Man.. I wonder why it doesn't work?

EDIT -
touch ~/.ICEauthority
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


Sidoh


wires

Go ArchLinux!  Haven't had any problems yet.  Easy to update too, without breaking anything. :)

deadly7

Meh.
sudo chmod 0777 /home/deadly7/.ICEauthority
sudo chmod 0777 /home/deadly7/.Xauthority
gg
Closed.
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
[17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

iago

Quote from: deadly7 on June 27, 2006, 12:21:31 AM
Meh.
sudo chmod 0777 /home/deadly7/.ICEauthority
sudo chmod 0777 /home/deadly7/.Xauthority
gg
Closed.

0777 is dumb. 

It sounds like root owns your configuration files. 

do:
chown -R yourusername.users /home/yourusername

Then set the permissions on your home directory to 0700 (unless you're running a webserver; then it should be 0711). 

Then set your configuration files to 0700. 


deadly7

[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
[17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

iago

But it's dumb.  It gives anybody access to write to your files.  I don't care if you're the only user, using 0777 isn't something you should be accustomed to. 

If the owner is set properly, then 0700 will give you r/w/x access.  If it doesn't, then you don't own the file.  If you don't own the file, then "chown -R yourusername.users /home/yourusername" will fix it.  So do that instead.