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

Re: usb permissions + export display



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 debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: