LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-21-2006, 10:07 PM   #1
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,189

Rep: Reputation: 60
x11vnc setup


I currently have Xvnc,xserver,vnciewer,vncpasswd(all part of tightvnc). I am trying to setup X11vnc but am trying to understand what is running xllvnc along with the X server process?

Quote:
The x11vnc process needs to be run on the same machine the X server process is running on (otherwise things would be extremely slow). - www.karlrunge.com/xllvnc
what does that mean? Should I first uninstall all of those programs and then install X11VNC from scratch and then just then use vncviewer to access from a remote location?

Last edited by metallica1973; 07-21-2006 at 10:09 PM.
 
Old 07-21-2006, 10:22 PM   #2
chrisortiz
Member
 
Registered: Nov 2005
Distribution: Slackware, and of course the super delux uber knoppix universal live recovery cd
Posts: 429

Rep: Reputation: 30
Quote:
Should I first uninstall all of those programs
uninstall what programs?
 
Old 07-21-2006, 10:26 PM   #3
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,189

Original Poster
Rep: Reputation: 60
what i meant was to uninstall XVNC and XSERVER and then install X11vnc and etc..?
 
Old 07-22-2006, 06:45 AM   #4
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.2
Posts: 1,123

Rep: Reputation: 262Reputation: 262Reputation: 262
From my past experience with x11vnc (I'm not currently in a position where I need the program, but I'm expecting that I may shortly....), I didn't have to uninstall any of the other vnc-related software to get it working.

That being said, iirc, the only other vnc-related sw i had at the time was vino; tightvnc may have already been removed, as my goal was to rc a real x session, which i believe is what you are trying to accomplish.

what particular issues are you having with x11vnc?

cheers,
 
Old 07-22-2006, 08:23 AM   #5
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,882

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
ok very simple:

1. touch the system that you want to gain remote access to.
2. open up a terminal INSIDE the GUI.
3. type x11vnc, or x11vnc -many
3a. the -many alows you to connect as many times as you want without having to touch the x11vnc server every time you disconnect.
4. do not removed xserver, this is required in order to have a GUI.
5. from your remote computers you can use what ever vnc type client to access the system with the x11vnc server running.

enjoy and good luck.
 
Old 07-22-2006, 09:57 AM   #6
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,189

Original Poster
Rep: Reputation: 60
Quote:
4. do not removed xserver, this is required in order to have a GUI.
When you say do not remove the X server you mean dont remove Xvnc correct?

Do I have to do anything with Xvnc?

The only way I can get it to partly work is to:

Xvnc :0

then

x11vnc -display :0 -auth /home/dabeast/.Xauthority

then all i get is a brown screen with just partial of my apps running. i do not see the whole screen. When I removed Xvnc and tried to run X11vnc I get an error message.What steps do I need to take to get this running. The how to is terrible.
 
Old 07-22-2006, 02:39 PM   #7
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,882

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
xserver is NOT xvnc. xserver is a background manager for your GUI, KDE, Gnome, etc...

when i say do not remove xserver i mean do not remove xserver unless you do not want to run a GUI. if that is the case, then there is no need to have vnc you can just use ssh.

you should not have to give any arguements for x11vnc to work other then many.

you do not need anything but x11vnc to display the local desktop, and as stated above it must be started from the local system you are going to give remote access to and it must be done from within the GUI.

now if you just want a vnc connection, then vncserver will work fine with no other fuss.
 
Old 07-22-2006, 09:36 PM   #8
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,189

Original Poster
Rep: Reputation: 60
Ok I understand somewhat now. xvnc is just part of tightvnc and it can be removed. I just need to install X11vnc and just make sure that Xserver is running or a gui and then it should work.

Last edited by metallica1973; 07-22-2006 at 09:43 PM.
 
Old 07-22-2006, 10:20 PM   #9
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,189

Original Poster
Rep: Reputation: 60
Gentlemen,

I got it work using your advice. Here is what I did to get it to work for future readers:

1 - I removed the tightvnc package(Xvnc,vncsever,vncviewer and etc)

2 - I installed x11vnc and download it from karlrunge.com

3 - I created a password with the command

x11vnc -storepasswd

4 - Then I ran

x11vnc -rfbauth /home/dabeast/.vnc/passwd -many

(this mean use the password file that was created and to allow unlimited reconnection)

5 - I finally tested it with a remote machine using

vncviewer XXX.XXX.XXX.XXX

and BADABING BADABOOM

6 - The whole entire time I thought that the tightvnc package along with similiar packages would allow you to connect to a live session and that is not the case. These packages will allow you to connect to a remote machine but as a new session and not the live session that the user of the machine may be using.
 
Old 07-23-2006, 07:23 AM   #10
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.2
Posts: 1,123

Rep: Reputation: 262Reputation: 262Reputation: 262
congrats on your success - sorry i couldn't have been of more help in the first place, but i'm currently not in a position where i could troubleshoot for you properly.

i was in the same boat as you in a previous incarnation. vino should have sufficed, but is hugely lacking in flexibility and configurability. one would also think that the wizards involved with real and tightvnc would be aware that remote connection to a 'real' x desktop is necessary for both support, accessibility and many other reasons.

i stumbled x11vnc in my quest for 'real' access, and am thankful that it's available.

cheers,
 
Old 07-23-2006, 09:45 AM   #11
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,189

Original Poster
Rep: Reputation: 60
mrclisdue,

I really appreciate your help and you are 100% right why wouldnt realvnc or tightvnc see the entire picture! And here I am thinking that it was a command option in the xstartup file of the .vnc directory. One more question:

why does this work with a windows XP or windows 2000 machine. with w2k I just use realvnc with it and it works fine with a real session along with XP at my work.

Last edited by metallica1973; 07-23-2006 at 09:46 AM.
 
Old 07-23-2006, 12:12 PM   #12
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,882

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
here is why:

MS OSs only have 1 GUI, they only have 1 option to work on at one time, so when you connect via VNC to a MS computer you are getting the ENTIRE computer at 1 time.

Linux on the other hand is not limited in that as you have by default 7 terminals, each one is capable of running xwindow. tightvnc, realvnc both take advantage of this in Linux and CREATE their OWN x-seassion(sp?).

p.s. glad you got it to work.

x11vnc works like VNC on Windows. so depending on what you want to accomplish Linux with vnc gives you FAR more options as with everything then Windows does.
 
Old 07-24-2006, 12:14 PM   #13
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,189

Original Poster
Rep: Reputation: 60
It works fine but I had one more question that is killing me. I had this happen before. I can get to any remote machine using vncviewer just fine from one of my servers that is my proxy/dansguardian content filtering machine which is on a 192.168.3.0/28 network. when I jump to any machine that is located on my 192.168.4.0/28 network I can connect to the remote machine, put in my password and then all I get is a black screen. I have tried this on several different machines so I know it has to do with my 192.168.4.0/28 network that is connected to my proxy/dansguardian machine. I have this problem before and I dont rememeber to well but I think it was a firewall rule that was doing this but that was along time ago. help?

Last edited by metallica1973; 07-24-2006 at 12:15 PM.
 
  


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
Trying to use x11vnc? Snump Mandriva 12 04-12-2006 02:57 AM
x11vnc In firefox. Radical_Dreamer Linux - Software 3 08-31-2005 03:13 PM
x11vnc through putty? nicedreams Linux - Software 1 06-04-2005 04:37 AM
x11vnc persistant? Lleb_KCir Linux - Software 11 01-14-2005 11:07 PM
x11vnc + gnome Fuwex Linux - Software 0 09-27-2004 09:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:01 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
Open Source Consulting | Domain Registration