Re: [opensuse] VNC Colors



Chuck Payne wrote:
Guys,

I got a really strange issue with VNC in 11.1. When I connect to my
server using any vnc client, it like I am on a bad acid trip. The
colours are all over the place. I can't click any where with out an
explsion of colours. Is there a setting with X11 that I can ton down
the colors? I have tried everything on the client system. I am using
Krfb and vnc that build into X/gdm.

Chuck - I just went through the same thing. Apparently Krfb is broken, has been for awhile, and it appears there is very little action happening to repair it. The problem has been reported, both by myself and others. I just wrote up an addendum to the openSuSE wiki regarding it and added a workaround...

Basically I found the following was my best solution. First blow away, i.e. remove Krfb and while you are at it, also blow away Krdc. Krdc is also broken and subject to sudden crashes and lockup. You MUST remove Krfb otherwise it will lock on to port 5900, which you will need if you use the solution described below. Hopefully the KDE crowd will get these tools fixed soon....

You can use vncviewer instead as your vnc client if you are connecting to another computer that has a vnc server running. If you want to get a vnc server up and running on a "remote" SuSE computer, you have two options. You can start up the Xvnc daemons that SuSE supplies, reachable via the xinetd manager in YaST. These will allow you to connect in via a KDM login prompt and start a new user session on the "remote" computer.

However, if you are wanting control over a remote live desktop, such as what Krfb would do for you (when helping Mom's out for example) then install the x11vnc server package on the remote computer. You will have to get it started and connected to display:0 somehow. You can do that manually on the remote computer and the openSuSE wiki describes how...

I prefer the following method of using ssh to start the x11vnc server on the remote system. (and I wrote up a couple of paragraphs on the openSuSE wiki describing the procedure) This way I can set up and make the entire connection remotely and don't need any intervention at the remote computer. BUT you MUST have the x11vnc package installed on the remote computer first and it must also be set up to accept ssh connections!

Once you got the remote computer ready, then first, from one console on your local computer execute the following command -

ssh -t -L 5900:localhost:5900 loggedInUserName@xxxxxxxxxxxxxxxxxxx 'x11vnc -localhost -nolookup -nopw -display :0'

substituting the remote username and computername.domain as appropriate. Of course you will be asked for a password to be granted access.....

Then from another console start up a vncviewer window with the following -

vncviewer -encodings "tight copyrect hextile" localhost:0

and bingo! You got an nice VNC session going, connected to the live remote desktop!

Hope this helps... Took me some research to figure out these magic incantations. ;-)

Marc...





--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: VNC auf 2008 Server
    ... Es geht dabei um eine Steuersoftware die ein lokal vor Ort angeschlossenes USB-Gerät abfragt, wenn man sich jedoch per RDP drauf verbindet, sucht die Software automatisch beim Remotehost, unabhängig was man nun zum durchschleifen freigegeben hat oder nicht. ... If Fast User Switching or Remote Desktop are used, then VNC Server will connect session zero to the console in order to allow it to be accessed. ...
    (microsoft.public.de.german.windows.server.general)
  • Re: problem to connect by ssh in graphic mode session
    ... >my computer and my server used debian ... I recently updated my remote access setup. ... You want vnc tunneled through ssh. ... Java client applet from ...
    (Debian-User)
  • Re: SBS Offer Remote Assistance Not Working
    ... I'm still curious about why Remote Access wont work correctly. ... Assist my server to get as far as listing usernames... ... But thank you again for the VNC reference and I'll keep you informed If / ... You'll need to install the VNC service on the target ...
    (microsoft.public.windows.server.sbs)
  • Re: Unable to Connect to Server/Client Desktop using RWW
    ... So the problematic remote computer has an ip address in hte ... same range as the external NIC on the SBS server AND the ... Here are the requested remote and SBS server ipconfig alls. ...
    (microsoft.public.backoffice.smallbiz)
  • Re: Printing to remote printer
    ... Since you can ping the remote client workstation by IP address not computer ... the DNS IP address on the TS is exact same as the SBS Internal IP address. ... On the SBS Server and the TS Server, open a command window, type ... Is remote computer a SBS 2K3 domain computer? ...
    (microsoft.public.windows.server.sbs)