LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-29-2004, 12:18 AM   #1
FaeDine
LQ Newbie
 
Registered: Jul 2004
Location: Moncton, NB, Canada
Distribution: Redhat 9.0
Posts: 6

Rep: Reputation: 0
Question Connect to Redhat 9.0 from Windows XP


Hey, I really hate to sound like a n00b to Linux here, but I am so there's no way around that, heh :P

Anyways, what I'm trying to do is connect to a machine with Red Hat 9.0 on it from my Windows XP machine, similar in a way that Remote Desktop or VNC work.

I did a quick search of the forums, and didn't' find the exact answer I was looking for. I looked into rdesktop (rdesktop.org) but their site seemed to be down. And I got a copy off of sourceforge.net but it was just a buncha *.c files which I really don't know how to go about compiling, heh... Also, a lot of people seem to wonder about sound issues which isn't a problem in my case.

What I'm asking I guess is the best program to go about doing this, and ideally how to set it up. Any feedback is muchly appreciated ^_^

(Sorry if this has been asked before, if so, could someone kindly direct me to that thread? ^_^ Thanks in advance.)
 
Old 07-29-2004, 12:31 AM   #2
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
if you are wanting to controll your RH box in a GUI, then you will need to run VNC server on the RH box, and run the vnc app on your XP box.

if you are wanting to gain access to your RH box in the CLI (command line interface) then you can just use putty and ssh over. for file sharing between XP and RH you can use winSCP and use sFTP. the gui interface of the winSCP is very simular to cuteFTP.
 
Old 07-29-2004, 12:57 AM   #3
FaeDine
LQ Newbie
 
Registered: Jul 2004
Location: Moncton, NB, Canada
Distribution: Redhat 9.0
Posts: 6

Original Poster
Rep: Reputation: 0
Alright, I installed VNC (well, ran the .rpm file, seemed to install it)... But, I can't seem to figure out how to run the program :P

It's not in the menu or anything, and I can't seem to find out where it's installed to or anything (did a search for VNC)... I really hate to ask such mundane questions here, but I genuinely have no idea, and don't feel like sifting through a huge manual for the answers when it's so easy to just ask.

Sorry, I'm just *REALLY* new to Linux, been usign Windows my whole life, not used to these subtle differences :P
 
Old 07-29-2004, 01:46 AM   #4
xedios
Member
 
Registered: May 2004
Location: SLO
Distribution: RH9
Posts: 70

Rep: Reputation: 15
use

# vncserver

then you wil bi asked for a password when you set it, you ar ready to conect to linux box


on win do that

run vncviewer

enter hostname:display

ig: if you linux is " linuxbox"

then linuxbox:1

by
 
Old 07-29-2004, 01:59 AM   #5
FaeDine
LQ Newbie
 
Registered: Jul 2004
Location: Moncton, NB, Canada
Distribution: Redhat 9.0
Posts: 6

Original Poster
Rep: Reputation: 0
Sorry Xedios, I didn't know what you meant there... If that was about configuring VNC (which I *THINK* it was), I have no problem doign that. I use it right now on an old Win98 machine with no monitor :P

What I was wondering was actually HOW to START the program in Redhat. Once I get the VNC Server program running I'm sure I can set it up no problem. The program doesn't appear to be in the Main Menu or anything, and when I go to 'Run Program...' I've typed in 'vnc', 'vncserver', 'vnc-server', and a few other variations.. I just dunno how to start the bloody app, lol.

Edit: Oh, and if there's some sort of way to Auto-Start it (like the Windows 'StartUp' folder), it'd be good to know ^_^

Last edited by FaeDine; 07-29-2004 at 02:01 AM.
 
Old 07-29-2004, 12:08 PM   #6
xedios
Member
 
Registered: May 2004
Location: SLO
Distribution: RH9
Posts: 70

Rep: Reputation: 15
Ok!

step by step!

1 . download rpm package from vnc site
2. instal it with rpm
3. open a console program like ( xterm )
4. run command vncserver
you will bi asked for password ( like wondows server pasword )
5. go to jour win box and run vncviewer
6 tjpe in machinename:displaj -- machinename is the name of linux box; displaj name is the name of the displaj, the vnc server will tel you whitch it is!
7. tjape the password an have phun!

example
-----------------------------------------
#vncserver

You will require a password to access your desktops.

Password:
Verify:

New 'your computername:1 (root)' desktop is your computername:1

Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/linpre.bilaz:1.log

to end vnc service
# vncserver -kill :1
Killing Xvnc process ID 3920
#

Last edited by xedios; 07-29-2004 at 12:17 PM.
 
Old 07-29-2004, 01:47 PM   #7
FaeDine
LQ Newbie
 
Registered: Jul 2004
Location: Moncton, NB, Canada
Distribution: Redhat 9.0
Posts: 6

Original Poster
Rep: Reputation: 0
Woohoo! Alright, that's where I was confused originally... I didn't know how to get up that command line prompt you mentioned (xterm).

So anyways, I got VNC running, but when I connect, all I get is the command prompt, not the GUI I'm used to see on the machine. Is that normal? Anyway I can get more than the command line?
 
Old 07-29-2004, 02:44 PM   #8
xedios
Member
 
Registered: May 2004
Location: SLO
Distribution: RH9
Posts: 70

Rep: Reputation: 15
yes you can start your default x sessipon

just edit
#vi /root/.vnc/xstartup

original file
------------------------

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

--------------------------

do like this

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

startkde # This will start KDE deskto i hope you use it
--------------------------------
 
  


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
How do i connect my redhat linux9 pc to a windows 2003 server that is also domain trpjagan Linux - Networking 6 10-13-2006 12:22 AM
Samba: can't connect to my local linux machine but can connect to windows. Royle Linux - Networking 3 01-18-2005 05:32 PM
deskject 3820 Printer on Windows machine not able to connect to from linux RedHat 9.0 bmfmyth Linux - Networking 10 07-04-2004 12:06 AM
Is samba required to connect to a Windows Advanced server from RedHat 8.0 server? NemesisStar Linux - Hardware 1 10-20-2003 12:32 AM
Connect Redhat 7.2 to Windows XP Pro RedlineX Linux - Networking 0 09-23-2003 05:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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