Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error running X11: "mkdtemp: private socket dir: Permission denied"?

347 views
Skip to first unread message

KEVIN ZEMBOWER

unread,
Jul 16, 2002, 11:22:34 AM7/16/02
to
[Not sure if this is a Debian question, or an XFree86. Would have
written to debian-x mailing list, but their description said they only
wanted to hear from source code users. Let me know if this could have
been sent someplace better.]

I've set up my first Debian X-Windows system recently. I've been able
to log in as root and execute "startx" without a problem. When I try to
log in as a normal user and run 'startx', I get "mkdtemp: private socket
dir: Permission denied" in ~/.xsession-errors. I can't find any
information on mkdtemp, or on which directory or socket the permission
needs to be changed, and how. Can anyone help me with this problem?

I tried doing a Google search on mkdtemp on site:debian.org and
site:xfree86.org without success.

Thank you for your help and suggestions.

-Kevin Zembower

-----
E. Kevin Zembower
Unix Administrator
Johns Hopkins University/Center for Communications Programs
111 Market Place, Suite 310
Baltimore, MD 21202


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org


Colin Watson

unread,
Jul 16, 2002, 11:28:05 AM7/16/02
to
On Tue, Jul 16, 2002 at 11:14:12AM -0400, KEVIN ZEMBOWER wrote:
> I've set up my first Debian X-Windows system recently. I've been able
> to log in as root and execute "startx" without a problem. When I try to
> log in as a normal user and run 'startx', I get "mkdtemp: private socket
> dir: Permission denied" in ~/.xsession-errors.

What are the permissions on /tmp? 'ls -ld /tmp' and 'ls -al /tmp' output
will help.

Cheers,

--
Colin Watson [cjwa...@flatline.org.uk]

KEVIN ZEMBOWER

unread,
Jul 16, 2002, 11:58:25 AM7/16/02
to
Thank you so much, Colin. The permissions on /tmp were write by owner
only. The owner was root. I changed the permissions to write by group,
and changed the group from root to users, which is the group my normal
users are in. Now it works like a champ. If I had just known it was
looking in /tmp for this, I would have thought of this right away.

Thank you again for taking the time to help me.

-Kevin Zembower

>>> Colin Watson <cjwa...@debian.org> 07/16/02 11:25AM >>>

Colin Watson

unread,
Jul 16, 2002, 12:07:14 PM7/16/02
to
On Tue, Jul 16, 2002 at 11:57:22AM -0400, KEVIN ZEMBOWER wrote:
> Thank you so much, Colin. The permissions on /tmp were write by owner
> only. The owner was root. I changed the permissions to write by group,
> and changed the group from root to users, which is the group my normal
> users are in. Now it works like a champ. If I had just known it was
> looking in /tmp for this, I would have thought of this right away.

Excellent - glad it helped!

For what it's worth, the normal permissions on /tmp are owner root,
group root, mode 1777 (rwxrwxrwt in 'ls -l' output). I'm not sure why
you didn't have that by default.

0 new messages