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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-23-2009, 03:49 AM
|
#1
|
Member
Registered: Jul 2009
Posts: 31
Rep:
|
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
|
|
|
07-23-2009, 04:03 AM
|
#2
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
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
|
|
|
07-23-2009, 07:20 AM
|
#3
|
Member
Registered: Jul 2009
Posts: 31
Original Poster
Rep:
|
Dear EricTRA,
Thanks, for help, now GUI of my fedora system is accessible through a windows machine, again thanks, for help.
Regards,
Akram.
|
|
|
07-23-2009, 07:29 AM
|
#4
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
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
|
|
|
All times are GMT -5. The time now is 05:21 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|