LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-20-2006, 06:01 AM   #1
sachinh
Member
 
Registered: Jul 2004
Location: india
Distribution: RH
Posts: 189

Rep: Reputation: 30
Access Linux Machine GUI from Win XP


Hi All ,
First of all , let me tell u that I am very well aware of the fact that questions similar to this one are already been asked/answered in this forum . But still I feel the need to ask this again becuze I simply couldnt uderstand how to go abt it .

I want to connect to my Linux Machine from my WIN XP on a same LAN . I know the tools to be used are TightVNC or RealVNC ...But Heyyyy please tell what all packages to be installed and where ?? I mean I have already downloaded vnc_server package as well as vnc_viewer package.But where am i suppose to install both of these packages . Also I guess to transfer GUI from LInux u got to change some of the configuration files.So plz do write that too.
So all in all I would like to know the steps to not just configure but also to run Remote access successfully .
Its my sincere request to u all GURUS.
Thanx in advance.
 
Old 05-20-2006, 07:38 AM   #2
coolb
Member
 
Registered: Apr 2006
Location: Cape Town, South Africa
Distribution: Gentoo 2006.1(2.6.17-gentoo-r7)
Posts: 222

Rep: Reputation: 30
Quote:
Originally Posted by sachinh
Hi All ,
First of all , let me tell u that I am very well aware of the fact that questions similar to this one are already been asked/answered in this forum . But still I feel the need to ask this again becuze I simply couldnt uderstand how to go abt it .

I want to connect to my Linux Machine from my WIN XP on a same LAN . I know the tools to be used are TightVNC or RealVNC ...But Heyyyy please tell what all packages to be installed and where ?? I mean I have already downloaded vnc_server package as well as vnc_viewer package.But where am i suppose to install both of these packages . Also I guess to transfer GUI from LInux u got to change some of the configuration files.So plz do write that too.
So all in all I would like to know the steps to not just configure but also to run Remote access successfully .
Its my sincere request to u all GURUS.
Thanx in advance.
check this one http://www.karlrunge.com/x11vnc/
 
Old 05-20-2006, 09:44 AM   #3
zaphod_es
Member
 
Registered: Jun 2003
Location: Brazil
Distribution: Ubuntu
Posts: 137

Rep: Reputation: 15
Take a look at the wiki. http://wiki.linuxquestions.org/wiki/Vnc it gives a good description. And if you find it is not clear enough for a beginner you can always edit it

ZB
 
Old 05-22-2006, 01:27 AM   #4
sachinh
Member
 
Registered: Jul 2004
Location: india
Distribution: RH
Posts: 189

Original Poster
Rep: Reputation: 30
Thanks u Guys ,

I tried RealVNC ...it worked from WIN XP . When I used VNCViewer i gave command as HOST : Server IP:0 ....And when it connected , showed me XTERM window . Ok so far . But what I'm actually looking at is I want to connect to GNOME or KDE Desktop which is already running on to my Server . Is it possible ?? Thats why I meant when I said X Window. Plz assist.Thanks.
 
Old 05-27-2006, 03:31 PM   #5
DrEwMoNeY
Member
 
Registered: Jan 2006
Location: Vulcan
Distribution: *buntu - Slackware - Anything on USB
Posts: 254

Rep: Reputation: 30
I would go with the x11vnc suggestion above.

I run TightVNC from XP and x11vnc from linux. X11vnc is easily configured by:

x11vnc -storepasswd "yourpassword" /pathtopasswordfile/passwordfile

x11vnc -rfbauth /pathtopasswordfile/passwordfile -forever


The key here is using the -forever parameter to cause the vncserver to continue to listen. It only listens once and then disconnects by default.
 
Old 05-27-2006, 05:57 PM   #6
javaroast
Member
 
Registered: Apr 2005
Posts: 131

Rep: Reputation: 19
In the .vnc folder under the home directory of the user you are connecting as you will need to change the xstartup file to something like this:

unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
exec gnome-session &

This will give you a gnome connection. For KDE you will need to exec a KDE session and you should be able to find the correct settings by googling.

I have to put in a plug for NXServer and FreeNX. The speed of the connection is fantastic and it has built in security. I've been using it with great results on some Fedora and Centos boxes. Here's the link to get you started.

http://freenx.berlios.de/
 
Old 05-27-2006, 09:19 PM   #7
spiralclimbing
LQ Newbie
 
Registered: May 2006
Posts: 8

Rep: Reputation: 0
Take a look at Windows Services for Unix (SFU). Google "microsoft sfu".
 
Old 06-06-2006, 08:47 AM   #8
JMCraig
Member
 
Registered: Feb 2003
Location: Utah, USA
Distribution: Red Hat EL/CentOS, Ubuntu/Debian
Posts: 113

Rep: Reputation: 15
Another option entirely

Hi,

I've successfully used the commercial WinAxe+ package (you might not need the security of the SSH tunneling if you're working on a LAN which means you can opt for the less expensive non-plus package)--you're close enough to getting VNC stuff working that you probably don't actually want to change horses in mid stream (I wouldn't recommend it), but this is another option for others who might read this post. Here's the link:

http://www.labf.com/

One thing about X-Windows that takes some getting used to is the terminology: the remote piece is called the "server" (the program itself, running on the box you'd be inclined to call the server, is the "client"). That is, the program uses the X-Server's services to display stuff on the screen, read mouse clicks, and so on--which is somewhat backwards from how many people would think of it. Hence, if you go to the link above, you're looking for a Windows version of an X Server.

Labf's package has some disadvantages: it's not free (but it's modestly priced); it doesn't work terribly well over a lower bandwidth connection (it can be slow--the protocol is clearly complex and if you add the SSH overhead, it can be a bit painful); and initial setup isn't entirely simple. That said, it is ideal if you need to connect and not worry about what may be running on the local console and just get a fresh desktop. Because the programs are clients of the services running on your PC, when you disconnect, those programs terminate. Again, this isn't always ideal, but depending upon circumstances can be a simplification, actually.

Best of luck!

John
 
  


Reply



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
Remote GUI access on Linux to Linux Machine alirana Linux - Networking 3 02-21-2006 09:31 PM
Recommendation for win xp software to access and transfer files to Redhat 4 pref gui jalluttar Linux - Software 1 11-29-2005 10:28 PM
how to access internet from a linux machine via a linux machine as gateway b0nd Linux - Newbie 5 03-21-2005 11:59 AM
Unable to access hotmail on win machine with linux server wonderboy1999 Mandriva 4 06-26-2004 08:26 PM
Remote GUI access to Fedora Server from Windows machine astitva Linux - Software 1 04-04-2004 02:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:41 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