I think the main differences from the /etc/init.d/vncserver script (I will call this the service script) and xinit are:
you can specify users and ports through the service script (including password protection). This makes it more secure than xinit unless you limit the xinit to 1 user. Unfortunately this prevents sharing. You can limit it to particular hosts but this inhibits the ability to pull your desktop up on any computer in the lan or remotely from home without opening up security issues. Of course it is not a problem when not logged into a window manager on your account. But if you are logged in, then there is no password protection that would inhibit anyone else from also opening up that vnc connection and being on your remote desktop. Using xinit, I actually tried to limit a port to a user. The only thing it did was affect the title script (instead of nobody's desktop it used user's desktop in the title). It still showed the incorrect port number though. If this could be limited by user and/or groups then proper security could be implemented. Does anyone know how to get this to auto bootup through runlevel 5 or even a script through rc.local in runlevel 4? I would prefer to just use X and not a window manager on the local machine because of the keyboard issue on fullscreen vncviewer. --- Jeff Vincent <[EMAIL PROTECTED]> wrote: > My information only works if using xinetd and not > launching vncsever through > the rc.d scripts. I haven't yet figured out what > the /etc/init.d/vncserver > script actually buys me yet. I'm open for any > information on how or why to > use the vncserver startup script vs. configuring > xinetd. > > Anyway, using xinetd you have to enable XDMCP to get > more than a blank screen. > There are 4 things you have to do for RedHat 7.2, > and I am not sure if you can > get away with a subset depending on the manager > being used. I am guessing > that by doing all of them, XDMCP will be enabled for > any configuration you > might be using (kdm, gdm, xdm). > > 1) COMMENT OUT the line 'DisplayManager.requestPort: > 0' (should be the last > line) in '/etc/X11/xdm/xdm-config' > 2) UNCOMMENTED the line '# * #any host can get a > login window' in > '/etc/X11/xdm/Xaccess' > 3) (RH 7.2) EDIT /etc/kde/kdm/kdmrc and modify the > Xdmcp section to enable it > on port 177. > 4) (RH 7.2) run gdmconfig and enabled XDMCP (or > modify /etc/X11/gdm/gdm.conf > and edit Xdmcp section) > > As I have noted before, #1 and #2 were the only ones > I had to do on RH 7.1 > (using kdm) as the kdmrc file on RH7.1 DOES NOT have > an Xdmcp section. I > didn't try adding it either. > > Anyone know how to get the VNC client to change from > "nobody's x11 desktop" to > "<currentLoggedInUser>'s x11 desktop" once I log in? > > Jeff > > >>> [EMAIL PROTECTED] 10/26/01 11:09AM >>> > I need help launching Xvnc when a RedHat 7.2 server > boots. Once booted I need > the vncviewer connection to see the KDM login > screen. I've managed to get a > XDM login to appear by editing /etc/X11/xdm/Xservers > file. > > :0 local /usr/X11R6/bin/X > :1 local /usr/bin/Xvnc :1 -rfbauth /root/.vnc/passwd > > This allows me to connect and log in to KDE via XDM, > but as soon as I log out > of KDE, XDM dies and I get a grey background with > the X cursor. > > Also tried the -query localhost option but it just > gives me the grey > background. > > Does anyone have a config that works? Thanks. > > -MG > --------------------------------------------------------------------- > To unsubscribe, mail [EMAIL PROTECTED] > with the line: > 'unsubscribe vnc-list' in the message BODY > See also: > http://www.uk.research.att.com/vnc/intouch.html > --------------------------------------------------------------------- > --------------------------------------------------------------------- > To unsubscribe, mail [EMAIL PROTECTED] > with the line: > 'unsubscribe vnc-list' in the message BODY > See also: > http://www.uk.research.att.com/vnc/intouch.html > --------------------------------------------------------------------- ===== SI Reasoning [EMAIL PROTECTED] "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." Benjamin Franklin __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com --------------------------------------------------------------------- To unsubscribe, mail [EMAIL PROTECTED] with the line: 'unsubscribe vnc-list' in the message BODY See also: http://www.uk.research.att.com/vnc/intouch.html ---------------------------------------------------------------------