You are not logged in.

#1 2014-05-02 07:16:09

gyurman
Member
From: Budapest/Hungary
Registered: 2011-03-22
Posts: 68

tigervnc => /usr/bin/startxfce4: X server already running on display

Hello,
I think this problem is not for me, I google it, but I don't got good solution for mine problem.

I started tigervnc server with:

vncserver -geometry 1440x900 -alwaysshared -dpi 96 -localhost :1

I got error message

Xvnc TigerVNC 1.3.1 - built Mar 20 2014 13:09:36
Copyright (C) 1999-2011 TigerVNC Team and many others (see README.txt)
See http://www.tigervnc.org for information on TigerVNC.
Underlying X server release 11500000, The X.Org Foundation

Initializing built-in extension VNC-EXTENSION
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension GLX

Fri May  2 08:30:07 2014
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on all interface(s), port 5901
 vncext:      created VNC server for screen 0
/usr/bin/startxfce4: X server already running on display :1

(nm-applet:4291): nm-applet-WARNING **: Failed to register as an agent: (32) Unit dbus-org.freedesktop.NetworkManager.service $

** (nm-applet:4291): WARNING **: fetch_connections_done: error fetching connections: (32) Unit dbus-org.freedesktop.NetworkMan$

(nm-applet:4291): nm-applet-WARNING **: Failed to register as an agent: (32) Unit dbus-org.freedesktop.NetworkManager.service $
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
Object::connect: No such slot MainWindow::refreshCom()
Object::connect:  (receiver name: 'MainWindow')
java version "1.7.0_55"
OpenJDK Runtime Environment (IcedTea 2.4.7) (ArchLinux build 7.u55_2.4.7-1-i686)
OpenJDK Client VM (build 24.51-b03, mixed mode)
weather-Message: getting http://api.yr.no/weatherapi/locationforecastlts/1.1/?lat=46.250000;lon=20.166700;msl=78

(wrapper:4327): GLib-CRITICAL **: Source ID 6669 was not found when attempting to remove it
weather-Message: getting http://api.yr.no/weatherapi/locationforecastlts/1.1/?lat=46.250000;lon=20.166700;msl=78

(wrapper:4327): GLib-CRITICAL **: Source ID 27818 was not found when attempting to remove it

This is the.vnc/xstartup

#!/bin/sh

#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

export XKL_XMODMAP_DISABLE=1

# exec gnome-session
# exec startkde
exec startxfce4
# ...or the Window Manager of your choice

I think problem is the

 /usr/bin/startxfce4: X server already running on display :1

Have you any idea?

Offline

#2 2014-05-02 09:58:47

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: tigervnc => /usr/bin/startxfce4: X server already running on display

Have you tried starting it on e.g. :2?
How many X servers are you running?

Offline

#3 2014-05-02 11:48:23

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,636
Website

Re: tigervnc => /usr/bin/startxfce4: X server already running on display

Post the output of

ps aux | grep vnc

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2014-05-03 18:46:27

gyurman
Member
From: Budapest/Hungary
Registered: 2011-03-22
Posts: 68

Re: tigervnc => /usr/bin/startxfce4: X server already running on display

I changed the .vnc/xstartup

#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
startxfce4 &

The Vncserver wiki

#!/bin/sh
export XKL_XMODMAP_DISABLE=1
exec startxfce4

Not working because:  BUG report

Offline

Board footer

Powered by FluxBB