[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#53759: revision of the "to build with X support or not" policy



    > Several packages already flagrantly violate policy by shipping
    > versions with and without X support; vim is one, gom is another.

I'm using vim very often after becoming super-user with su. If vim was
linked against X, I would always get an error message on startup
because root isn't authorized to connect to the X server.

AFAIK there is no way for a program to find out if it is authorized to
connect to the X server without outputting an annoying error message.

Therefore there has to be a version of vim without X support. I
definitely don't want to unset DISPLAY, set XAUTHORITY or specify a
command-line option every time I run vim as super-user.

I do know, that I could use an alias, a script or sudo to start vim as
super-user, but it just isn't convenient.


Reply to: