Gray screen vnc viewer (Debian 8.3)

2015-09-19 Thread Muhammad Yousuf Khan
All,

I am having gray screen issue no matter what setting i put in my xstartup
file.

when ever i connect the client it shows me something gray screen i can not
see anything in the log i dont know what is going on. it never happend to
me before.
no xstartup config is working in this.

any suggestion would be highly appreciated.


#!/bin/sh
# Uncomment the following two lines for normal desktop:

#unset SESSION_MANAGER
#unset DBUS_SESSION_BUS_ADDRESS

# exec /etc/X11/xinit/xinitrc


[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources

xsetroot -solid grey
vncconfig -iconic &

#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop"
&
#gnome-session &

gnome-session --session=gnome-classic &










Thanks,
Yousuf


Re: Gray screen vnc viewer (Debian 8.3)

2015-09-19 Thread Muhammad Yousuf Khan
Just sharing: i am no longer using default vino server. i am using
vnc4server and also tightvncserver both shows the same result.


On Sat, Sep 19, 2015 at 10:41 PM, Muhammad Yousuf Khan 
wrote:

> All,
>
> I am having gray screen issue no matter what setting i put in my xstartup
> file.
>
> when ever i connect the client it shows me something gray screen i can not
> see anything in the log i dont know what is going on. it never happend to
> me before.
> no xstartup config is working in this.
>
> any suggestion would be highly appreciated.
>
>
> #!/bin/sh
> # Uncomment the following two lines for normal desktop:
>
> #unset SESSION_MANAGER
> #unset DBUS_SESSION_BUS_ADDRESS
>
> # exec /etc/X11/xinit/xinitrc
>
>
> [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
> [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
>
> xsetroot -solid grey
> vncconfig -iconic &
>
> #x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP
> Desktop" &
> #gnome-session &
>
> gnome-session --session=gnome-classic &
>
>
>
>
>
>
>
>
>
>
> Thanks,
> Yousuf
>