Re: How do I start a blank x-server?

2012-02-27 Thread Nadav Har'El
On Mon, Feb 27, 2012, Micha wrote about "How do I start a blank x-server?": > For a project I'm working on at the moment, I need to be able to > log in remotely to a machine (via ssh) and start a blank x-server. >... > I seem to recall that just running X as a user used to do it, up

Re: How do I start a blank x-server?

2012-02-27 Thread Micha
It's headless as far as a human is concerned as there is no display for user interaction. The two dvi is connected to a machine that does something with the output, but it's nothing a human can discern before being processed. We're thinking of putting in another graphics

Re: How do I start a blank x-server?

2012-02-27 Thread Shachar Shemesh
On 02/27/2012 10:21 PM, Micha wrote: > I would have preferred to be able to do this as a user as the machine > is supposed to run headless as a production machine dedicated for this > application, I guess that I can start the whole application as a > daemon though. If it's headless, who's going to

Re: How do I start a blank x-server?

2012-02-27 Thread Micha
Thanks, I got X to start this way (as root). It did take a very long time (almost half a minute) until the black screen came up. For some reason though the keyboard and mouse don't respond and I have an X for the mouse in the middle of the screen that won't move. It also

Re: elevate gdb privileges

2012-02-27 Thread shimi
2012/2/27 Amos Shapira > Just make sure that noone but you can talk to gdbserver. Does it have some > authentication mechanism? > Even if not, iptables has —uid-owner :) -- Shimi ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.

Re: elevate gdb privileges

2012-02-27 Thread Amos Shapira
Just make sure that noone but you can talk to gdbserver. Does it have some authentication mechanism? On Feb 28, 2012 1:12 AM, "ik" wrote: > On Mon, Feb 27, 2012 at 12:43, guy keren wrote: > > On 02/27/2012 12:33 PM, ik wrote: > >> > >> Hello, > >> > >> I have a program that I write that uses use

Re: How do I start a blank x-server?

2012-02-27 Thread Shachar Shemesh
On 02/27/2012 09:05 PM, Micha wrote: > > For a project I'm working on at the moment, I need to be able to log > in remotely to a machine (via ssh) and start a blank x-server. That > is, to just initialize the display, with not cursor or window manager, > to allow for creating a single full screen w

How do I start a blank x-server?

2012-02-27 Thread Micha
For a project I'm working on at the moment, I need to be able to log in remotely to a machine (via ssh) and start a blank x-server. That is, to just initialize the display, with not cursor or window manager, to allow for creating a single full screen window for di

Re: elevate gdb privileges

2012-02-27 Thread ik
On Mon, Feb 27, 2012 at 12:43, guy keren wrote: > On 02/27/2012 12:33 PM, ik wrote: >> >> Hello, >> >> I have a program that I write that uses user-space libraries that talk >> with kernel space, and I use an IDE for the development and debugging. >> >> The program requires to run as super user, b

Re: elevate gdb privileges

2012-02-27 Thread Amos Shapira
Wrap it with a suid shell/c program which exec(2)'s it? On 27 February 2012 21:33, ik wrote: > Hello, > > I have a program that I write that uses user-space libraries that talk > with kernel space, and I use an IDE for the development and debugging. > > The program requires to run as super user,

Re: elevate gdb privileges

2012-02-27 Thread Valery Reznic
Hi, Ido suid root != everyone can use it mkdir -m700 ~/for_setuid Then copy gdb here and make it setuid root Valery > > From: ik >To: linux-il >Sent: Monday, February 27, 2012 12:33 PM >Subject: elevate gdb privileges > >Hello, > >I have a program that

Re: elevate gdb privileges

2012-02-27 Thread Baruch Siach
Hi Ido, On Mon, Feb 27, 2012 at 12:33:19PM +0200, ik wrote: > I have a program that I write that uses user-space libraries that talk > with kernel space, and I use an IDE for the development and debugging. > > The program requires to run as super user, but I do not want to run > the whole IDE its

Re: elevate gdb privileges

2012-02-27 Thread guy keren
On 02/27/2012 12:33 PM, ik wrote: Hello, I have a program that I write that uses user-space libraries that talk with kernel space, and I use an IDE for the development and debugging. The program requires to run as super user, but I do not want to run the whole IDE itself as super user, only gdb

elevate gdb privileges

2012-02-27 Thread ik
Hello, I have a program that I write that uses user-space libraries that talk with kernel space, and I use an IDE for the development and debugging. The program requires to run as super user, but I do not want to run the whole IDE itself as super user, only gdb for this specific project, but the