LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-02-2005, 01:25 AM   #1
nickleus
Member
 
Registered: Nov 2004
Location: Noreg
Distribution: ubuntu
Posts: 107

Rep: Reputation: 15
vncviewer not viewing kde display


Hi folks, on my red hat 7.2 (192.168.0.112) i have vncserver running on display 8 (not sure if this is right, but i assumed so because when i do ctrl+F8 i come to my kde graphical display). on my fedora core 4 (192.168.0.111) i didn't have vncviewer so i installed the newest version from tightvnc.com, tightvnc-1.2.9-1.i386.rpm.
i don't know what kind of vncserver is running on the red hat machine.
when i run from fedora:
vncviewer 192.168.0.112:8

i come to this wierd display that is not the grahpical kde display on the red hat machine, i only get up a gray screen with one black console window. why can't i see my graphical desktop on the red hat machine?
thanks
Nick

Last edited by nickleus; 11-02-2005 at 01:35 AM.
 
Old 11-02-2005, 01:32 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Tight(Real)VNC != x11vnc ... they actually both don't give
you your actual desktop but that other "thing" that you did
describe. If you want your REAL Desktop you need to install
x11vnc...


Cheers,
Tink
 
Old 11-02-2005, 01:36 AM   #3
nickleus
Member
 
Registered: Nov 2004
Location: Noreg
Distribution: ubuntu
Posts: 107

Original Poster
Rep: Reputation: 15
thanks tinkster, i'll try installing x11vnc on my fedora to see if that works. super quick reply, thank you very much!
 
Old 11-03-2005, 04:37 AM   #4
nickleus
Member
 
Registered: Nov 2004
Location: Noreg
Distribution: ubuntu
Posts: 107

Original Poster
Rep: Reputation: 15
i installed x11vnc on the client (FC4) and it didn't help. i still get the same wierd window with one black floating console window. how do i check the server to see if the vncserver is indeed x11vnc?
 
Old 11-03-2005, 06:57 PM   #5
shankscomp
LQ Newbie
 
Registered: Nov 2005
Location: Illinois
Posts: 1

Rep: Reputation: 0
I too have the same situation. I have Fedora Core 4 installed. I installed the VNC Server that's on the install CD. When I run vncviewer on any remove machine, all I get is the console also. I, however, run GNOME instead of KDE. After reading the above, I too would need to know how to check for x11vnc.

Thanks
 
Old 11-04-2005, 12:57 AM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Quote:
Originally posted by nickleus
i installed x11vnc on the client (FC4) and it didn't help. i still get the same wierd window with one black floating console window. how do i check the server to see if the vncserver is indeed x11vnc?
Checking the names of the running processes?
ps -A aux | grep -i vnc

Plus you'll have to start the x11vncserver from the running
X11 session....



Cheers,
Tink
 
Old 11-04-2005, 04:10 AM   #7
nickleus
Member
 
Registered: Nov 2004
Location: Noreg
Distribution: ubuntu
Posts: 107

Original Poster
Rep: Reputation: 15
Please excuse my ignorance but what do you mean by running it from the X11 session?
Do i log into kde then start some kind of X11 window (which one?) and then in that window start x11vncserver <-- and is the script name x11vncserver or is it just vncserver? Thanks so much for helping me on this, i really want to get it to work

btw, i ran that ps command and i saw that it said Xvnc, so i'm guessing then that x11vncserver is running...?

Last edited by nickleus; 11-04-2005 at 04:11 AM.
 
Old 11-04-2005, 04:33 AM   #8
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,925

Rep: Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327
Here is what I've done to be able to see the CDE session of my Solaris box.
I edit the ~/.vnc/xstartup and add a "Xsession&".
So I guess to be able to use KDE you have to edit that file and add "startkde" or something like that.
 
Old 11-04-2005, 06:02 AM   #9
nickleus
Member
 
Registered: Nov 2004
Location: Noreg
Distribution: ubuntu
Posts: 107

Original Poster
Rep: Reputation: 15
bathory, so let me start from the beginning. i start up my server, i'm in console 1, i log in, i edit the ~/.vnc/xstartup by putting in the following:
Xsession&
startkde

save the file. and then run xstartup instead of the normal startx? and then when i get into kde i run vncserver? then go to my client and run vncviewer?
does that sound right? thanks again for everybody's patience and help
 
Old 11-04-2005, 06:19 AM   #10
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,925

Rep: Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327
You don't need Xsession since it's for CDE. Also you start your xserver as you always do (i.e. through startx). This will make things more clear for you.
 
Old 11-04-2005, 06:48 AM   #11
nickleus
Member
 
Registered: Nov 2004
Location: Noreg
Distribution: ubuntu
Posts: 107

Original Poster
Rep: Reputation: 15
thank you very much bathory! i can see the kde desktop, but it is a completely new session so the windows i have open on my server don't show. how do i actually see through vnc what i can physically see on my server as if i was standing right there?
 
Old 11-04-2005, 07:10 AM   #12
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,925

Rep: Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327
To do this you must run x11vnc on the server. Read carefully the instructions to set it up the way you want.
 
Old 11-04-2005, 09:11 AM   #13
nickleus
Member
 
Registered: Nov 2004
Location: Noreg
Distribution: ubuntu
Posts: 107

Original Poster
Rep: Reputation: 15
thanks so much bathory! you rule =) apparently i hadn't installed x11vnc so i went to that page you gave me, followed the download link, clicked on the recommended link, was redirected to sourceforge.net, i downloaded x11vnc-0.7.2.tar.gz, "./configure"-ed it, "make"-ed it, "make install"-ed it, then ran:
Code:
x11vnc -forever
(you have to use -forever if you don't want x11vnc to close after a viewer closes its connection)

it set the display to 0 as default. on my client i ran the following on the command line:
vncviewer 192.168.0.112:0

and i came right in!!

Nick

Last edited by nickleus; 07-12-2006 at 06:44 AM.
 
Old 10-27-2006, 03:58 AM   #14
nickleus
Member
 
Registered: Nov 2004
Location: Noreg
Distribution: ubuntu
Posts: 107

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by nickleus
i downloaded x11vnc-0.7.2.tar.gz, "./configure"-ed it, "make"-ed it, "make install"-ed it
or just install this rpm:
http://dag.wieers.com/packages/x11vn...h9.rf.i386.rpm
 
  


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
vncviewer ankit_mcgill Linux - Newbie 3 11-11-2005 06:46 PM
Is someone on my network?! ::ffff:192.168.0.10:ssh ::ffff:192.168.0.:38201 ESTABLISHE ming0 Linux - Security 4 04-12-2005 01:04 AM
192.168.2.1 network with 192.168.0.1? Micro420 Linux - Networking 2 02-27-2005 06:59 AM
Iptables is converting -s 192.168.1.0/8 into 192.0.0.0/8 why !? qwijibow Linux - Security 2 01-26-2005 09:57 AM
vncviewer & kde jmarsh Linux - Networking 8 04-29-2004 10:08 AM


All times are GMT -5. The time now is 07:27 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration