dave wrote: >Christopher Paulin wrote: > > >>It worked! >> >> >>That also worked! >> >> >> > >Cool :) > > > > >>chris@p450:~> su >>su >>Password: >>p450:/home/chris # emacs /etc/default/cdrecord & >>[1] 1554 >> >>I have to go this extra work: >> >>p450:/home/chris # Xlib: connection to ":0.0" refused by server >>Xlib: Invalid XDM-AUTHORIZATION-1 key (failed key comparison) >>emacs: Cannot connect to X server :0.0. >>Check the DISPLAY environment variable or use `-d'. >>Also use the `xhost' program to verify that it is set to permit >>connections from your machine. >> >>Temporary fix: >> >>chris@p450:~> xhost + >>access control disabled, clients can connect from any host >> >> > >You can get around this a couple ways: > >either by using an editor that doesn't use X, like vi (heheh, sorry, had >to get that in!) > Nah. > >or use one of the "su in X" goodies, like xsu (or for something that >fits your desktop, kdesu). > kdesu works. chris@p450:~> kdesu emacs & [2] 1758 It brings up a dialog box that asks for my root password. Next, I exited out of emacs. chris@p450:~> [2]+ Done kdesu emacs chris@p450:~> > what they do is temporarily allow an app >started as root to connect the regular user's X server. > >here's a blurb from gksu's site: > >About: >GKsu is a GTK+ frontend to the su program. It supports login shells and >preserving environment variables, and is useful for launching graphical >programs that need to run as another user. In the future, it will also >wrap sudo. > >dave > >_______________________________________________ >CCOSS mailing list >ccoss@xxxxxxxxxxxxx >CCOSS mailing list page: //www.freelists.org/cgi-bin/list?list_id=3594 >CCOSS Web page: http://www.ccoss.org > > > _______________________________________________ CCOSS mailing list ccoss@xxxxxxxxxxxxx CCOSS mailing list page: //www.freelists.org/cgi-bin/list?list_id=3594 CCOSS Web page: http://www.ccoss.org