TIP: Click on subject to list as thread! ANSI
echo: linuxhelp
to: Randall Parker
from: Tony Williams
date: 2006-07-26 17:39:20
subject: Re: Warning starting gedit

From: Tony Williams 

Randall Parker wrote:
> Tony Williams wrote:
>> Randall Parker wrote:
>>> I did su to switch to root. Then I started gedit to go edit the hosts
>>> file. When I did I got:
>>>
>>> [root{at}localhost randall]# gedit
>>>
>>> (gedit:4050): GnomeUI-WARNING **: While connecting to session manager:
>>> Authentication Rejected, reason : None of the authentication
>>> protocols specified are supported and host-based authentication failed.
>>>
>>>
>>> What does that mean?
>>
>> Could be that your X session is set up to disallow other users from
>> opening new windows.
>
> But gedit does open okay and works when I get that warning.

I've seen that happen too and I'm trying to remember how I got it to shut
up. [google, google, ah I remember now] It's the .Xauthority file which
isn't set up for root. You should be able to fix it by either copying your
own .Xauthority file to root:

(as root)# cp ~randall/.Xauthority ~

Strictly speaking you should run:

(as root)# xauth merge ~randall/.Xauthority

Since you're only running on the one machine this will do the same as the copy.

It gets much more fun when you have multiple machines, but once it's set up
right it makes for a great environment.


> xhost, su, sudo: Linux/Unix sure does have lots of commands.

Now you have a new one to add to the collection .

As a programmer I love *nix, but it's configuration can be a pain at times.

--
Tony

--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 270 5030/786
@PATH: 379/45 1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.