Linux-Noob Forums

Full Version: Fedora 6 VNC server woes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

If anybody can help me with this situation:

 

I recently downloaded fedora core 6 and installed and did full updates to the system.

I usually use ultravnc via windows xp but when i tried to configure the default vnc that comes with fedora 6

i couldnt get it to work. In the terminal i tyoe in vncserver and it prompts me for a password twice. after confirmation i try

to connect to the linuz box via xp but i get only a terminal window upon conerction. I would like to see the Monitor screen

however i see realy basic terminal prompt

this the first time Using Linux i already looked in the forum topic,ut none of the posts helped me.

I triewd installing tightvnc and realvnc but neither would install due to a dependency error, missing xfree86.

Please help me set this up so i can remotel login to my linux box.


in your /home/user/ folder

 

check for a hidden file called .vnc

 

in it it may look like

 



Code:
#!/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 &




 

if you see the last line in my sample, i have a # infront of the twm

 

your's probably doesnt

 

put a # infront of twm and save the file then try to reconnect to your vncserver

 

you will probably need to kill vncserver and restart it to do this

 

some more info here > [/url][url=http://www.linuxforums.org/forum/linux-tut...-rpm-linux.html]http://www.linuxforums.org/forum/linux-tut...-rpm-linux.html

 

 

 

let us know if that helps

 

cheers

anyweb


Hi,

 

You should have a directory .vnc in your home directory, in a terminal change into this directory and you should

see a file called xstartup

 



Code:
#!/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 &




 

The above was just taken off anywebs post :)anyways were the #twm& is you can replace that with either

 

gnome-session&

 

or

 

startkde&

 

There pretty self explanatory. Once you have done this modification restart the vncserver.