Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.networking > #3479 > unrolled thread
| Started by | Paulo da Silva <p_s_d_a_s_i_l_v_a_ns@netcabo.pt> |
|---|---|
| First post | 2015-08-20 19:47 +0100 |
| Last post | 2015-08-23 02:27 +0100 |
| Articles | 8 — 2 participants |
Back to article view | Back to comp.os.linux.networking
Setting up vnc server on kubuntu Paulo da Silva <p_s_d_a_s_i_l_v_a_ns@netcabo.pt> - 2015-08-20 19:47 +0100
Re: Setting up vnc server on kubuntu stepore <linshine@here.now> - 2015-08-20 16:26 -0700
Re: Setting up vnc server on kubuntu Paulo da Silva <p_s_d_a_s_i_l_v_a_ns@netcabo.pt> - 2015-08-21 01:35 +0100
Re: Setting up vnc server on kubuntu stepore <linshine@here.now> - 2015-08-20 20:57 -0700
Re: Setting up vnc server on kubuntu Paulo da Silva <p_s_d_a_s_i_l_v_a_ns@netcabo.pt> - 2015-08-21 23:56 +0100
Re: Setting up vnc server on kubuntu stepore <linshine@here.now> - 2015-08-21 22:28 -0700
Re: Setting up vnc server on kubuntu Paulo da Silva <p_s_d_a_s_i_l_v_a_ns@netcabo.pt> - 2015-08-23 02:21 +0100
Re: Setting up vnc server on kubuntu Paulo da Silva <p_s_d_a_s_i_l_v_a_ns@netcabo.pt> - 2015-08-23 02:27 +0100
| From | Paulo da Silva <p_s_d_a_s_i_l_v_a_ns@netcabo.pt> |
|---|---|
| Date | 2015-08-20 19:47 +0100 |
| Subject | Setting up vnc server on kubuntu |
| Message-ID | <mr57br$53m$1@speranza.aioe.org> |
Hi! It should be easy ... but does not work! The simple question is: How to setup a vnc server on kubuntu to a android client? Now, what I have tried ... 1. Shut down my firewall ... just in case. 2. Started krfb. 3. Started an invited connection which generated a password. 4. Allowed a non invited connection. Both from 3 an 4 I got a message from kde that the connection from a <variable (not 5900)> port was refused. On the android client (I tried 3) the reason for the failure was "null"! The specified port is 5900. 5. I tried vncserver ... 5a. vncserver alone caused a navigation through several trivial questions, including a password, which I answer. vncserver creates a :1 session. Invoking a second time creates a :2. I have nothing at :1 and :2 so I tried vncserver :0 but it claims that there is already a session open there. Was it from krfb? Thanks for any help/comments.
[toc] | [next] | [standalone]
| From | stepore <linshine@here.now> |
|---|---|
| Date | 2015-08-20 16:26 -0700 |
| Message-ID | <mr5nkb$383$2@dont-email.me> |
| In reply to | #3479 |
On 08/20/2015 11:47 AM, Paulo da Silva wrote: > Hi! > > It should be easy ... but does not work! > > The simple question is: > > How to setup a vnc server on kubuntu to a android client? > > Now, what I have tried ... > 1. Shut down my firewall ... just in case. Shut down, how? Make sure you're accepting not dropping packets. > 2. Started krfb. For testing purposes (if not permanently), I wouldn't use krfb or vinagre or whatever built-in VNC server is installed with your Desktop. Try it with x11vnc instead. Make sure to rule out any desktop specific anomalies, and will definitely share :0. Try this: <http://tunebox.net/video/1238918/android-phone-remote-control-my-ubuntu-in-x11vnc-server.html>
[toc] | [prev] | [next] | [standalone]
| From | Paulo da Silva <p_s_d_a_s_i_l_v_a_ns@netcabo.pt> |
|---|---|
| Date | 2015-08-21 01:35 +0100 |
| Message-ID | <mr5rnq$jbq$1@speranza.aioe.org> |
| In reply to | #3480 |
On 21-08-2015 00:26, stepore wrote: > On 08/20/2015 11:47 AM, Paulo da Silva wrote: >> Hi! >> >> It should be easy ... but does not work! >> >> The simple question is: >> >> How to setup a vnc server on kubuntu to a android client? >> >> Now, what I have tried ... >> 1. Shut down my firewall ... just in case. > > Shut down, how? Make sure you're accepting not dropping packets. > I have a script to drop any control of the firewall. No problem for sure here. >> 2. Started krfb. > ... > > Try this: > <http://tunebox.net/video/1238918/android-phone-remote-control-my-ubuntu-in-x11vnc-server.html> After posting i did some more experiments: I have installed tightvncserver Terminating kde and stopping lightdm I was able to kill the vncserver (from krfb) at :0. Then I launched vncserver (=tightvncserver) at :0 and got in the client a X session. But it has no windows manager. Just the ususal X at the center of the screen. I don't know: 1. How to connect to a kde session. 2. How to connect to a specific desktop (Ex. :1). This should be useful because I didn't need to stop the krfb at :0. If I put :1 after the IP address on the client it thinks this is port 1! Even so, if this is possible, I would probably end up with an empty X screen ... BTW, I cannot uninstall krfb because kde network manager depends on it and it has always a vnc session running at :0. Thanks
[toc] | [prev] | [next] | [standalone]
| From | stepore <linshine@here.now> |
|---|---|
| Date | 2015-08-20 20:57 -0700 |
| Message-ID | <mr67fs$6dt$1@dont-email.me> |
| In reply to | #3481 |
On 08/20/2015 05:35 PM, Paulo da Silva wrote: > I have installed tightvncserver Tightvncserver doesn't allow sharing your main X session/display (:0) which is why I suggested x11vnc. > Terminating kde and stopping lightdm I was able to kill the vncserver > (from krfb) at :0. Then I launched vncserver (=tightvncserver) at :0 and > got in the client a X session. But it has no windows manager. Just the > ususal X at the center of the screen. > See above. To get a decent window manager on display :1 with tightvncserver you'll need to hack your ~/.vnc/xstartup file. something like: xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic -nowin & startlxde & (Of course you'll need lxde installed -- so use whatever DE you wish ((google it)) > I don't know: > 1. How to connect to a kde session. I don't use KDE, but in your xstartup, you'll need something like startkde > BTW, I cannot uninstall krfb because kde network manager depends on it Again, I don't use KDE but this makes no sense. No way a network manager depends on a VNC-based desktop sharing tool. I'm not suggesting you uninstall, just turn it off. There must be a setting somewhere. Find it. > and it has always a vnc session running at :0. Turn it off. You have full control of your box.
[toc] | [prev] | [next] | [standalone]
| From | Paulo da Silva <p_s_d_a_s_i_l_v_a_ns@netcabo.pt> |
|---|---|
| Date | 2015-08-21 23:56 +0100 |
| Message-ID | <mr8ab0$is$1@speranza.aioe.org> |
| In reply to | #3482 |
On 21-08-2015 04:57, stepore wrote:
> On 08/20/2015 05:35 PM, Paulo da Silva wrote:
>> I have installed tightvncserver
>
> Tightvncserver doesn't allow sharing your main X session/display (:0)
> which is why I suggested x11vnc.
Ok. As I said, I installed it before reading your post.
>
>
>> BTW, I cannot uninstall krfb because kde network manager depends on it
>
> Again, I don't use KDE but this makes no sense. No way a network manager
> depends on a VNC-based desktop sharing tool. I'm not suggesting you
> uninstall, just turn it off. There must be a setting somewhere. Find it.
But it's true!
# aptitude purge -s krfb
Os seguintes pacotes serão REMOVIDOS:
krfb{p}
0 pacotes actualizados, 0 novos instalados, 1 para serem removidos e 0
não actualizados.
É preciso obter 0 B de ficheiros. Depois de desempacotar, serão
libertados 957 kB.
Os seguintes pacotes têm dependências não satisfeitas:
kdenetwork : Depende: krfb (>= 4:4.11) mas não vai ser instalado.
As seguintes acções irão resolver estas dependências:
Remover os seguintes pacotes:
1) kde-full
2) kdenetwork
Sorry for the portuguese language.
Last 3th line=Remove the following packages.
>
>> and it has always a vnc session running at :0.
>
> Turn it off. You have full control of your box.
krfb is like the dark matter. I only know it exists because kde always
take control of port 5900 and sessions of tightvncserver starts at :1.
Cannot find any way to get rid off it.
Changing to x11vnc everything is working fine except for some color
problems, but I think this has more to do with the client side. Gray,
for example, shows as pink!
At first things looked as not working because x11vnc created a "new"
port 5901 and I was trying to connect to 5900. So the old refuse message
from kde.
Thank you very much for your support an patience.
Paulo da Silva
[toc] | [prev] | [next] | [standalone]
| From | stepore <linshine@here.now> |
|---|---|
| Date | 2015-08-21 22:28 -0700 |
| Message-ID | <mr916p$q0j$1@dont-email.me> |
| In reply to | #3483 |
On 08/21/2015 03:56 PM, Paulo da Silva wrote: > Remover os seguintes pacotes: > 1) kde-full > 2) kdenetwork > > Sorry for the portuguese language. Brazil or Portugal? > Last 3th line=Remove the following packages. That seems crazy to me, mas e o que e ;) But it must be a simple service running that you can simply stop or kill. Is krfb not listed in /etc/init/ or /etc/init.d or running in your task bar? Not sure if this is talking about an older KDE than you have, but apparently you just stop the service, make sure it's not in "auto start applications", log off, then log back in. https://forum.kde.org/viewtopic.php?f=18&t=86352 > Changing to x11vnc everything is working fine except for some color > problems, but I think this has more to do with the client side. Gray, > for example, shows as pink! Find a VNC client that allows you to change compression/quality on connections. That should help with colours. > At first things looked as not working because x11vnc created a "new" > port 5901 and I was trying to connect to 5900. So the old refuse message > from kde. If it's still not well, this is another good guide: http://www.verot.net/xvnc_kde.htm?lang=en-GB
[toc] | [prev] | [next] | [standalone]
| From | Paulo da Silva <p_s_d_a_s_i_l_v_a_ns@netcabo.pt> |
|---|---|
| Date | 2015-08-23 02:21 +0100 |
| Message-ID | <mrb76b$427$1@speranza.aioe.org> |
| In reply to | #3484 |
On 22-08-2015 06:28, stepore wrote: > On 08/21/2015 03:56 PM, Paulo da Silva wrote: > Brazil or Portugal? Portugal. > >> Last 3th line=Remove the following packages. > > That seems crazy to me, mas e o que e ;) Good! :-; > > But it must be a simple service running that you can simply stop or > kill. Is krfb not listed in /etc/init/ or /etc/init.d or running in your > task bar? It is not a service (nothing in /etc). It is not in auto start list. Something in kde (kde network manager?) launches it when kde starts. There are two processes krfb running. I killed them and nothing seems to be happening, but ... I don't know if this is a good idea. After all there must be some reason for KNM needing it. > > Find a VNC client that allows you to change compression/quality on > connections. That should help with colours. > I was using android vnc viewer. Now I changed to bSecure and it seems to work fine. ... > > If it's still not well, this is another good guide: > http://www.verot.net/xvnc_kde.htm?lang=en-GB > Thanks
[toc] | [prev] | [next] | [standalone]
| From | Paulo da Silva <p_s_d_a_s_i_l_v_a_ns@netcabo.pt> |
|---|---|
| Date | 2015-08-23 02:27 +0100 |
| Message-ID | <mrb7iq$4h3$1@speranza.aioe.org> |
| In reply to | #3485 |
On 23-08-2015 02:21, Paulo da Silva wrote: > > I was using android vnc viewer. Now I changed to bSecure and it seems to > work fine. > I meant bVNC.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.os.linux.networking
csiph-web