Re: sudo in X-environment -- polkit solution

2014-05-05 Thread Tom H
On Sun, May 4, 2014 at 11:08 AM, Osamu Aoki wrote: > On Sat, May 03, 2014 at 12:43:17PM +0200, Ralf Mardorf wrote: >> On Sat, 2014-05-03 at 06:29 -0400, Tom H wrote: > I am wondering why you even need to use wrapper explicitly? That's why I've said that I consider using a wrapper for gksu/gksud

Re: sudo in X-environment -- polkit solution

2014-05-04 Thread Osamu Aoki
Hi, I am wondering why you even need to use wrapper explicitly? On Sat, May 03, 2014 at 12:43:17PM +0200, Ralf Mardorf wrote: > On Sat, 2014-05-03 at 06:29 -0400, Tom H wrote: > > Thanks. As I said earlier, I consider this a bug. What's the point of > > using gksu/gksudo if you have do use a wrap

Re: sudo in X-environment

2014-05-03 Thread Steve Litt
On Sat, 3 May 2014 02:15:14 -0400 Tom H wrote: > A change in su has broken sux: > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659832 Doesn't surprise me one bit. I've been telling you all for years that sux sux! /* Litt ducks and runs */ -- To UNSUBSCRIBE, email to debian-user-requ.

Re: sudo in X-environment

2014-05-03 Thread Ralf Mardorf
On Sat, 2014-05-03 at 06:29 -0400, Tom H wrote: > Thanks. As I said earlier, I consider this a bug. What's the point of > using gksu/gksudo if you have do use a wrapper that you could use > around su/sudo? You still will get a GUI to enter the password. When running su/sudo by a launcher, you at l

Re: sudo in X-environment

2014-05-03 Thread Tom H
On Sat, May 3, 2014 at 3:21 AM, Ralf Mardorf wrote: > > Btw. xhost is needed when using gksudo: > > $ chuser firefox > No protocol specified > No protocol specified > Error: cannot open display: :0 > size == 0' failed > $ cat /usr/local/bin/chuser > #!/bin/sh > > # /usr/local/bin/chuser -> /.chuse

Re: sudo in X-environment

2014-05-03 Thread Johann Spies
> > xhost + > gksudo -u chuser "$*" > xhost - > exit > Thanks for all the answers. I have learnt a lot. I have never used gksudo before but for me it works without having to use xhost. Regards Johann -- Because experiencing your loyal love is better than life itself, my lips will praise you.

Re: sudo in X-environment

2014-05-03 Thread Ralf Mardorf
On Sat, 2014-05-03 at 02:15 -0400, Tom H wrote: > On Sat, May 3, 2014 at 1:35 AM, Ralf Mardorf > wrote: > > On Sat, 2014-05-03 at 07:24 +0200, Slavko wrote: > >> > >> sux was removed from testing and unstable, then it is not a solution to > >> future. > > > > It's just a short script everybody co

Re: sudo in X-environment

2014-05-02 Thread Tom H
On Sat, May 3, 2014 at 1:35 AM, Ralf Mardorf wrote: > On Sat, 2014-05-03 at 07:24 +0200, Slavko wrote: >> >> sux was removed from testing and unstable, then it is not a solution to >> future. > > It's just a short script everybody could copy & paste from any other > distro or from upstream, http:/

Re: sudo in X-environment

2014-05-02 Thread Ralf Mardorf
On Sat, 2014-05-03 at 07:24 +0200, Slavko wrote: > Ahoj, > > Dňa Sat, 03 May 2014 14:54:11 +1000 Scott Ferguson > napísal: > > > Usually you would use the graphical su from your de, unless you have > > no de... > > > > Use sux > > apt-get install sux > > x wrapper for su. > > sux was removed f

Re: sudo in X-environment

2014-05-02 Thread Slavko
Hi, Dňa Sat, 3 May 2014 00:33:28 +0100 Tom Furie napísal: > Context is all important. I am sorry, i deleted previous posts, then i lost proper context. It was attempt to find the best one... regards -- Slavko http://slavino.sk signature.asc Description: PGP signature

Re: sudo in X-environment

2014-05-02 Thread Slavko
Ahoj, Dňa Sat, 03 May 2014 14:54:11 +1000 Scott Ferguson napísal: > Usually you would use the graphical su from your de, unless you have > no de... > > Use sux > apt-get install sux > x wrapper for su. sux was removed from testing and unstable, then it is not a solution to future. regards --

Re: sudo in X-environment

2014-05-02 Thread Scott Ferguson
On 01/05/14 18:51, Johann Spies wrote: > For years I have used sudo both in server administration and on the > desktop. > > Lately I get the following error message and I do not really know what > to do about it other than logging into the xserver as root - which I do > not want to do: > > $ sudo

Re: sudo in X-environment

2014-05-02 Thread Tom H
On Fri, May 2, 2014 at 10:30 AM, Ralf Mardorf wrote: > On Fri, 2014-05-02 at 14:04 +0200, Slavko wrote: >> Dňa Thu, 1 May 2014 20:33:17 + Артур Истомин >> napísal: >>> On Thu, May 01, 2014 at 07:29:08PM +0100, Tom Furie wrote: Here, have a wrapper script #!/bin/sh xho

Re: sudo in X-environment

2014-05-02 Thread Tom Furie
On Fri, May 02, 2014 at 02:04:46PM +0200, Slavko wrote: > > On Thu, May 01, 2014 at 07:29:08PM +0100, Tom Furie wrote: > > > Here, have a wrapper script > > > > > > --8x > > > > > > #!/bin/sh > > > > > > xhost + si:localuser:root > > > sudo $@ > > > xhost - si:localuser:root

Re: sudo in X-environment

2014-05-02 Thread Ralf Mardorf
On Fri, 2014-05-02 at 14:04 +0200, Slavko wrote: > Ahoj, > > Dňa Thu, 1 May 2014 20:33:17 + Артур Истомин > napísal: > > > On Thu, May 01, 2014 at 07:29:08PM +0100, Tom Furie wrote: > > > Here, have a wrapper script > > > > > > --8x > > > > > > #!/bin/sh > > > > > > xh

Re: sudo in X-environment

2014-05-02 Thread Slavko
Ahoj, Dňa Thu, 1 May 2014 20:33:17 + Артур Истомин napísal: > On Thu, May 01, 2014 at 07:29:08PM +0100, Tom Furie wrote: > > Here, have a wrapper script > > > > --8x > > > > #!/bin/sh > > > > xhost + si:localuser:root > > sudo $@ > > xhost - si:localuser:root > > > >

Re: sudo in X-environment

2014-05-01 Thread Артур Истомин
On Thu, May 01, 2014 at 07:29:08PM +0100, Tom Furie wrote: > On Thu, May 01, 2014 at 05:19:59PM +, Артур Истомин wrote: > > On Thu, May 01, 2014 at 05:46:36PM +0100, Tom Furie wrote: > > > > 'xhost +' allows anyone anywhere access to your X server. If you must use > > > xhost in this situation

Re: sudo in X-environment

2014-05-01 Thread Ralf Mardorf
On Thu, 2014-05-01 at 19:29 +0100, Tom Furie wrote: > --8x > > #!/bin/sh > > xhost + si:localuser:root > sudo $@ > xhost - si:localuser:root > > --8x > > Save it as xdo and it's even less typing than 'xhost + ... xhost -' :) That reminds me, that I still

Re: sudo in X-environment

2014-05-01 Thread Tom Furie
On Thu, May 01, 2014 at 05:19:59PM +, Артур Истомин wrote: > On Thu, May 01, 2014 at 05:46:36PM +0100, Tom Furie wrote: > > 'xhost +' allows anyone anywhere access to your X server. If you must use > > xhost in this situation it would be much safer to use 'xhost + > > si:localuser:root', this

Re: sudo in X-environment

2014-05-01 Thread Артур Истомин
On Thu, May 01, 2014 at 05:46:36PM +0100, Tom Furie wrote: > On Thu, May 01, 2014 at 04:30:11PM +, Артур Истомин wrote: > > On Thu, May 01, 2014 at 10:51:21AM +0200, Johann Spies wrote: > > > For years I have used sudo both in server administration and on the > > > desktop. > > > > > > Lately

Re: sudo in X-environment

2014-05-01 Thread Tom H
On Thu, May 1, 2014 at 12:30 PM, Артур Истомин wrote: > On Thu, May 01, 2014 at 10:51:21AM +0200, Johann Spies wrote: >> >> For years I have used sudo both in server administration and on the desktop. >> >> Lately I get the following error message and I do not really know what to do >> about it ot

Re: sudo in X-environment

2014-05-01 Thread Tom Furie
On Thu, May 01, 2014 at 04:30:11PM +, Артур Истомин wrote: > On Thu, May 01, 2014 at 10:51:21AM +0200, Johann Spies wrote: > > For years I have used sudo both in server administration and on the desktop. > > > > Lately I get the following error message and I do not really know what to do > > a

Re: sudo in X-environment

2014-05-01 Thread Артур Истомин
On Thu, May 01, 2014 at 10:51:21AM +0200, Johann Spies wrote: > For years I have used sudo both in server administration and on the desktop. > > Lately I get the following error message and I do not really know what to do > about it other than logging into the xserver as root - which I do not want

Re: sudo in X-environment

2014-05-01 Thread Tom H
On Thu, May 1, 2014 at 4:51 AM, Johann Spies wrote: > > For years I have used sudo both in server administration and on the desktop. > > Lately I get the following error message and I do not really know what to do > about it other than logging into the xserver as root - which I do not want > to do

sudo in X-environment

2014-05-01 Thread Johann Spies
For years I have used sudo both in server administration and on the desktop. Lately I get the following error message and I do not really know what to do about it other than logging into the xserver as root - which I do not want to do: $ sudo system-config-printer No protocol specified error

My X environment has become "magnified" [SOLVED]

2010-10-04 Thread Spiros Bousbouras
I don't seem able to reply to my previous thread titled My X environment has become "magnified" < http://groups.google.com/group/linux.debian.user/browse_thread/thread/3b64dae082545c18 > so this is just to say that doing xrandr --rate 60 solved the problem. Thanks to

Re: My X environment has become "magnified"

2010-10-04 Thread Andrew Sackville-West
e programme exited immediately. > The problem is that my X environment is now "magnified". [...] > I'm sure that killing the X server would fix it but I have several > applications running which I would prefer not to terminate so I'm > looking for a solution which will n

My X environment has become "magnified"

2010-10-04 Thread Spiros Bousbouras
Hi folks. I downloaded some new levels for the arcade game supertux. I tried supertux -d . on the directory where I had downloaded the levels but presumably I used the option incorrectly because the programme exited immediately. The problem is that my X environment is now "magnified".

Re: [Debian-User] Gtk fonts on non desktop (non gnome) X environment.

2008-07-17 Thread Javier Vasquez
On Thu, Jul 17, 2008 at 12:47 PM, Andrei Popescu <[EMAIL PROTECTED]> wrote: > On Thu,17.Jul.08, 09:19:06, Javier Vasquez wrote: >> Hi, >> >> I use fluxbox, with no desktop (no kde, no gnome no xfce, ...). But I >> have the problem of not being able to configure the fonts for the gtk >> guis... Fo

Re: [Debian-User] Gtk fonts on non desktop (non gnome) X environment.

2008-07-17 Thread Andrei Popescu
On Thu,17.Jul.08, 09:19:06, Javier Vasquez wrote: > Hi, > > I use fluxbox, with no desktop (no kde, no gnome no xfce, ...). But I > have the problem of not being able to configure the fonts for the gtk > guis... For example I can't make the tab menus, readable for me on > icedove, iceweasel, ice

Re: [Debian-User] Gtk fonts on non desktop (non gnome) X environment.

2008-07-17 Thread Amit Uttamchandani
On Thu, 17 Jul 2008 12:00:34 -0600 "Javier Vasquez" <[EMAIL PROTECTED]> wrote: > On Thu, Jul 17, 2008 at 9:32 AM, Jochen Schulz <[EMAIL PROTECTED]> > wrote: > > Javier Vasquez: > >> > >> Is there a configuration file I can create by hand under > >> ~/. which would help me accomplish getting the fo

Re: [Debian-User] Gtk fonts on non desktop (non gnome) X environment.

2008-07-17 Thread Javier Vasquez
On Thu, Jul 17, 2008 at 9:32 AM, Jochen Schulz <[EMAIL PROTECTED]> wrote: > Javier Vasquez: >> >> Is there a configuration file I can create by hand under >> ~/. which would help me accomplish getting the fonts I'd >> like to see? > > IIRC ~/.gtkrc-2.0. I don't have an example at hand but you will

Re: [Debian-User] Gtk fonts on non desktop (non gnome) X environment.

2008-07-17 Thread Amit Uttamchandani
On Thu, 17 Jul 2008 09:19:06 -0600 "Javier Vasquez" <[EMAIL PROTECTED]> wrote: > Hi, > > I use fluxbox, with no desktop (no kde, no gnome no xfce, ...). But I > have the problem of not being able to configure the fonts for the gtk > guis... For example I can't make the tab menus, readable for m

Re: [Debian-User] Gtk fonts on non desktop (non gnome) X environment.

2008-07-17 Thread Mumia W..
On 07/17/2008 10:19 AM, Javier Vasquez wrote: Hi, I use fluxbox, with no desktop (no kde, no gnome no xfce, ...). But I have the problem of not being able to configure the fonts for the gtk guis [...] Try launching the gnome-settings-daemon; it may improve the font size immediately; if not,

Re: [Debian-User] Gtk fonts on non desktop (non gnome) X environment.

2008-07-17 Thread Jochen Schulz
Javier Vasquez: > > Is there a configuration file I can create by hand under > ~/. which would help me accomplish getting the fonts I'd > like to see? IIRC ~/.gtkrc-2.0. I don't have an example at hand but you will find examples when googling for that filename. J. -- I want to look younger than

[Debian-User] Gtk fonts on non desktop (non gnome) X environment.

2008-07-17 Thread Javier Vasquez
Hi, I use fluxbox, with no desktop (no kde, no gnome no xfce, ...). But I have the problem of not being able to configure the fonts for the gtk guis... For example I can't make the tab menus, readable for me on icedove, iceweasel, iceape, etc... I had the same problem for icedove, but there was

Re: GNU screen's alternative for X environment

2006-04-01 Thread Steve Lamb
Jaime Herazo B. wrote: > The article is redhat-centric, but in principle i > don't think it'd be too difficult to debianize it, > haven't taken the time to even read it in detail > though so i'm not sure. It isn't at all: (apt-get|aptitude) install tightvncserver xtightvncviewer Though t

Re: GNU screen's alternative for X environment

2006-04-01 Thread Jaime Herazo B.
I think that what you're looking for is something like this: Part 1: http://www.linuxjournal.com/article/5499 Part 2: http://www.linuxjournal.com/article/5560 Just this week i found it, lucky :) The article is redhat-centric, but in principle i don't think it'd be too difficult to debianize it, hav

Re: GNU screen's alternative for X environment

2006-04-01 Thread Komodo
View this message in context: http://www.nabble.com/GNU-screen%27s-alternative-for-X-environment-t385301.html#a3703364 Sent from the Debian User forum at Nabble.com. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: GNU screen's alternative for X environment

2005-10-07 Thread Henrique de Moraes Holschuh
On Fri, 07 Oct 2005, kamaraju kusumanchi wrote: > I use screen to capture previous sessions. But the GNU screen works only > in the text environment. I am a big fan of x-windows environment and I > am wondering if there is any alternative for it? I tried nxclient. But Look for vnc servers and c

GNU screen's alternative for X environment

2005-10-07 Thread kamaraju kusumanchi
I use screen to capture previous sessions. But the GNU screen works only in the text environment. I am a big fan of x-windows environment and I am wondering if there is any alternative for it? I tried nxclient. But all nxclient does is it gives me a new session but I want to get hold of previou

Re: Disfunctional Mouse in the Non-X Environment

2004-03-10 Thread messmate
On Wed, 10 Mar 2004 01:51:51 -0800 "Clyde Wilson" <[EMAIL PROTECTED]> wrote: |After installing Debian GNU/Linux 3.0 rev 1 "woody" I have not been able to get my mouse to function in the non-X environment (alt-F1). Is there something I did wrong on the install? | |T

Re: Disfunctional Mouse in the Non-X Environment

2004-03-10 Thread Kent West
Clyde Wilson wrote: After installing Debian GNU/Linux 3.0 rev 1 "woody" I have not been able to get my mouse to function in the non-X environment (alt-F1). Is there something I did wrong on the install? Thanks for your time. You'll need to install gpm, configure it to repeat

Disfunctional Mouse in the Non-X Environment

2004-03-10 Thread Clyde Wilson
After installing Debian GNU/Linux 3.0 rev 1 "woody" I have not been able to get my mouse to function in the non-X environment (alt-F1).  Is there something I did wrong on the install?   Thanks for your time.

Re: X environment

2002-02-06 Thread ben
On Wednesday 06 February 2002 08:39 am, Terence Ng wrote: > Oh! I am so sorry. I mean after I type in startx, sometimes the window > come out is in black and white, and it is jumping. Then I have to quit and > try to startx again. Is X window not stable in Debian, or I miss some > important pack

Re: X environment

2002-02-06 Thread Terence Ng
Oh! I am so sorry. I mean after I type in startx, sometimes the window come out is in black and white, and it is jumping. Then I have to quit and try to startx again. Is X window not stable in Debian, or I miss some important packages to install? Thanks, Terence Ng On Sun, Feb 03, 2002 a

Re: X environment

2002-02-06 Thread Leonardo F. S. Boiko
> Hi! > > I am using LeadTek WinFast 3D S600 Video Card, and I have installed > xserver-svga, xserver-vga16 fo XF86Setup 3D S600 Video Card, and I have > installed xserver-svga, xserver-vga16 for XF86Setup, and xfonts-base, > xfonts-75dpi, xfonts-100dpi, etc. And I use icewm-gnome and other >

X environment

2002-02-05 Thread Terence Ng
Hi! I am using LeadTek WinFast 3D S600 Video Card, and I have installed xserver-svga, xserver-vga16 fo XF86Setup 3D S600 Video Card, and I have installed xserver-svga, xserver-vga16 for XF86Setup, and xfonts-base, xfonts-75dpi, xfonts-100dpi, etc. And I use icewm-gnome and other dependent app

X environment variables

2001-08-21 Thread Roger Keays
Hi. Is there a way to set up my default environment variables for all the X sessions presented by kdm? ie. startkde, gnome, icewm I can't simply edit .xsession as it is ignored by all sessions except 'default'. Thanks in advance, Roger