LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-04-2005, 02:42 PM   #1
mteixeira
LQ Newbie
 
Registered: May 2005
Posts: 3

Rep: Reputation: 0
VNC server available without log on


Hi,

I would like to know if it is possible to use VNC server using the desktop i can see in a monitor connected to the box directly (just like a VNC Server for windows will do)

Is it possible in Linux ?

(of course beeing able to have multiple sessions is great and is enough as i believe all funcitonalities are present on any VNC session)

Another problem i have is this:
after rebooting the server i don't have access to VNC again

i have to go to the console, log on as root and type vncserver so it creates a new session
However i have xvnc in services list checked at runlevel5
should it also be checked at runlevel4 ?



how can i make vnc available before logging on?

Thanks
 
Old 11-04-2005, 03:30 PM   #2
Back_to_Linux
Member
 
Registered: Sep 2005
Location: PARIS
Distribution: Mandriva 10.0 Communoty
Posts: 117

Rep: Reputation: 15
hello,
read more carrefullty the documentation and the man page, it's very clear and what you want is very basic.
in the man page of Xvnc (it's the true programmewhich is launched by vncserver), you can see that Xvnc can be launched by inetd at the startup like a service. This can perform a server wake up on demand.
In all case, you don't need to be root to launch it. vncviewer connect to the vncserver at the port that the user launched. The GUI you obtain is the GUI that the user use normally or you can configure the xstartup file in the $HOME/.vnc directory to launch the window manager you had installed on the box.
In the case you use the browser, all the user connect at the same port share (if it's enable in vncserver config) the desktop.
if you launch vncserver on many screen, they are available by browser at http://yourserver:58xx. xx means the screen where vncserver run : 00 for screen :0, 01 for screen :1, and so on.
 
Old 11-08-2005, 11:54 AM   #3
mteixeira
LQ Newbie
 
Registered: May 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for your reply,

So VNC for linux is similiar to windows Terminal Services. VNC server for windows just allows control of the GUI, in linux it spawns a new session. Correct?

i will be trying this
 
Old 11-08-2005, 03:36 PM   #4
Nawar
Member
 
Registered: Nov 2005
Location: Midwest America
Distribution: SuSE, RedHat
Posts: 39

Rep: Reputation: 15
Your statement regarding VNC spawning a new gui session per VNC session is essentially correct.

You may also have to configure exactly what X routines you'd like your VNC session to run when spawned.
 
  


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
How to log conversation between server in /var/log/messages? juris Linux - Software 1 11-23-2004 10:54 AM
VNC server Swift&Smart Linux - Software 0 07-01-2004 12:52 AM
VNC - can log in but get empty X screen davedenis Linux - Software 7 03-01-2004 05:59 PM
VNC server Kocil Mandriva 2 08-22-2003 08:25 AM
VNC : can log in but i dont have a Gnome GUI jasoncngo Linux - Software 5 03-20-2003 06:29 PM


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