Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-11-2003, 03:17 PM   #1
Registered: Nov 2003
Posts: 45

Rep: Reputation: 15
Unhappy How do i Run vnc on my linux box?

I am trying to run vnc on my RH9 box, how do i set it up? Where do i go to run vnc? THanks,
Old 11-12-2003, 01:03 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Once you have it installed you need to run:

Then connect to your server using:

Last edited by david_ross; 11-12-2003 at 01:04 PM.
Old 11-13-2003, 02:33 PM   #3
Patrick Bulteel
Registered: Nov 2003
Location: United Kingdom
Distribution: Mandrake, RedHat, Suse, Ubuntu, Debian
Posts: 37

Rep: Reputation: 15
Two ways you can set it up. run the VNCserver by typing vncserver. This will read a config file in your $HOME/.vnc directory. Notice it's a hidden directory so to see it use ls -a.

The other way is using init or xinit and set it up to respond when someone connects. This is much harder to setup and isn't really worth the hassle if you're the only one connecting to that machine.
Old 11-14-2003, 10:01 AM   #4
Registered: Nov 2003
Posts: 45

Original Poster
Rep: Reputation: 15
Guys, i figured it out...I ran vncserver :5900 on my linux box and it set the port....thanks all of you...
Old 11-14-2003, 04:52 PM   #5
Registered: Feb 2003
Location: Atlanta, GA
Distribution: RHAS 2.1, RHEL3, RHEL4, SLES 8.3, SLES 9, SLES9_64, SuSE 9.3 Pro, Ubuntu, Gentoo
Posts: 335

Rep: Reputation: 32
You can run vncserver :1

The number after the colon is a session, not a port...


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
VNC from a Windows box to Linux abneru SUSE / openSUSE 18 07-08-2005 09:59 PM
Using WinXP to remotely control Linux box RDP? VNC? Fisslefink Linux - Networking 4 03-14-2005 12:38 AM
vnc to linux box from windows N_A_J_M Linux - General 6 10-03-2004 11:36 PM
Linux box calling a batch script on a windows box to run? Is it possible? joelhop Programming 8 05-17-2004 04:49 PM
Sending CTRL-ALT-DEL to a Windows 2000 box using VNC from Linux scottpioso Linux - Newbie 1 03-04-2003 03:27 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:09 PM.

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