LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 04-29-2014, 06:28 PM   #1
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Rep: Reputation: 174Reputation: 174
Mate 1.8 on Ubuntu 14.04 over vnc


I hope this is the appropriate forum - in not, moderators please feel free to relocate the thread. TIA.

On my headless Ubuntu 12.0 server I have installed gnome-shell and vnc4server. When and if I need a gui on the server - mainly to shuffle around a bunch of files with gnome-commander or Beyond Compare - I connect with ssh, invoke my vnc desktop on the server and access it with vinagre.

I am now trying to do the same thing on 14.04 server but using the Mate 1.8 desktop. I have installed mate-core, mate-desktop-environment, and mate-notification-daemon per various instructions I have found. The gui does not load on the server console - which is exactly what I want. Is this part of the problem, I am not sure? However, when I start my desktop session in vncserver and connect to it all I see is a pale blue screen with 3 check boxes in the upper right having to do with configuration of vnc. I have no desktop.

I believe the issue is in ~/.vnc/xstartup. As created the first time I invoke vncserver I find
Code:
  # Uncomment the following two lines for normal desktop:
  #unset SESSION_MANAGER
  #exec /etc/X11/xinit/xinitrc
  [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
  [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
  xsetroot -solid grey
  vncconfig -iconic &
  x-terminal-emulator -geometry 1280x1024+10+10 -ls -title "$VNCDESKTOP Desktop" &
  x-window-manager &
In the file on my 12.04 server I have
Code:
  # Uncomment the following two lines for normal desktop:
  unset SESSION_MANAGER
  # exec /etc/X11/xinit/xinitrc
  gnome-session --session=gnome-classic &
  [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
  [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
  xsetroot -solid grey
  vncconfig -iconic &
#  x-terminal-emulator -geometry 1280x1024+10+10 -ls -title "$VNCDESKTOP Desktop" &
#  x-window-manager &
The red line is of course not present in the file on the Mate machine. I am guessing that I need to tell vnc to run the Mate desktop. However, I have no idea of the syntax and have not been able to find reference to it. '

Can someone suggest the syntax I need?

TIA,

Ken

p.s. For the record, here is a log from the Mate machine
Quote:
ken@vmUbuntuServer14:~$ cat /home/ken/.vnc/vmUbuntuServer14:1.log

Xvnc Free Edition 4.1.1 - built Jan 14 2013 22:28:40
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 40300000, The XFree86 Project, Inc


Tue Apr 29 19:19:04 2014
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5901
vncext: created VNC server for screen 0
error opening security policy file /etc/X11/xserver/SecurityPolicy
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list!
Could not init font path element /usr/share/fonts/X11/Type1/, removing from list!
Could not init font path element /usr/share/fonts/X11/75dpi/, removing from list!
Could not init font path element /usr/share/fonts/X11/100dpi/, removing from list!
 
Old 04-30-2014, 05:28 PM   #2
ivtec
Member
 
Registered: May 2013
Location: USA
Distribution: Debian-wheezy,,Ubuntu 12.4lts
Posts: 317

Rep: Reputation: Disabled
Quote:
Originally Posted by taylorkh View Post
I hope this is the appropriate forum - in not, moderators please feel free to relocate the thread. TIA.

On my headless Ubuntu 12.0 server I have installed gnome-shell and vnc4server. When and if I need a gui on the server - mainly to shuffle around a bunch of files with gnome-commander or Beyond Compare - I connect with ssh, invoke my vnc desktop on the server and access it with vinagre.

I am now trying to do the same thing on 14.04 server but using the Mate 1.8 desktop. I have installed mate-core, mate-desktop-environment, and mate-notification-daemon per various instructions I have found. The gui does not load on the server console - which is exactly what I want. Is this part of the problem, I am not sure? However, when I start my desktop session in vncserver and connect to it all I see is a pale blue screen with 3 check boxes in the upper right having to do with configuration of vnc. I have no desktop.

I believe the issue is in ~/.vnc/xstartup. As created the first time I invoke vncserver I find
Code:
  # Uncomment the following two lines for normal desktop:
  #unset SESSION_MANAGER
  #exec /etc/X11/xinit/xinitrc
  [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
  [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
  xsetroot -solid grey
  vncconfig -iconic &
  x-terminal-emulator -geometry 1280x1024+10+10 -ls -title "$VNCDESKTOP Desktop" &
  x-window-manager &
In the file on my 12.04 server I have
Code:
  # Uncomment the following two lines for normal desktop:
  unset SESSION_MANAGER
  # exec /etc/X11/xinit/xinitrc
  gnome-session --session=gnome-classic &
  [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
  [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
  xsetroot -solid grey
  vncconfig -iconic &
#  x-terminal-emulator -geometry 1280x1024+10+10 -ls -title "$VNCDESKTOP Desktop" &
#  x-window-manager &
The red line is of course not present in the file on the Mate machine. I am guessing that I need to tell vnc to run the Mate desktop. However, I have no idea of the syntax and have not been able to find reference to it. '

Can someone suggest the syntax I need?

TIA,

Ken

p.s. For the record, here is a log from the Mate machine
You should not install other desktops in ubuntu 14.04 then the ones supported by ubuntu, at list now till everything is bug free or at list more stable,i use gnome2 flashback and like it very much.you might not have a nicer desktop as Mate but it's efficient.

Last edited by ivtec; 04-30-2014 at 05:29 PM.
 
Old 04-30-2014, 06:27 PM   #3
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Original Poster
Rep: Reputation: 174Reputation: 174
Thanks ivtec,

Mate 1.8 is in the Ubuntu 14 repos so I think it is supported to some degree. And this is only a test installation at this point. I am not familiar with gnome2flashback. I will look into that. I need only a very basic desktop for this situation.

Ken

p.s. You did not really need to quote my entire post. It is after all only one entry above yours.
 
Old 05-02-2014, 02:10 PM   #4
ivtec
Member
 
Registered: May 2013
Location: USA
Distribution: Debian-wheezy,,Ubuntu 12.4lts
Posts: 317

Rep: Reputation: Disabled
Quote:
Originally Posted by taylorkh View Post
Thanks ivtec,

Mate 1.8 is in the Ubuntu 14 repos so I think it is supported to some degree. And this is only a test installation at this point. I am not familiar with gnome2flashback. I will look into that. I need only a very basic desktop for this situation.

Ken

p.s. You did not really need to quote my entire post. It is after all only one entry above yours.
Nothing better then Gnome2 flashback as a basic and simple workable desktop just like winxp desktop feel.

Last edited by ivtec; 05-02-2014 at 02:11 PM.
 
  


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
[SOLVED] anyone else having update problems with Mint15 Mate & 16 Cinnamon or mate RC 1sweetwater! Linux Mint 2 08-05-2014 06:42 PM
LXer: Install MATE 1.6 in Ubuntu 13.10 LXer Syndicated Linux News 0 11-28-2013 03:01 AM
LXer: How to Install MATE Desktop in Ubuntu 12.04/Ubuntu 11.10 LXer Syndicated Linux News 0 04-26-2012 12:01 PM
LXer: FOLLOW-UP: How-To: Get My Desktop with MATE in Ubuntu LXer Syndicated Linux News 0 04-13-2012 07:40 AM
LXer: How-To: Get My Desktop with MATE in Ubuntu LXer Syndicated Linux News 0 03-16-2012 11:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:01 AM.

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