LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 09-10-2005, 07:31 AM   #1
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Rep: Reputation: 30
start vncserver.


mandriva10.0


i have to run the command everytime ..#vncserver.
to on the display at localhost:1

i want to exec command xserver when the computer starts.

[staff@localhost staff]$ vncserver

Warning: localhost:1 is taken because of /tmp/.X1-lock
Remove this file if there is no X server localhost:1

Warning: localhost:2 is taken because of /tmp/.X2-lock
Remove this file if there is no X server localhost:2

New 'X' desktop is localhost:7

Starting applications specified in /home/staff/.vnc/xstartup
Log file is /home/staff/.vnc/localhost:7.log

[staff@localhost staff]$
 
Old 09-10-2005, 01:21 PM   #2
Walman
Member
 
Registered: Jun 2004
Location: Venezuela
Distribution: RHEL ,Centos,Debian,Slax , Solaris
Posts: 94

Rep: Reputation: 15
Hi


Once you start the X server , you don't need to restart it again . When it starts it creates a
xstartup file , /tmp/x-lock file and a passwd file . If you want to use the same terminal everytime you start your machine , before you shut down you must remove the lock files associated with that terminal ( in your case :1 ) and kill the vnc server so that when you restart your machine it can find the screen :1 is not being used and create it
 
  


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
Howto start VNCServer before LogIn? florian_mrt Linux - Networking 24 09-13-2005 02:42 PM
Robust vncserver startup file (rc.vncserver) arobinson74 Slackware 4 05-14-2005 06:33 AM
how to start the vncserver ust Linux - Software 1 05-11-2005 03:23 AM
vncserver won't start from rc.local GD_19 Linux - Software 5 03-13-2004 01:27 AM
Slackware vncserver start/boot script luegner Slackware 1 03-12-2004 10:02 PM

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

All times are GMT -5. The time now is 04:46 PM.

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