LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   vnc desktop question/help needed (https://www.linuxquestions.org/questions/linux-general-1/vnc-desktop-question-help-needed-822292/)

fedora.linux.64 07-26-2010 03:21 PM

vnc desktop question/help needed
 
hello I have fedora 13 64bit installed on the box I want to connect with vnc, I have tigervnc & tigervnc-server installed.
As my user I run:
vncserver
then I can connect to that box using: 192.168.1.2:1 but it is a different desktop?
how can I use vnc to control my user's desktop?
thanks

vipul_patel 07-27-2010 06:19 AM

Dear User,

I have running fedora 8 and my vncserver setup step by step as under. Working perfectly.


Procedure: [ We used Realvnc ]

# VNC server installation.


Go to root and install

rpm -ivh vnc-server-4.1.2-23.fc8.i386.rpm

Now from logout root and run vncserver :1 from user

then change in two files .

From user kedit /home/user/.vnc/xstartup

# 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 &
startkde &


change above highlighted lines as usual like this.

Now from root change in

/etc/sysconfing/vncservers file

VNCSERVERS="user:1"
VNCSERVERARGS[1]="-geometry 1024x768 -depth 16"


change above highlighted lines as usual like this.

Now from startup going to settings/desktop sharing

access option tick in

X allow uninvited connection
X Announce service on the network
blank
X allow uninvited connection to control the desktop

save it.

Now from root run

/sbin/chkconfing vncserver –level 2345 on

and restart service /sbin/service vncserver restart


All times are GMT -5. The time now is 03:52 AM.