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

From: Randall Parker 

Tony Williams wrote:
> Randall Parker wrote:

>> 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

My own account has .Xauthority.

[root{at}localhost ~]#

[root{at}localhost randall]# ls -a
.              Desktop    .gconfd            .ICEauthority  .recently-used
..             .dmrc      .gnome             .lesshst       share
.bash_history  download   .gnome2            lib            .thunderbird
.bash_logout   .eclipse   .gnome2_private    .metacity      .Trash
.bash_profile  .eggcups   .gstreamer-0.10    .mozilla       workspace
.bashrc        .emacs     .gtk-bookmarks     .nautilus      .Xauthority
bin            .esd_auth  .gtkrc             .opera
browsers       .gconf     .g


But the root account does not:

[root{at}localhost ~]# ls -a
.                .bash_profile  .gnome2             .mozilla
..               .bashrc        .gnome2_private     .recently-used
anaconda-ks.cfg  .cshrc         .gtkrc              .tcshrc
.bash_history    .gconf         install.log         .xauthd2L5U6
.bash_logout     .gconfd        install.log.syslog  .xauthxa2aVS


So should I do the xauth method?


>
> 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.
>

--- 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™.