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 09-27-2018, 11:01 AM   #1
lordrakim
LQ Newbie
 
Registered: May 2006
Posts: 16

Rep: Reputation: 0
XRDP & VNC not working properly in Xubuntu after 18.04 upgrade...


So i did the system upgrade to 18.04 and I recall allowing the update to keep my edited files for use during said update. Now xrdp doesn't seem to connect anymore and vncserver only shows a grey screen with no desktop.

Click image for larger version

Name:	capture_27.09.18_12-13-48.png
Views:	65
Size:	15.0 KB
ID:	28687

Now the way I had it setup, XRDP launched an entirely new desktop session apart from the default one and that was OK then but now I want the XRDP session to mirror the regular desktop one.

How do I accomplish these tasks? I'm not quite a ubuntu newbie since I've been using it since the 2007 but I am new to using the vnc-rdp thing which I tried a few years back since I was told it was less laggy than just using VNC to connect from a Windows PC

Thanks in advance...

Last edited by lordrakim; 09-27-2018 at 01:12 PM.
 
Old 09-30-2018, 01:37 PM   #2
lordrakim
LQ Newbie
 
Registered: May 2006
Posts: 16

Original Poster
Rep: Reputation: 0
ok I ended up just purging xrdp and reinstalling it so I at least got that back working..

Code:
sudo apt-get purge --autoremove xrdp
but I'm still stuck with the grey screen from vnc... and opening in a new session
 
Old 10-01-2018, 10:31 AM   #3
lordrakim
LQ Newbie
 
Registered: May 2006
Posts: 16

Original Poster
Rep: Reputation: 0
OK so I got it vnc back to launching a session (not the default one like i want)

here's my .xstartup file


Code:
#!/bin/sh

#def
#export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
#vncconfig -iconic &
#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
xfce4-session &
I'm sure I have unnecessary things in there but it does work.... so now I'll play the comment game and see which lines "break" it lol

Hope this helps someone else a lil bit...
 
Old 03-24-2019, 08:01 AM   #4
lordrakim
LQ Newbie
 
Registered: May 2006
Posts: 16

Original Poster
Rep: Reputation: 0
damnit.... another update breaks rdp-vnc lol

so now when i run vnc, it says it's running BUT when i check ports, there is no 5900 or 5901 ports listening..... so rdp never connects...

le sigh...
 
Old 03-24-2019, 08:07 AM   #5
lordrakim
LQ Newbie
 
Registered: May 2006
Posts: 16

Original Poster
Rep: Reputation: 0
this is my vnc log... if that helps anyone figure out my issue

Quote:
Xvnc Free Edition 4.1.1 - built Feb 25 2015 22:56:43
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 Mar 24 08:04:55 2019
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/75dpi/, removing from list!
Could not init font path element /usr/share/fonts/X11/100dpi/, removing from list!
Unable to create /home/rakim/.dbus/session-bus
gpg-agent[28807]: WARNING: "--write-env-file" is an obsolete option - it has no effect
gpg-agent: a gpg-agent is already running - not starting a new one

(xfce4-session:28788): xfce4-session-WARNING **: 08:05:02.217: gpg-agent returned no PID in the variables

(xfwm4:28810): xfwm4-WARNING **: 08:05:02.668: The display does not support the XRender extension.

(xfwm4:28810): xfwm4-WARNING **: 08:05:02.668: The display does not support the XComposite extension.

Running

sudo netstat -anpt | grep -E "vino|vnc|xrdp|privoxy" | more

produces

Quote:
tcp 0 0 192.168.1.244:8118 0.0.0.0:* LISTEN 11031/privoxy
tcp6 0 0 ::1:3350 :::* LISTEN 1094/xrdp-sesman
tcp6 0 0 :::3389 :::* LISTEN 1119/xrdp

Last edited by lordrakim; 03-24-2019 at 08:09 AM.
 
Old 03-30-2019, 07:13 AM   #6
lordrakim
LQ Newbie
 
Registered: May 2006
Posts: 16

Original Poster
Rep: Reputation: 0
ok to add even more so to the weirdness... I can run vncserver on 5902, 5903, etc.... and connect directly using TightVNC...

Quote:
tcp 0 0 192.168.1.244:8118 0.0.0.0:* LISTEN 11031/privoxy
tcp 0 0 0.0.0.0:6002 0.0.0.0:* LISTEN 8552/Xvnc4
tcp 0 0 0.0.0.0:6003 0.0.0.0:* LISTEN 8588/Xvnc4
tcp6 0 0 ::1:3350 :::* LISTEN 1094/xrdp-sesman
tcp6 0 0 :::3389 :::* LISTEN 1119/xrdp
tcp6 0 0 :::5902 :::* LISTEN 8552/Xvnc4
tcp6 0 0 :::5903 :::* LISTEN 8588/Xvnc4
so then I killed 2 & 3 and restarted 1... then tried to connect directly to 1 using TightVNC and it seemed to connect and show XFCE start screen then it killed the connection and won't allow a reconnect....

I guess I'll just try to connect xrdp to 5902 instead of 5901 for the time being but I'd like to know why all of sudden this is happening....
 
  


Reply

Tags
vncserver, xubuntu



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
XRDP vs VNC _mz Linux - Newbie 2 03-30-2014 08:22 PM
crti.o & crt1.o are not working properly in my OEL 6 suresh dba Linux - Newbie 4 04-16-2013 09:41 AM
[SOLVED] Local printer not working in Xubuntu 11.04 after upgrade from Ubuntu 10.10 mauresco77 Linux - Desktop 1 02-10-2012 07:54 AM
AAARG! KDE not working properly after upgrade! bulldogzerofive Linux - Software 1 03-08-2005 10:34 PM
Linux creating VFAT partitions & them not working properly! Thymox General 4 12-07-2001 03:51 AM

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

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