LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   VNC and rc.local (https://www.linuxquestions.org/questions/linux-networking-3/vnc-and-rc-local-211268/)

woranl 07-29-2004 09:22 PM

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 ?

woranl 07-30-2004 05:57 PM

hello !! anyone know? ? ?
:confused:

namgor 08-09-2004 11:43 AM

adding to rc.local ? try this

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


All times are GMT -5. The time now is 02:02 AM.