LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Deepin
User Name
Password
Linux Deepin This forum is for the discussion of Linux Deepin.

Notices


Reply
  Search this Thread
Old 03-22-2020, 07:47 AM   #1
thefrog69
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Rep: Reputation: 0
Vnc session problem


Hello,
I cannot get tightvncserver to work with deepin dde windows manager
Here is the content of xstartup
I try to connect to the current session

Code:
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
# startxfce4 &
dde-session_dae &
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey &
vncconfig -iconic &
I can connect, but have a grey screen

The log says
/home/lounge/.vnc/xstartup: 5: /home/lounge/.vnc/xstartup: dde-session_dae: not found

I tried to figure out what is the process of the current windows manager session by listing with ps -A

Code:
 442 ?        00:00:01 dde-system-daem
 1339 ?        00:00:03 startdde
 3146 ?        00:00:05 dde-session-dae
 3147 ?        00:00:00 dde-osd
 3879 ?        00:00:10 dde-dock
 4069 ?        00:00:02 dde-desktop
 4692 ?        00:00:00 dde-polkit-agen
 6667 ?        00:00:00 startdde
 6750 ?        00:00:00 startdde
 6893 ?        00:00:00 startdde
and
Code:
 504 ?        00:00:00 deepin-anything
  509 ?        00:00:00 deepin-anything
  607 ?        00:00:00 deepin-anything
 2576 ?        00:00:00 deepin-wm-dbus
 3604 ?        00:00:00 deepin-sync-dae
 3618 ?        00:00:00 deepin-sync-hel
 4496 ?        00:00:00 deepin-cloud-pr
 7232 ?        00:00:02 deepin-terminal
I found no info on the deepin forum

Has someone already got Vnc working with Deepin ?

Thanks for your help
 
Old 03-22-2020, 12:19 PM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,930

Rep: Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321
I can only guess: that should be dde-session-daemon, but you need to check what is the real name of this daemon.
 
Old 03-22-2020, 03:24 PM   #3
thefrog69
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for your reply

I tried dde-session-daemon but still the same error
 
Old 03-23-2020, 02:19 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,930

Rep: Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321
how can it happen? The message you posted was: /home/lounge/.vnc/xstartup: 5: /home/lounge/.vnc/xstartup: dde-session_dae: not found
How did you try that?
 
Old 03-23-2020, 04:56 AM   #5
thefrog69
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Original Poster
Rep: Reputation: 0
I modified xstartup

dde-session-daemon &


and the log says

/home/lounge/.vnc/xstartup: 5: /home/lounge/.vnc/xstartup: dde-session-daemon: not found
 
Old 03-23-2020, 05:14 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,930

Rep: Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321
it looks like you have that daemon (at least in your original post). You need to check where is it located and use it with full path (like /usr/bin/dde-session-daemon or ??)
 
Old 03-23-2020, 07:46 AM   #7
thefrog69
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks

I've added the path to xstartup
Code:
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
# startxfce4 &
/usr/lib/deepin-daemon/dde-session-daemon &
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources

xsetroot -solid grey &
vncconfig -iconic &
Here is the log

Code:
23/03/20 13:36:07 Xvnc version TightVNC-1.3.9
23/03/20 13:36:07 Copyright (C) 2000-2007 TightVNC Group
23/03/20 13:36:07 Copyright (C) 1999 AT&T Laboratories Cambridge
23/03/20 13:36:07 All Rights Reserved.
23/03/20 13:36:07 See http://www.tightvnc.com/ for information on TightVNC
23/03/20 13:36:07 Desktop name 'X' (lounge-PC:1)
23/03/20 13:36:07 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
23/03/20 13:36:07 Listening for VNC connections on TCP port 5901
Error:            XKB extension not present on :1
                  Exiting
XKB extension not present on :1
Starting session: /etc/X11/Xsession
<info> main.go:118: name com.deepin.daemon.Daemon already taken

23/03/20 13:36:42 Got connection from client 192.168.0.154
23/03/20 13:36:42 Using protocol version 3.8
23/03/20 13:36:45 Full-control authentication passed by 192.168.0.154
23/03/20 13:36:45 Pixel format for client 192.168.0.154:
23/03/20 13:36:45   8 bpp, depth 8
23/03/20 13:36:45   true colour: max r 3 g 3 b 3, shift r 4 g 2 b 0
23/03/20 13:36:45 Enabling full-color cursor updates for client 192.168.0.154
23/03/20 13:36:45 rfbProcessClientNormalMessage: ignoring unknown encoding -223
23/03/20 13:36:45 rfbProcessClientNormalMessage: ignoring unknown encoding 16
23/03/20 13:36:45 Using hextile encoding for client 192.168.0.154
But still I have a grey screen when I connect with vnc

 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to launch "cinnamon-session-cinnamon" X session "cinnamon-session-cinnamon" -found; Falling back to default "session." xxxindigo Linux Mint 22 09-01-2019 09:21 AM
TigerVNC using KDE is loading old, dead vnc session when I open vncviewer for a new session (RHEL7) Comet_lulin Linux - Software 1 06-06-2019 05:58 AM
Session key renegotiation if session lasts longer than configured (e.g. an hour) then session keys needs to be renegotiated. dakshinya Linux - Newbie 1 02-04-2016 04:15 PM
rhel4 vnc problem, where to configure GUI vnc server? hocheetiong Linux - Newbie 1 10-24-2007 06:05 AM
windows vnc client and linux vnc server problem tungaw2001 Linux - Software 8 06-17-2006 12:06 AM

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

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