LinuxQuestions.org
Review your favorite Linux distribution.
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 07-29-2004, 09:22 PM   #1
woranl
Member
 
Registered: Apr 2003
Location: Toronto
Distribution: Fedora Core
Posts: 119

Rep: Reputation: 15
VNC and rc.local


Hi,

Currently whenever I want to VNC into my Fedora box, I frist SSH in and type
vncserver :25 -name MyLinux -geometry 800x600
and then I open the VNC client and VNC in.


But I don't want to SSH in anymore... so I was thinking of putting a line like this in my /etc/rc.local file

vncserver :25 -name MyLinux -geometry 800x60

also, i opened up and forward port 5925 to my Fedora

but it doesn't work... so what should I put in the startup script ?
 
Old 07-30-2004, 05:57 PM   #2
woranl
Member
 
Registered: Apr 2003
Location: Toronto
Distribution: Fedora Core
Posts: 119

Original Poster
Rep: Reputation: 15
hello !! anyone know? ? ?
 
Old 08-09-2004, 11:43 AM   #3
namgor
LQ Newbie
 
Registered: Jun 2004
Posts: 28

Rep: Reputation: 15
adding to rc.local ? try this

/bin/su -l root -c "/usr/bin/vncserver :25" &
 
  


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
Setup local machine to allow lan machines to retrieve its local user mail. Brian1 Linux - Networking 3 03-30-2006 05:04 AM
Local webserver -- How to deny all client install their local web server--Please help b:z Linux - Networking 13 04-16-2005 07:11 PM
run vnc-server as other user in rc.local jvdbossc Linux - Newbie 2 05-26-2004 02:10 AM
Cannot resolve local addresses on local network danielgrenyer Linux - Networking 6 01-14-2004 11:03 AM
VNC - Selecting different WindowManagers with VNC cmfarley19 Linux - Software 0 04-16-2003 02:30 PM

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

All times are GMT -5. The time now is 02:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration