LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Trying to get VNC4Server working - Using Debian 8 - Jessie (https://www.linuxquestions.org/questions/linux-newbie-8/trying-to-get-vnc4server-working-using-debian-8-jessie-4175576996/)

baker7 04-08-2016 10:50 AM

Trying to get VNC4Server working - Using Debian 8 - Jessie
 
Hello:

I have been having a HECK of a time trying to get vnc working correctly. I want to use gnome desktop and what happens is I give the vnc4server :<display#> command, then I get a confirmation that a log has been created.

I then try to connect to a display # and what I get is either a black screen with nothing, a grey screen with the menu on the top, but no desktop color, or I get a message about cinnamon crashing, and something about it needing to restart.

I have the following xstartup file:

#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
exec ck-launch-session gnome-session
gnome-session –session=gnome-classic &
gnome-panel&


[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -nowin &
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
gnome-session &
-----------------------------------------------------

It will NOT work correctly: I have been trying EVERYTHING I know, using the internet, and looking at cryptic man pages. can someone PLEASE help me, so I can use vnc to look at my desktop remotely???

I would VERY Much appreciate it - The information on the net is cryptic and not specific......

Brian


All times are GMT -5. The time now is 09:44 PM.