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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-02-2005, 01:25 AM
|
#1
|
Member
Registered: Nov 2004
Location: Noreg
Distribution: ubuntu
Posts: 107
Rep:
|
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.
|
|
|
11-02-2005, 01:32 AM
|
#2
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
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
|
|
|
11-02-2005, 01:36 AM
|
#3
|
Member
Registered: Nov 2004
Location: Noreg
Distribution: ubuntu
Posts: 107
Original Poster
Rep:
|
thanks tinkster, i'll try installing x11vnc on my fedora to see if that works. super quick reply, thank you very much!
|
|
|
11-03-2005, 04:37 AM
|
#4
|
Member
Registered: Nov 2004
Location: Noreg
Distribution: ubuntu
Posts: 107
Original Poster
Rep:
|
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?
|
|
|
11-03-2005, 06:57 PM
|
#5
|
LQ Newbie
Registered: Nov 2005
Location: Illinois
Posts: 1
Rep:
|
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
|
|
|
11-04-2005, 12:57 AM
|
#6
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
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
|
|
|
11-04-2005, 04:10 AM
|
#7
|
Member
Registered: Nov 2004
Location: Noreg
Distribution: ubuntu
Posts: 107
Original Poster
Rep:
|
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.
|
|
|
11-04-2005, 04:33 AM
|
#8
|
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,223
|
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.
|
|
|
11-04-2005, 06:02 AM
|
#9
|
Member
Registered: Nov 2004
Location: Noreg
Distribution: ubuntu
Posts: 107
Original Poster
Rep:
|
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 
|
|
|
11-04-2005, 06:19 AM
|
#10
|
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,223
|
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.
|
|
|
11-04-2005, 06:48 AM
|
#11
|
Member
Registered: Nov 2004
Location: Noreg
Distribution: ubuntu
Posts: 107
Original Poster
Rep:
|
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?
|
|
|
11-04-2005, 07:10 AM
|
#12
|
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,223
|
To do this you must run x11vnc on the server. Read carefully the instructions to set it up the way you want.
|
|
|
11-04-2005, 09:11 AM
|
#13
|
Member
Registered: Nov 2004
Location: Noreg
Distribution: ubuntu
Posts: 107
Original Poster
Rep:
|
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:
(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.
|
|
|
10-27-2006, 03:58 AM
|
#14
|
Member
Registered: Nov 2004
Location: Noreg
Distribution: ubuntu
Posts: 107
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 03:18 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|