Quoting Rusty Minden ([EMAIL PROTECTED]):
> As far as security goes that is a big no no. It allows anyone to
> use X.
Looks like you might have misread Michael's post the same way I did,
initially: "xhost +" would allow anyone to use the current user's X11
server.
"xhost +root" would (accordin
As far as security goes that is a big no no. It allows anyone to
use X.
Rusty
PS I said I use vim not gvim.
On Tuesday 12 November 2002 11:03 pm, Rick Moen wrote:
> Quoting Michael Wenk ([EMAIL PROTECTED]):
> > If you xhost +root then you'll be fine.
>
> Oops, that's what I get for posting too
Quoting Michael Wenk ([EMAIL PROTECTED]):
> Hmm, I was just about to say... :-)
>
> Yes the others will work, xhost tho, IMO is the fastest and requires the
> least effort. And I agree that xhost + is not a good way to go, in fact,
> you may want to go a bit further and do an xhost +root@localho
Hmm, I was just about to say... :-)
Yes the others will work, xhost tho, IMO is the fastest and requires the
least effort. And I agree that xhost + is not a good way to go, in fact,
you may want to go a bit further and do an xhost +root@localhost
I forget if xhost assumes wildcards, but why take
Quoting Michael Wenk ([EMAIL PROTECTED]):
> If you xhost +root then you'll be fine.
Oops, that's what I get for posting too quickly. Apologies: I was
thinking of "xhost +" without the username qualifier.
The other approaches still might be worth considering.
__
Quoting Michael Wenk ([EMAIL PROTECTED]):
> if you're su'd and execute any x app, it will give that error because
> root doesn't have permissions for X. I used to see this while running
> emacs, but then emacs would go into non window'd mode. If you xhost
> +root then you'll be fine.
Which is w
Hint: Vim's syntax highlighting works better under X. You can also
convert the syntax highlighted text file to HTML, a feature that works
only under X (don't ask me why -- I got an error message when I tried it
under the console.) I think Bill would find that feature quite handy when
he gives pre
if you're su'd and execute any x app, it will give that error because root
doesn't have permissions for X. I used to see this while running emacs, but
then emacs would go into non window'd mode. If you xhost +root then you'll
be fine.
- Original Message -
From: "Rusty Minden" <[EMAIL PR
On Tue, Nov 12, 2002 at 09:30:51PM -0800, Peter Jay Salzman wrote:
> the way the image is set up, it really must be transparent. i just need
> to change the font color from white to black.
Load in The GIMP.
Set black to be your 'background' color in The Gimp.
(easiest way is to click the Black-
i have the misfortune of wanting to print a webpage with a black
background. ain't no way i'm going to print this thing. laser toner is
just too expensive.
so i saved a copy of the page along with the images and modified the
tag.
then i find out the gif transparent images (which contain import
is there anyone here with client side quake scripting experience?
pete
--
Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech
I loaded vim as vin-gtk so that may be the issue. I always run it
as vim though.
Yes I do run debian sarge.
Rusty
On Tuesday 12 November 2002 04:59 pm, Peter Jay Salzman wrote:
> damn, matt. you're good! :)
>
> i thought rusty used debian though. this doesn't seem like
> something debian wo
I almost never use gvim so no. I was logged into a consule under
X and used su to get root privledges. When I tested out the
script it gave the error. I don't understand it either.
Rusty
On Tuesday 12 November 2002 04:47 pm, Peter Jay Salzman wrote:
> wierd. i dunno. one has nothing to do wi
begin R. Douglas Barbieri <[EMAIL PROTECTED]>
> Au contraire. I'm running Debian with the vim and vim-gtk packages
> installed. The command "gvim" is softlinked to "vim." I'm used to the vim
> command only running in shell and not involving the GTK version, where
> gvim does. I think that recent v
Au contraire. I'm running Debian with the vim and vim-gtk packages
installed. The command "gvim" is softlinked to "vim." I'm used to the vim
command only running in shell and not involving the GTK version, where
gvim does. I think that recent versions have changed this functionality so
that "vim"
* Peter Jay Salzman <[EMAIL PROTECTED]> [2002-11-12 19:06]:
> hi lugod,
>
> i've seen vim on a mandrake system which, when opening a file a second
> time, will place the cursor at its last position when the file was
> initially opened.
>
> anyone know how to get vim to do this?
>
> i've checked
damn, matt. you're good! :)
i thought rusty used debian though. this doesn't seem like something
debian would do...
pete
begin Matt Roper <[EMAIL PROTECTED]>
> I think some distributions build the vim executable in such a way that the
> GTK interface is always used by default (i.e. without
I think some distributions build the vim executable in such a way that the
GTK interface is always used by default (i.e. without the -g option and
without running 'gvim'). When Rustry tries to edit files as root, the
GTK interface fails to connect to the X server so it falls back to the
console in
wierd. i dunno. one has nothing to do with the other.
are you sure running vi is giving xlib errors? are you using gvim?
i can't think of any correlation that could possibly explain this...
pete
begin Rusty Minden <[EMAIL PROTECTED]>
> I just tried this and it works, but it gives a stran
I just tried this and it works, but it gives a strange message
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
when in su mode. Why does it do that?
Rusty
PS I was in su mode becouse I changed the /etc/vim/vimrc file.
On Tuesday 12 November 2002 12:52 pm, Peter
putting this in .vimrc does the trick:
" When editing a file, always jump to the last known cursor position.
" Don't do it when the position is invalid or when inside an event
" handler (happens when dropping a file on gvim).
"
autocmd BufReadPost *
\ if line("'\"") > 0 && lin
hi jan,
the viminfo file just stores information. it doesn't actually do
anything by itself. in other words, the viminfo file differs from the
.vimrc file in that:
viminfo: stores state data for vim
.vimrc: a list of vim commands to run at the start of a vim session
so how does the cursor get
Hi Peter:
Look in ~/.viminfo
There should be a line like:
# File marks:
'0 37 0 ~/textfile3.txt
'1 35 0 ~/textfile.txt
I think that is the place that you are talking about.
:)
HTHO,
jan
--- Peter Jay Salzman <[EMAIL PROTECTED]> wrote:
> hi lugod,
>
> i've seen vim on a mandrake syste
hi lugod,
i've seen vim on a mandrake system which, when opening a file a second
time, will place the cursor at its last position when the file was
initially opened.
anyone know how to get vim to do this?
i've checked the ~/.vimrc and can find nothing that does this. i also
checked bash aliases
24 matches
Mail list logo