Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
tigervnc server works fine with DE plasma, but..
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Elleni
l33t
l33t


Joined: 23 May 2006
Posts: 822

PostPosted: Tue May 14, 2019 8:08 pm    Post subject: tigervnc server works fine with DE plasma, but.. Reply with quote

I'd like to use it with gnome too.

Wether I try to access normaly or to attach an established session issuing
Code:
x0vncserver -passwordfile ~/.vnc/passwd -display :0


I always get a black screen only.

Tried to attach to it with remmina or vncviewer - same thing.

The output of vncviewer hostname:0
Code:
TigerVNC-Betrachter (64-bit) Version 1.8.0
Erstellt auf: 2018-11-09 19:56
Copyright (C) 1999-2017 TigerVNC Team und viele andere (siehe README.txt)
Copyright (C) 2005 Klaus Franken, StrukturPunkt
Siehe http://www.tigervnc.org für Informationen über TigerVNC.

Tue May 14 22:01:35 2019
 DecodeManager: Detected 12 CPU core(s)
 DecodeManager: Creating 4 decoder thread(s)
 CConn:       verbunden mit Rechner hostname, Port 5900
 CConnection: Server supports RFB protocol version 3.8
 CConnection: Using RFB protocol version 3.8
 CConnection: Choosing security type VeNCrypt(19)
 CVeNCrypt:   Choosing security type TLSVnc (258)

Tue May 14 22:01:43 2019
 CConn:       Pixelformat depth 24 (32bpp) little-endian rgb888 wird verwendet
 CConn:       Tight-Verschlüsselung wird verwendet
 CConn:       Fortlaufende Aktualisierungen aktivieren


Please tell me, what information I could provide that helps solving this?

In xstartup file I have put:

Code:
start gnome-session &

instead of
Code:
startkde &
Back to top
View user's profile Send private message
dantrell
Guru
Guru


Joined: 01 Jun 2007
Posts: 551
Location: Earth

PostPosted: Wed May 15, 2019 10:46 pm    Post subject: Re: tigervnc server works fine with DE plasma, but.. Reply with quote

Elleni wrote:
I'd like to use it with gnome too.

I replied here (around the middle) but TL;DR:

Code:
gnome-session --disable-acceleration-check &

or (with GNOME Flashback):

Code:
gnome-session --session=gnome-flashback-metacity --disable-acceleration-check &

_________________
Dantrell B.
Back to top
View user's profile Send private message
Elleni
l33t
l33t


Joined: 23 May 2006
Posts: 822

PostPosted: Thu May 16, 2019 5:16 pm    Post subject: Reply with quote

I testet both, but unfortunatelly it does not work and always gets me black screen. I guess, I'll have to stay with plasma for the remote access. :?
Back to top
View user's profile Send private message
dantrell
Guru
Guru


Joined: 01 Jun 2007
Posts: 551
Location: Earth

PostPosted: Thu May 16, 2019 9:34 pm    Post subject: Reply with quote

Elleni wrote:
I testet both, but unfortunatelly it does not work and always gets me black screen. I guess, I'll have to stay with plasma for the remote access. :?

Just making sure, but you did install GNOME Flashback for the second one?

Elleni wrote:
Please tell me, what information I could provide that helps solving this?

Pass the debug flag and share the output:

Code:
gnome-session --debug --disable-acceleration-check &

Code:
gnome-session --debug --disable-acceleration-check --session=gnome-flashback-metacity &


And for good measure, maybe these too:

Code:
export XKL_XMODMAP_DISABLE=1
gnome-session --debug --disable-acceleration-check &

Code:
export XKL_XMODMAP_DISABLE=1
gnome-session --debug --disable-acceleration-check --session=gnome-flashback-metacity &

_________________
Dantrell B.
Back to top
View user's profile Send private message
Elleni
l33t
l33t


Joined: 23 May 2006
Posts: 822

PostPosted: Thu May 16, 2019 11:37 pm    Post subject: Reply with quote

Hey Dantrell :D

yes, I installed flashback mode before trying.

Also tried your suggestions always a black screen.

Here is what I found in /var/log/messages for
Code:
export XKL_XMODMAP_DISABLE=1
gnome-session --debug --disable-acceleration-check --session=gnome-flashback-metacity &

http://dpaste.com/2QSPWDJ

.vnc/xstartup file:
Code:
#!/bin/sh
export XKL_XMODMAP_DISABLE=1
gnome-session --debug --disable-acceleration-check --session=gnome-flashback-metacity &
#startkde &
#startxfce4 &
#startfluxbox &
#fvwm2 &
#icewm-session &
#startlxde &
#xfce4-panel &


I had also tried

startgnome-session...

and

start gnome-session...

I can start the other three variants tomorrow as its getting late here.

If I could find out howto set debug in x2goclient/x2goserver, I would love to test those too.

Thanks for looking into it - I really appreciate !

Btw. is there a way to start x0vncserver as openrc service? I only found a description launching it in console as user by issuing:
Code:
x0vncserver -passwordfile ~/.vnc/passwd -display :0
(So I ssh-ed in to launch as user)

I am asking as I realized that wobbling windows and cube in plasma are working if I connect to existing local x0vncserver session, while not when connecting to normal vncserver which does not attach to local session. I also read that accelerated DEs are only supported in x2go client/server wenn connecting to locally established Xsession.
Back to top
View user's profile Send private message
dantrell
Guru
Guru


Joined: 01 Jun 2007
Posts: 551
Location: Earth

PostPosted: Sat May 18, 2019 3:50 am    Post subject: Reply with quote

Elleni wrote:
http://dpaste.com/2QSPWDJ

I saw a couple issues but not sure how they relate to GNOME and VNC.

However, what stood out with GNOME Flashback was:

Code:
fill: *** Session is not runnable

which looked to be caused by:

Code:
WARNING: Unable to find required component 'gnome-panel'

I investigated and sure enough, I got a black screen. :twisted:

Looks like I forgot about GNOME Panel so I'll be rolling that out shortly.

Edit: I rolled out an update for GNOME Flashback that includes GNOME Panel (with elogind support). GNOME Applets is still missing, but that's not necessary to test things. I give it 50/50 on working out. :twisted:

Realistically though, figuring out (1) GNOME + VNC and (2) GNOME Flashback are probably their own mini-projects. Scouring the internet hasn't turned up anything useful and my own investigations haven't panned out.
_________________
Dantrell B.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum