LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-23-2009, 03:49 AM   #1
akram
Member
 
Registered: Jul 2009
Posts: 31

Rep: Reputation: 15
How to configure VNCserver for accessing linux machine in windows system


Dear All

I have a installed fedora 8 in my system, and want access my linux desktop in windows xp machine through a vncserver, I have installed vncserver, when I executed the vncserver in gnome terminal, it gives me the

New 'localhost.localdomain:2 (akram)' desktop is localhost.localdomain:2

in my windows xp machine when I try to access my linux GUI session, its only gives me the terminal screen session

when I restart my vncserver service, it gives me the error message that"display is not configured".

I also edit my xstartup file using
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & gnome-session &

but still the problem is same, plz guide me how to configure the vncserver for access full interactive gnome desktop session.


Thanks in Advanced

Regards,

Akram
 
Old 07-23-2009, 04:03 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

In the user's home directory (the user you are using to connect to vncserver) there should be a directory .vnc with an xstartup file in it.

Put the following in that file and it should do the trick:
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" &
startx &
The last line tells the terminal to which you are connecting to launch startx and you'll get your GUI.

Kind regards,

Eric
 
Old 07-23-2009, 07:20 AM   #3
akram
Member
 
Registered: Jul 2009
Posts: 31

Original Poster
Rep: Reputation: 15
Dear EricTRA,

Thanks, for help, now GUI of my fedora system is accessible through a windows machine, again thanks, for help.


Regards,

Akram.
 
Old 07-23-2009, 07:29 AM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
No problem Akram. I'm glad I'm able to help someone since I myself have received help on various occasions. Just keeping the 'chain' of help going where I can.

Kind regards,

Eric
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to accessing windows share folder from Linux Machine imughal Linux - Newbie 1 02-29-2008 02:49 AM
Accessing a linux drive on a windows machine? patfogle Linux - Newbie 6 01-21-2005 03:09 AM
accessing windows drive from remote linux machine ragchan Mandriva 6 12-14-2004 10:10 PM
Accessing a printer on a windows XP machine from my Linux box drebbin Linux - Newbie 2 09-20-2004 03:39 PM
Accessing linux server from windows machine Saffsd Linux - Newbie 9 01-21-2004 10:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration