Tom's Guide > Forum > Linux/Free BSD > Linux/Free BSD General Discussion > Need Help setting up vnc4server for 2users pls

Need Help setting up vnc4server for 2users pls

Forum Linux/Free BSD : Linux/Free BSD General Discussion - Need Help setting up vnc4server for 2users pls

TomsGuide.com: Over 800,000 questions and answers to address all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Im hoping you could help me setup vnc4server for 2users. I have setup ubuntu server at home and both me and a friend would like to login remotely, I have only installed vnc4server and tried to setup for both accounts but when I try connect from my notebook, using vncveiwer I get a greyish checkered screen with no desktop, just a small terminal window.

Im not sure were I messed up, and would really appreciate the help..

below is what I have done so far...

#sudo apt-get install ssh


#sudo apt-get install vnc4server

After it is installed you should be logged as normal user and not root.
#vncserver :1 -geometry 1024x768 -depth 16

the I killed the process using
#vncserver -kill :1

(***thats as far as I could get, after that the following command wouldn't work..***)

The configuration is kept in the file /home/userxx/.vnc/xstartup I edited this file so that I can start the server with gnome. My file looks exactly like below.

#!/bin/sh

and I didnt know were to enter the following...

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

gnome-session &

[ -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 &


***I should add Im only new to ubuntu/ linux and have been using it to learn, for the last few month.. All help is greatly appreciated...

Thanks in advance
Husskii

Sponsored Links
Register or log in to remove.

You need to uncomment both lines in /home/user/.vnc/xstartup to get a GNOME session.

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


Good luck :)

------------------------------ $GNU_Linux=$Linus_Torvalds=AWESOME();

Need Linux help? PM me
Reply to linux_0
Tom's Guide > Forum > Linux/Free BSD > Linux/Free BSD General Discussion > Need Help setting up vnc4server for 2users pls
Go to:

There are 15 identified and unidentified users. To see the list of identified users, Click here.

Google ads