LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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, 02:13 PM   #1
Yotaphoner
Member
 
Registered: Jun 2017
Posts: 37

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 11-01-2018, 12:57 AM   #2
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: Redhat/Centos, Ubuntu, Raspbian, Fedora
Posts: 2,037

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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; 11-01-2018 at 12:59 AM.
 
Old 11-01-2018, 11:25 AM   #3
Yotaphoner
Member
 
Registered: Jun 2017
Posts: 37

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, 05:49 PM   #4
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: Redhat/Centos, Ubuntu, Raspbian, Fedora
Posts: 2,037

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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, 02:03 PM   #5
Yotaphoner
Member
 
Registered: Jun 2017
Posts: 37

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, 03:44 PM   #6
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: Redhat/Centos, Ubuntu, Raspbian, Fedora
Posts: 2,037

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

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


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

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

All times are GMT -5. The time now is 10:25 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration