Click to See Complete Forum and Search --> : x problems


H. M. Murdock
12-07-2000, 01:09 AM
Hi,

I just did and apt-get upgrade to update my debian system. When it was done, i logged in as my user account and tried to start x and I got this error message:

X: user not authorized to run the X server, aborting.

how do i fix this???????

Murdock

------------------
In 1972, a crack commando unit was sent to prison by a military court for a crime they didn't commit. These men promptly escaped from a maximum security stockade to the Los Angeles underground. Today, still wanted by the government, they survive as soldiers of fortune. If you have a problem, if no one else can help, and if you can find them, maybe you can hire the A-Team.

rod
12-07-2000, 01:14 AM
Log in as root and run gdm, or whatever display manager you use.


Regards,
Rod

H. M. Murdock
12-07-2000, 01:26 AM
ok,

i tried that, i dont have gdm, atleast its not a command i can run at the command line. XFCE is the windowmanager i use. I dont think i quite get what you mean by display manager.

Murdock

rod
12-07-2000, 01:30 AM
Display manager = gdm = gnome display manager.

I believe the default display manager used by Debian is xdm.


Regards,
Rod

[This message has been edited by rod (edited 07 December 2000).]

H. M. Murdock
12-07-2000, 01:51 AM
ok,

gdm is not a comand either. how do I run gdm then?

Murdock

rod
12-07-2000, 01:54 AM
You mean that xdmwill not work either?

H. M. Murdock
12-07-2000, 01:58 AM
ok,

i went and install xdm, but that is not what i want, i do not want a graphical login...i want to login from the console, and start X when i want to, i do not always want to be in x. plus when i logged in as my user account under xdm, it didnt give me my normal desktop.

Murdock

rod
12-07-2000, 01:59 AM
You could also try , as root, startx.

Regards,
Rod

H. M. Murdock
12-07-2000, 02:01 AM
i am not haing a problem running x as root, i am having the problem running it as a user. i do NOT want to run X as root, but as a regular user. I ran startx as a user and it gave me this error:

X: user not authorized to run the X server, aborting.

Murdock

rod
12-07-2000, 11:56 AM
This is from man xhost :


DESCRIPTION
The xhost program is used to add and delete host names or user names to the list allowed to make connections to the X server. In the case of hosts, this provides a rudimen-tary form of privacy control and security. It is only sufficient for a workstation (single user) environment, although it does limit the worst abuses. Environments which require more sophisticated measures should implement the user-based mechanism or use the hooks in the protocol for passing other authentication data to the server.


I believe you could run xhost u+x to achieve what you want to do. OR

xhost +username


Hope this helps.

Regards,
Rod

teeitup
12-07-2000, 12:32 PM
What about setting the suid bit for X.

X should be linked to your xserver of choice.

My only major complaint with apt-get is it's updating of xserver. I'm sure I speak for many when I say "How could Debian do this to me?"

When apt-get updates to XFree86 4.01 many of us have spent hours or even days getting it X
to work again.

The differences in the configuration of 3 and 4 has cost users, of all distros, alot of wasted time.

------------------
Don't take life to seriously, You'll never get out alive!
-Bugs Bunny-

MADHATter7
12-07-2000, 01:33 PM
Originally posted by teeitup:
My only major complaint with apt-get is it's updating of xserver. I'm sure I speak for many when I say "How could Debian do this to me?"

When apt-get updates to XFree86 4.01 many of us have spent hours or even days getting it X
to work again.

The differences in the configuration of 3 and 4 has cost users, of all distros, alot of wasted time.



AMEN !

[This message has been edited by MADHATter7 (edited 07 December 2000).]

ColdPack
12-07-2000, 01:39 PM
As much as I dislike using dselect, that's the only way I've been able to avoid apt-getting xfree4.0.1.
I just don't need it.


------------------
"What do people mean when they say the computer went down on them?"
---Marilyn Pittman

H. M. Murdock
12-07-2000, 06:38 PM
ok,

I tried both xhost + username and xhost u+x. Both times it gave me this error:

xhost: unable to open display ""

Murdcok