Problem with VNC and console.perms

Problem with VNC and console.perms

Post by Jeffrey J. Kosows » Sat, 01 Feb 2003 11:47:36

I am runing vncserver under RH8.0/Linux 2.4.20 which I use as a remote
console on my Windoze laptop to access my Linux machine.

I would like to be able to use console.perms to give permissions to
access devices such as /dev/dsp and the cdroms/dvds when logged in
from the remote console on my laptop.

I am not sure why this is not happening automatically since vncserver
sets up an X display as ":1" and console.perms has the followin regexp
definition of console:
        <console>=tty[0-9][0-9]* vc/[0-9][0-9]* :[0-9]\.[0-9] :[0-9]
        <xconsole>=:[0-9]\.[0-9] :[0-9]

However, the file permissions don't change when I start up vncserver
though it does work when I log in from the actual console (:0).

What am I missing here? Shouldn't the vncserver on :1 match the regexp
:[0-9] ?



1. textmode font & X console perms arrogance

Two more X-newbie problems:

1/ I can now start the SVGA server fine.  Unfortunately, it turns out
I suffer from the textmode font corruption disease.  The X
documentation recommends to use runx from the svgalib distribution.  I
installed that, but it is only a wrapper around startx.  So, it can
restore the font after the X server quits - but not if I switch to a
textmode console while X is still running!  Is there any way to run a
configured program before/after a console switch?  Maybe via kerneld?
Any solution to this at all?

2/ X insists on resetting the owner/group of /dev/tty0 to root:root,
mode 600.  Why, and is there any way to prevent it via configuration
files?  It breaks my setup, where /dev/tty0 is used by a setgid

This is the Linux-ELF-libc binary release of XFree86, v. 3.3.1.
Thanks for your help.


I came to the conclusion that what was wrong about the guillotine
was that the condemned man had no chance at all, absolutely none.
Albert Camus, _The Outsider_

2. anybody with PLIP running?

3. pam console.perms question

4. Forward Mail / Procmail

5. Matrox Mystique ands X.

6. kppp disconects after login suse6.0

7. VNC on console?

8. Linux-1.3.35 -> PPP

9. Ctrl-C in Windows VNC viewer, Redhat VNC server

10. Font display problems in matlab when using VNC (an X resources problem?)

11. NFS perm problem

12. strange directory perm problem

13. Filesystem Perm Problem