LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   VNC session, unable to view graphis (https://www.linuxquestions.org/questions/linux-desktop-74/vnc-session-unable-to-view-graphis-815847/)

use_id 06-23-2010 02:53 AM

VNC session, unable to view graphis
 
Hi,

I am facing issue with VNC which is configured in Mint(Gloria 7). I could configure the VNC accounts and session, but after connecting to the VNC session, I am unable to view anything(graphics, desktop icons).. It just shows only black and gray lines.

Here is the steps which I followed,
installed VNCserevr,
sudo apt-get install vnc4server xinetd

Created user and created vnc session

vncserver :10 -depth 16 -geometry 1024x768

Set the vncpassword using vncpasswd command.

Also modified /home/test/.vnc/xstartup file as follows
#!/bin/sh

# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
#xsetroot -solid grey
vncconfig -iconic &
#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
startx &


Can someone help on this Please

Thanks&Regards

bathory 06-24-2010 12:26 AM

Hi

Delete "startx &" at the last line and use:
Code:

exec gnome-session &
to use the gnome desktop
If you want to use kde instead, replace with "startkde &"

Regards


All times are GMT -5. The time now is 02:50 PM.