Kent West <[EMAIL PROTECTED]> wrote: > Andrei Popescu wrote: > > Kent West <[EMAIL PROTECTED]> wrote: > > > > > >> A few days ago xlinks2 was mentioned on this list and I decided to > >> give it a try. > >> > >> When I try to run it from within X as a normal user, no problem. > >> > >> When I try to run it outside of X as root, no problem. > >> > >> When I try to run it outside of X as a normal user, I get an error > >> about opening /dev/tty0 because of permission issues. > >> > >> [EMAIL PROTECTED]:~$ ls -l /dev/tty0 > >> crw-rw---- 1 root root 4, 0 2007-03-07 10:04 /dev/tty0 > >> > >> I could change the group to "tty" or something and then add my > >> normal user into that group, but is there perhaps a > >> better/safer/more-canonical way? > >> > > > > Interesting. On my system: > > > > ls -l /dev/tty2 > > crw------- 1 amp77 tty 4, 2 2007-03-27 23:20 /dev/tty2 > > > > What are you running (stable, testing, ...?) > > > > Etch > > [EMAIL PROTECTED]:~$ ls -l /dev/tty2 > crw------- 1 westk tty 4, 2 2007-03-26 14:13 /dev/tty2 > > On this box, tty2 is the only file owned by me and the group tty; all > others are root.root (until you get to the tty[a..z] group, which is > then root.tty). >
I only checked tty2 because that's where I'm logged in and xlinks2 works (no mouse, but still). Or am I missing something? Just for completeness: $ ls -l /dev/tty0 crw-rw---- 1 amp77 amp77 4, 0 2007-03-27 22:03 /dev/tty0 $ id uid=1000(amp77) gid=1000(amp77) groups=20(dialout),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),1000(amp77) Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]