LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-30-2018, 01:13 PM   #1
Yotaphoner
Member
 
Registered: Jun 2017
Posts: 50

Rep: Reputation: Disabled
Problems with the VNCserver


Hello, I am running ubuntu 18.04 and just sintalled a VNCserver on Gnome.

To do it, as it was the first time I tried it, I read an online guide, but there were a couple of points uncomplet or missing.

The results is I have the VNC server isntalled and I can connect to it, but when I do it from my Android tablet it only appears a grey screen.

This is the content of my config file:
Quote:
#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
# Fix to make GNOME work
export XKL_XMODMAP_DISABLE=1
/etc/X11/Xsession
I am thinking the reason of my problems is that "-solid grey", but if its thats then I don't know what to change it for.

Thanks in advance
 
Old 10-31-2018, 11:57 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Being a total dummy concerning X11, I have always had problems with VNCserver on Ubuntu. Figuring out a working xstartup script is a long exercise in trial and error and perusing several web sites. OpenSUSE is similarly frustrating. With RHEL/Centos/Fedora and Gnome 2 or 3, it works out of the box.

As far as I know, the solid_grey option just sets your background to this colour. You could use pink instead to see the difference.

My recommendation: Either use another distro, or use ssh with X11 forwarding instead of VNC.

For what it's worth, here is my Fedora 28 configuration:
Code:
$ cat xstartup
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
exec /etc/X11/xinit/xinitrc
$
$ cat config
## Supported server options to pass to vncserver upon invocation can be listed
## in this file. See the following manpages for more: vncserver(1) Xvnc(1).
## Several common ones are shown below. Uncomment and modify to your liking.
##
# securitytypes=vncauth,tlsvnc
# desktop=sandbox
geometry=1366x768
# localhost
# alwaysshared
$

Last edited by berndbausch; 10-31-2018 at 11:59 PM.
 
Old 11-01-2018, 10:25 AM   #3
Yotaphoner
Member
 
Registered: Jun 2017
Posts: 50

Original Poster
Rep: Reputation: Disabled
And how I could connect to the SSH with X11 forwarding server?? With the same VNC client? Remember that the client side is an android 4

I read about the "solid colour" and yes, it seems its only aboit the background. But I am sure it has to exists a way to fix the "little mistake" that has to be on the configuration of the VNC servee. The scenario where a VNC server is hard to implement on Ubuntu is too much stange to bealive it
 
Old 11-01-2018, 04:49 PM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Sorry I had forgotten that you do this on an Android device. There is an X server for Android, but I would agree that VNC is the usual and perhaps better way to connect to a UNIX GUI.
 
Old 11-03-2018, 01:03 PM   #5
Yotaphoner
Member
 
Registered: Jun 2017
Posts: 50

Original Poster
Rep: Reputation: Disabled
Maybe I shoukd try to install the xfce desktop and try with it, as no one seems to know the answer
 
Old 11-03-2018, 02:44 PM   #6
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
You could also try the https://askubuntu.com site.
 
Old 11-08-2018, 08:20 PM   #7
Yotaphoner
Member
 
Registered: Jun 2017
Posts: 50

Original Poster
Rep: Reputation: Disabled
This is the only problem that I have, now that I fixed the problem with the fonts:

Quote:
xrdb: No such file or directory
xrdb: can't open file '/home/ubuntu/.Xresources'
That appears on the log of the vncserver, and I have no idea on how to fix it.

Any suggestion?
 
  


Reply



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
vncserver config problems SteveInTallyFL Linux - Server 1 02-20-2009 08:02 AM
DSL vncserver problems. reed026 DamnSmallLinux 5 07-04-2007 02:24 AM
vncserver Problems em00guy Linux - Software 0 04-30-2007 09:50 PM
vncserver and printing problems spoody_goon Linux - Networking 1 01-16-2006 11:13 PM
vncserver problems starting Xris718 Linux - General 2 10-08-2004 11:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:35 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