hey guys,
Ok so I've installed tiger vnc on a centos 6.5 machine.
And I've edited /etc/sysconfig/vncservers
[root at potwsld00001 ~]# cat /etc/sysconfig/vncservers
VNCSERVERS="1:mysql"
And added the contents of the xstartup file for the user:
[root at potwsld00001 ~]# cat /home/mysql/.vnc/xstartup
#!/bin/sh
[ -r /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
export LANG
export SYSFONT
vncconfig -iconic &
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
OS=`uname -s`
if [ $OS = 'Linux' ]; then
case "$WINDOWMANAGER" in
*gnome*)
if [ -e /etc/SuSE-release ]; then
PATH=$PATH:/opt/gnome/bin
export PATH
fi
;;
esac
fi
if [ -x /etc/X11/xinit/xinitrc ]; then
exec /etc/X11/xinit/xinitrc
fi
if [ -f /etc/X11/xinit/xinitrc ]; then
exec sh /etc/X11/xinit/xinitrc
fi
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
exec gnome-session &
But when I go to start it up I am getting this error:
[root at potwsld00001 ~]# service vncserver start
Starting VNC server: 1:mysql
You will require a password to access your desktops.
getpassword error: Inappropriate ioctl for device
Password: [FAILED]
Can anyone tell me how to get past this point?
Thanks
Tim
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
On Tue, 17 Mar 2015 18:27:05 -0400 Tim Dunphy wrote:> You will require a password to access your desktops. > > getpassword error: Inappropriate ioctl for device > Password: [FAILED] > > Can anyone tell me how to get past this point?vncpasswd -- MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
> > vncpasswdThanks! That worked. Tim On Tue, Mar 17, 2015 at 6:39 PM, Frank Cox <theatre at melvilletheatre.com> wrote:> On Tue, 17 Mar 2015 18:27:05 -0400 > Tim Dunphy wrote: > > > You will require a password to access your desktops. > > > > getpassword error: Inappropriate ioctl for device > > Password: [FAILED] > > > > Can anyone tell me how to get past this point? > > vncpasswd > > -- > MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >-- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B