question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

vncserver: command not found

See original GitHub issue

Whenever I try to start the vnc server I get this error /usr/local/bin/vncserver-start: line 4: vncserver: command not found

I have installed Ubuntu and xfce4 DE.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:11
  • Comments:51 (4 by maintainers)

github_iconTop GitHub Comments

9reactions
exalab999commented, Jan 31, 2019

Hi,

This error usually occur when vncserver does not installed successfully.

Please run the command in Desktop Environment feature and post the screenshots if any error occur.

Regards, EXA Lab

On Thu, Jan 31, 2019, 5:07 AM Dennis <notifications@github.com wrote:

Whenever I try to start the vnc server I get this error /usr/local/bin/vncserver-start: line 4: vncserver: command not found

I have installed Ubuntu and xfce4 DE.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/EXALAB/AnLinux-App/issues/56, or mute the thread https://github.com/notifications/unsubscribe-auth/Af5mUb4nPgEjyn56musHOcXI1JlchJ5qks5vIgmWgaJpZM4abEDM .

8reactions
Lexankcommented, Feb 2, 2019

Hello, I paste here the transcript of the process:

`$ ./start-ubuntu.sh groups: cannot find name for group ID 3003 groups: cannot find name for group ID 9997 groups: cannot find name for group ID 20226 groups: cannot find name for group ID 50226 root@localhost:~# wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Apt/Xfce4/de-apt-xfce4.sh && bash de-apt-xfce4.sh –2019-02-02 12:42:12-- https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Apt/Xfce4/de-apt-xfce4.sh Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.132.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.132.133|:443… connected. HTTP request sent, awaiting response… 200 OK Length: 1299 (1.3K) [text/plain] Saving to: ‘de-apt-xfce4.sh.1’

de-apt-xfce4.sh.1 100%[======================>] 1.27K --.-KB/s in 0s

2019-02-02 12:42:13 (27.0 MB/s) - ‘de-apt-xfce4.sh.1’ saved [1299/1299]

Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease Reading package lists… Done E: dpkg was interrupted, you must manually run ‘dpkg --configure -a’ to correct the problem. –2019-02-02 12:42:19-- https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Apt/Xfce4/xstartup Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.132.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.132.133|:443… connected. HTTP request sent, awaiting response… 200 OK Length: 110 [text/plain] Saving to: ‘/root/.vnc/xstartup’

xstartup 100%[======================>] 110 --.-KB/s in 0s

2019-02-02 12:42:20 (1.77 MB/s) - ‘/root/.vnc/xstartup’ saved [110/110]

–2019-02-02 12:42:20-- https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Apt/Xfce4/vncserver-start Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.132.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.132.133|:443… connected. HTTP request sent, awaiting response… 200 OK Length: 98 [text/plain] Saving to: ‘/usr/local/bin/vncserver-start’

vncserver-start 100%[======================>] 98 --.-KB/s in 0s

2019-02-02 12:42:20 (1.33 MB/s) - ‘/usr/local/bin/vncserver-start’ saved [98/98]

–2019-02-02 12:42:20-- https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Apt/Xfce4/vncserver-stop Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.132.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.132.133|:443… connected. HTTP request sent, awaiting response… 200 OK Length: 100 [text/plain] Saving to: ‘/usr/local/bin/vncserver-stop’

vncserver-stop 100%[======================>] 100 --.-KB/s in 0s

2019-02-02 12:42:21 (1.59 MB/s) - ‘/usr/local/bin/vncserver-stop’ saved [100/100]

You can now start vncserver by running vncserver-start

It will ask you to enter a password when first time starting it.

The VNC Server will be started at 127.0.0.1:5901

You can connect to this address with a VNC Viewer you prefer

Connect to this address will open a window with Xfce4 Desktop Environment

Running vncserver-start

To Kill VNC Server just run vncserver-stop

/usr/local/bin/vncserver-start: line 4: vncserver: command not found root@localhost:~#`

Hope you can help me, thank you. My device is Huawei MediaPad M5 lite (BAH2-W19), Android 8.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[SOLVED] Installed vncserver, but cannot start it
x86_64 using the command yum install vnc-server. On doing rpm -qa | grep vnc, I can see the rpm present (and presumably installed...
Read more >
vncserver - Command Not Found - vnc-list@realvnc.com
we get : # vncserver: command not found. We're logged in via telnet as root, and running it from its base directory. Any...
Read more >
How to fix command not found when start vncserver on
How to fix command not found when start vncserver | Cara menangani command not found ketika menjalankan vnc server # RecomendationVisual ...
Read more >
vncserver: command not found
vncserver: command not found ... If it's empty, You may set the PATH variable with this command ... /usr/bin/vncserver - from package: tigervnc-server...
Read more >
vncserver - command-not-found.com
Launches a VNC (Virtual Network Computing) desktop. More information: <https://manned.org/vncserver.1x>. · Launch a VNC Server on next available display:
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found