Page 1 of 1

Assistance with the VNC Gnome

Posted: October 1st, 2014, 9:28 pm
by RuRat
I try to perform tasks in the VNC gnome screen but some tasks are not allowed because I am not the admin

I followed the Guide to the T but obviously missed something

when i try to open synaptic or run the software updater i get a message that i am not allowed to perform action,

obviously a permission related issue.

how can i login with sudo permissions?

Re: Assistance with the VNC Gnome

Posted: October 26th, 2014, 1:32 pm
by musictombo
"Build a media server" - Trusty Tahr 14.04.1 LTS

I think I am having the same issues as RuRat with trying to run Gnome over tight VNC. When I try to start Synaptic from Applications -> System Tool -> Administration -> Synaptic Package Manager this messages shows in my putty window :
==== AUTHENTICATING FOR com.ubuntu.pkexec.synaptic ===
Authentication is required to run the Synaptic Package Manager
Authenticating as: tom,,, (tom)
Password:

If I try to open a terminal window using Ctrl + Alt + T nothing happens. If I use Applications -> Accessories -> Terminal I get a window but no command prompt.

If I try running "sudo synaptic" from the putty window I get :
no talloc stackframe at ../source3/param/loadparm.c:4864, leaking memory
error: XDG_RUNTIME_DIR not set in the environment.

(synaptic:1609): Gtk-WARNING **: cannot open display:

if "gksudo synaptic" from putty window:
(gksudo:1610): Gtk-WARNING **: cannot open display:

-----------------------------------------------------------------------------------------------------------------------------------
My gnome log file is :
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


Sun Oct 26 08:53:41 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!
/home/tom/.vnc/xstartup: 16: /home/tom/.vnc/xstartup: gnome-setting-daemon: not found
Window manager warning: Log level 32: could not find XKB extension.

Sun Oct 26 08:54:08 2014
Connections: accepted: 0.0.0.0::62449
SConnection: Client needs protocol version 3.8
SConnection: Client requests security type VncAuth(2)

Sun Oct 26 08:54:17 2014
VNCSConnST: Server default pixel format depth 16 (16bpp) little-endian rgb565
VNCSConnST: Client pixel format depth 24 (32bpp) little-endian rgb888

** (process:1463): ERROR **: Got unexpected EOF while reading from controlling terminal.
Trace/breakpoint trap (core dumped)
polkit-agent-helper-1: pam_authenticate failed: Authentication failure

(gnome-terminal:1472): GLib-GIO-CRITICAL **: g_settings_get: the format string may not contain '&' (key 'monospace-font-name' from schema 'org.gnome.desktop.interface'). This call will probably stop working with a future version of glib.
Window manager warning: Log level 8: Source ID 30 was not found when attempting to remove it

(gnome-control-center.real:1497): Gdk-ERROR **: The program 'gnome-control-center.real' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
(Details: serial 108 error_code 1 request_code 149 (RANDR) minor_code 8)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)

** (process:1542): ERROR **: Got unexpected EOF while reading from controlling terminal.
Trace/breakpoint trap (core dumped)
polkit-agent-helper-1: pam_authenticate failed: Authentication failure
tom@ubuntuMedia:~$

Re: Assistance with the VNC Gnome

Posted: January 10th, 2015, 3:19 pm
by GoingCrazy
I'm having this same exact issue trying to use the Synaptics tools. Has anyone found a resolution for this?

By the way the "Leaking memory" (no talloc stackframe at ../source3/param/loadparm.c:4864, leaking memory) error in your log above, I solved this by using instructions from here...

http://ubuntuforums.org/showthread.php?t=2214042

apparently there is an issue in Samba.

If I find a resolution to the original VNC item, I'll post it. If anyone has it sooner, I'd appreciate the help!