Results 1 to 3 of 3
  1. #1
    Join Date
    May 2012
    Posts
    328

    VNC Viewer (or Server) Blank Black Screen

    Hi All
    I've Installed Xorg and gnome desktop on my Server to connect via vnc. I installed TightVNC as vnc server.
    when I cnnnect through vnc viewer it show a blank black screen!!
    anyone knows how to fix it ?
    Thanks

  2. #2
    Join Date
    Jan 2011
    Location
    UK
    Posts
    776
    I'm not sure about TightVNC, but the same effect can be had from vncserver if the account hasn't been set up right - in that case the /etc/sysconfig/vncservers file needs to be setup properly, with the VNCSERVERS and VNCSERVERARGS at the end uncommented and the right screen size inserted. It might be similar for TightVNC...

  3. #3
    Join Date
    May 2012
    Posts
    328
    Thanks, I managed to fixed it by editing xstartup:

    Code:
    #!/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 &

Similar Threads

  1. vnc viewer connection timing out
    By electronics2011 in forum Hosting Security and Technology
    Replies: 3
    Last Post: 06-24-2011, 04:53 AM
  2. iptables allow vnc viewer
    By electronics2011 in forum Hosting Security and Technology
    Replies: 1
    Last Post: 06-23-2011, 08:28 AM
  3. gray screen after installing vnc server ?
    By X-Dev in forum VPS Hosting
    Replies: 5
    Last Post: 01-21-2011, 06:37 AM
  4. Help with VNC Viewer on Ubuntu Desktop 8.04 LTS
    By 420cs in forum VPS Hosting
    Replies: 1
    Last Post: 05-28-2010, 03:07 AM
  5. VNC screen is now all black?
    By WootWoot in forum Hosting Security and Technology
    Replies: 6
    Last Post: 05-02-2010, 12:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •