FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 07-24-2008, 07:49 PM
web32p2@onlime.ch
 
Default Can't start X-Server as normal user

Hi everyone


# startx ...works
$ startx ...does not

The last thing I can remember I was doing before
the problem started was

$ xauth extract mykey :0
# xauth merge mykey
# fooprogramm &

What I already tryed to solve the problem:

(I)
# aptitude --purge <my-xserver>
# aptitude --purge <my-windowmanager>
# aptitude --purge <my-display-manager>

...and after reinstalled it.

(II)
Removed .Xauthority-file of the normal user and
of root.

Maybe the problem lies somewhere else. Looking
forward to your inputs.

Cheers

Sam



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-24-2008, 08:42 PM
Kent West
 
Default Can't start X-Server as normal user

web32p2@onlime.ch wrote:
> Hi everyone
>
>
> # startx ...works
> $ startx ...does not
I would start by looking in /etc/X11/Xwrapper.config and making sure the
"allowed_users" line equals "console".


--
Kent West <*)))><
http://kentwest.blogspot.com


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-24-2008, 08:44 PM
Ron Johnson
 
Default Can't start X-Server as normal user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/24/08 14:49, web32p2@onlime.ch wrote:
> Hi everyone
>
>
> # startx ...works
> $ startx ...does not
>
> The last thing I can remember I was doing before
> the problem started was
>
> $ xauth extract mykey :0
> # xauth merge mykey
> # fooprogramm &

Why?

> What I already tryed to solve the problem:
>
> (I)
> # aptitude --purge <my-xserver>
> # aptitude --purge <my-windowmanager>
> # aptitude --purge <my-display-manager>
>
> ...and after reinstalled it.
>
> (II)
> Removed .Xauthority-file of the normal user and
> of root.
>
> Maybe the problem lies somewhere else. Looking
> forward to your inputs.

Does /var/log/Xorg.0.log have anything useful in it?

- --
Ron Johnson, Jr.
Jefferson LA USA

"Kittens give Morbo gas. In lighter news, the city of New New
York is doomed."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkiI6ZwACgkQS9HxQb37Xmf4ZQCfYmxsXuGi+s DLkqtp/SqYf1+R
Cq8An1i4miFjbv0YJiUev210DeGb9Ed4
=bgDe
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-24-2008, 09:05 PM
Andrei Popescu
 
Default Can't start X-Server as normal user

On Thu,24.Jul.08, 19:49:23, web32p2@onlime.ch wrote:

> # startx ...works
> $ startx ...does not

It would be useful to see the error messages on that one. Also
/var/log/Xorg.0.log might have some clues.

Regards,
Andrei
--
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)
 
Old 07-24-2008, 09:13 PM
web32p2@onlime.ch
 
Default Can't start X-Server as normal user

--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-24-2008, 09:17 PM
web32p2@onlime.ch
 
Default Can't start X-Server as normal user

>> # startx ...works
>> $ startx ...does not
> I would start by looking in /etc/X11/Xwrapper.config and making sure the
> "allowed_users" line equals "console".

less /etc/X11/Xwrapper.config
# Xwrapper.config (Debian X Window System server wrapper configuration
file)
#
# This file was generated by the post-installation script of the x11-common
# package using values from the debconf database.
#
# See the Xwrapper.config(5) manual page for more information.
#
# This file is automatically updated on upgrades of the x11-common package
# *only* if it has not been modified since the last upgrade of that
package.
#
# If you have edited this file but would like it to be automatically
updated
# again, run the following command as root:
# dpkg-reconfigure x11-common
allowed_users=console
nice_value=0




--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-25-2008, 04:34 AM
web32p2@onlime.ch
 
Default Can't start X-Server as normal user

--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-25-2008, 05:20 AM
web32p2@onlime.ch
 
Default Can't start X-Server as normal user

>> # startx ...works
>> $ startx ...does not
> I would start by looking in /etc/X11/Xwrapper.config and making sure the
> "allowed_users" line equals "console".

less /etc/X11/Xwrapper.config
[snip]
allowed_users=console
nice_value=0

I also tried to post less /var/log/Xorg.0.log
but failed twice - maybe the file was too long?
Anyhow I do not expect the problem to be in the
X-Server Configuration because Xorg.0.log has no
error messages (EE).

In /home/sam/.xsession-errors I can see
Xsession: X session started for sam at Fre Jul 25 09:07:21 CEST 2008
open: Permission denied

So, in my opinion this says that users do not have permission to
start X.

Thanks for the inputs so far.

sam


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-25-2008, 12:19 PM
web32p2@onlime.ch
 
Default Can't start X-Server as normal user

># startx ...works
>$ startx ...does not
> In /home/sam/.xsession-errors I can see
> Xsession: X session started for sam at Fre Jul 25 09:07:21 CEST 2008
> open: Permission denied

Now, I saw somewhere on the web[1] that
chmod 1777 /tmp
might solve the problem. I remember that I was
not able to write to /tmp after the problem came.

I will try this when I am back home after work and let
you know.

sam

[1] linuxforen.de



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-26-2008, 03:35 PM
Samuel Bächler
 
Default Can't start X-Server as normal user

> # startx ...works $ startx ...does not In
> /home/sam/.xsession-errors I can see Xsession: X session started
> for sam at Fre Jul 25 09:07:21 CEST 2008 open: Permission denied

Now, I saw somewhere on the web[1] that chmod 1777 /tmp might solve
the problem. I remember that I was not able to write to /tmp after
the problem came.



That did the job.

s.


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

Thread Tools




All times are GMT. The time now is 02:09 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org