Re: usb permissions + export display

2002-05-12 Thread Jan Exss
On Sun, 12 May 2002, Colin Watson wrote:

> On Sun, May 12, 2002 at 02:39:43PM +0200, Jan Exss wrote:
> >
> > I seriously recommend to use ssh instead of unencrypted X11 connections.
>
> Seconded.
>
> > Please use ssh instead. Try
> >
> > $ ssh -x client
>
> Minor correction: that should be 'ssh -X client', at least with openssh.
>
> --
> Colin Watson  [EMAIL PROTECTED]
>

Sure. Thank you for the comment.

$ ssh -x client

forces ssh to NOT forward X11, even if requested by default. I usually
modify /etc/ssh/ssh(d)_config, so that I don't have to use any option at
all and so I always mix the options when forced to use one ;-)

Thanks, Colin.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: usb permissions + export display

2002-05-12 Thread Colin Watson
On Sun, May 12, 2002 at 02:39:43PM +0200, Jan Exss wrote:
> On 12 May 2002, Antoine Jacoutot wrote:
> > 2. I want to export my display on anothre computer. On the server
> > running X, I issued the following command: "xhost +", and on the client,
> > when I launch an application, like "xterm -display server:0", I get this
> > error message: "xterl Xt error: Can't open display: server:0".
> 
> I seriously recommend to use ssh instead of unencrypted X11 connections.

Seconded.

> Please use ssh instead. Try
> 
> $ ssh -x client

Minor correction: that should be 'ssh -X client', at least with openssh.

-- 
Colin Watson  [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: usb permissions + export display

2002-05-12 Thread Jan Exss
On 12 May 2002, Antoine Jacoutot wrote:

> 1. When I plug my didgital usb camera, I can only access it under root,
> not as a regular user. I know this is because /proc/bus/usb/000/...
> entries are accessible only by root, and I can't change it since as soon
> as I re-plug my camera, the permissions are back only for root.

I had the same problem and decided to install the USB perimssion daemon by
myself, because I couldn't find any Debian package to deal with that
problem. Take a look at

http://www.xena.uklinux.net/Linux/usb_perms.html

The init script is made for SuSE I think, so you must create one by
yourself.

> 2. I want to export my display on anothre computer. On the server
> running X, I issued the following command: "xhost +", and on the client,
> when I launch an application, like "xterm -display server:0", I get this
> error message: "xterl Xt error: Can't open display: server:0".

I seriously recommend to use ssh instead of unencrypted X11 connections.

However, It seems that your X server has been started with the "-nolisten
tcp" option for security reasons. Are you using "gdm"? Look at
/etc/gdm/gdm.conf. Using xdm? Try /etc/X11/xdm/Xservers. Change the line
that starts the X server you are dealing with (probably :0).

Please use ssh instead. Try

$ ssh -x client

and look at

$ echo $DISPLAY

It should look like "localhost:10" or so. If not, enable X11 forwarding in
/etc/ssh/sshd_config at the X11 clients side. When done, just type
"xterm".

Hope this will help you. If not, request more details.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



usb permissions + export display

2002-05-12 Thread Antoine Jacoutot
Hello everybody !

I'm new to Debian but not (quite!) to Linux.
I used to run RedHat, and today I'm under Woody. I have to little
problems that I never had to deal with under RH:

1. When I plug my didgital usb camera, I can only access it under root,
not as a regular user. I know this is because /proc/bus/usb/000/...
entries are accessible only by root, and I can't change it since as soon
as I re-plug my camera, the permissions are back only for root. Someone
mentionned the hotplug package (right now, I'm using usbmgr, I don't
really know the difference), but I read the manual and didn't see
anything helpfull regarding my problem.

2. I want to export my display on anothre computer. On the server
running X, I issued the following command: "xhost +", and on the client,
when I launch an application, like "xterm -display server:0", I get this
error message: "xterl Xt error: Can't open display: server:0".
Isn't it odd since my X server is supposed to accept connections from
any host ?

Thanks in advance for your help in those 2 problems.

Antoine
ps: I hope you understood my questions because of my poor English.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]