You are not logged in.

#1 2018-01-06 00:56:34

agent114
Member
Registered: 2017-10-26
Posts: 27

vnc not starting desktop environment

when connecting to from the local machine or from another machine on the local network the desktop environment will not start.
contnece of xstartup file:

#!/bin/sh
exec budgie-desktop
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
OS=`uname -s`
if [ $OS = 'Linux' ]; then
  case "$WINDOWMANAGER" in
    *gnome*)
      if [ -e /etc/SuSE-release ]; then
        PATH=$PATH:/opt/gnome/bin
        export PATH
      fi
      ;;
  esac
fi
if [ -x /etc/X11/xinit/xinitrc ]; then
  exec /etc/X11/xinit/xinitrc
fi
if [ -f /etc/X11/xinit/xinitrc ]; then
  exec sh /etc/X11/xinit/xinitrc
fi
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &

contensce of config file:

securitytypes=tlsvnc
desktop=sandbox
geometry=1200x700
dpi=96
localhost
alwaysshared

I have tried starting budgie-desktop and gnome-shell

Last edited by agent114 (2018-01-06 08:51:40)

Offline

#2 2018-01-06 01:00:30

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,543
Website

Re: vnc not starting desktop environment

Please edit your post and add [ code ] tags.

That "xstart" file is completely irrelevant, none of it but the first line could ever run: once an "exec" command is reached, no subsequent lines will execute.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2018-01-06 08:51:18

agent114
Member
Registered: 2017-10-26
Posts: 27

Re: vnc not starting desktop environment

sorry for not including code tags, after more testing with some other desctop envirinments, it is only gnome based DE's that wont start, plasma and lxde work fine. when I start gnome, I just get a black screen, and when starting budgie I get an error message that says noting useful.

Offline

#4 2018-01-06 10:22:16

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,863

Re: vnc not starting desktop environment

Budgie *is* gnome and gnome requires a working GL setup which you'll only get with a correctly compiled and configured tigervnc (no idea whether the arch compilation meets the requirements)

Also the "xstartup" file is complete bonkers, I assume copied and pasted together? Please get used to consult the wiki.

Offline

#5 2018-01-07 13:02:17

agent114
Member
Registered: 2017-10-26
Posts: 27

Re: vnc not starting desktop environment

the xstartup file was generated by tigervnc when I installed it, i just put the exec thing at the start while I was testing it. I have had gnome work before like this but I reinstalled my system and now it wont work

Offline

#6 2018-01-07 14:17:12

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,863

Re: vnc not starting desktop environment

The implication was to check glxinfo about the GL condition.
This thread implies there's a problem with the arch binary: https://bbs.archlinux.org/viewtopic.php?id=224014
https://github.com/TigerVNC/tigervnc/issues/39 implies it's not going to work with the nvidia blob

The original xinitrc is ok, just implies usage of xterm and twm - not necessarily popular choices.
If you want to alter it (what's likely and ok) you're however supposed to know how.

Offline

#7 2018-01-07 14:31:07

agent114
Member
Registered: 2017-10-26
Posts: 27

Re: vnc not starting desktop environment

I have an AMD graphics card if that makes a difference. and is there a workaround for the open GL issue.

Offline

#8 2018-01-07 14:32:05

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,863

Re: vnc not starting desktop environment

seth wrote:

The implication was to check glxinfo about the GL condition.

Offline

#9 2018-01-07 15:42:34

agent114
Member
Registered: 2017-10-26
Posts: 27

Re: vnc not starting desktop environment

is that just the output of glxinfo and if so what bit

Offline

Board footer

Powered by FluxBB