Fedora :: Installing VNCserver Using SSH Connection In F13

Jul 29, 2010

I'm new to Linux. I'm trying to install the VNCserver using SSH connection in a remote pc with Fedora 13. I would like to access the Gnome through remote connection. I did the setup Iptables freeing ports 5901 and 5902. Also set up vncserver and user. The user "aquiles" is a user of the system and also the vncserver. The problem is that I am not able to start the service. I think that seen anything related to Perl. Displays the following error:

[Root @ sinahome ~] # service vncserver start
Starting VNC server: 1: aquiles/usr/bin/env: perl: No such file or directory
[FAILED]
The file /etc/sysconfig/vncservers
Vncservers = "1: aquiles'
VNCSERVERARGS [1] = "-geometry 800x600-depth 16"

[root@sinahome ~] # iptables - list
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp - anywhere anywhere tcp dpt: ftp
ACCEPT tcp - anywhere anywhere tcp dpt: vnc-server
ACCEPT tcp - anywhere anywhere tcp dpt: https
ACCEPT tcp - anywhere anywhere tcp dpt: http
ACCEPT tcp - anywhere anywhere tcp dpt: ssh
ACCEPT all - anywhere anywhere state RELATED, Estaba LISHED
ACCEPT icmp - anywhere anywhere
ACCEPT all - anywhere anywhere
ACCEPT tcp - anywhere anywhere state NEW tcp dpt: s sh
REJECT all - anywhere anywhere reject-with icmp-ho st-Prohibited
ACCEPT all - anywhere anywhere state RELATED, Estaba LISHED
ACCEPT tcp - anywhere anywhere tcp PTPs: commplex-m ain: targus-getdata
ACCEPT tcp - anywhere anywhere state NEW tcp PTPs: 5901:5902

Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all - anywhere anywhere reject-with icmp-ho st-Prohibited
Chain OUTPUT (policy ACCEPT)
target prot opt source destination

View 7 Replies


ADVERTISEMENT

Fedora Servers :: Vncserver From Runlevel 3 ?

Jan 8, 2010

I'm running a server that boots into runlevel 3. I can ssh into it but I only get a blank screen when I try to connect to the vncserver that's running on it. Is it possible to connect to a vncserver that's running on runlevel 3 or does X have to be running for the vnc to work?

View 1 Replies View Related

Fedora Servers :: Vncserver Not Starting On Boot

May 21, 2009

I am currently using FC10 on a Dell 4600 with 2GB of ram. I love Linux as it is the most stable OS around. My end goal is to have the machine boot and start the vncserver automatically, eventually using an ssh tunnel to make it secure. My main problem is the vncserver is not starting on boot, I must login as a user then it works great. the error I get is

[Code]....

Basically what happens is the vncserver fails on boot however, if I login to the Fedora box I am able to connect and I get the GDM login screen. I have read many, many posts but have not been able to get over the boot issue. I really want to make this a headless box I can put in another room so I have more room for my musical gear.

View 1 Replies View Related

Fedora :: Start Vncserver Service Before User Log In?

Jul 7, 2011

How can I start the vncserver serivce before any uesr log in? because I only have one screen now what I already did is when I log in the vncserver service going to be startup, but I want it can start before I log in. I try the "chkconfig --level 345 vncserver on" but after I reboot, I still cannot access the system before I have a log in action.

View 4 Replies View Related

Red Hat / Fedora :: Using Vncserver To Connect From Windows Desktop

Sep 13, 2010

I'm using vncserver to connect Linux from Windows Desktop. When i open the vncsession cursor is not moving continuously i.e i need to press one by one. I'm using KDE desktop for linux.

know the settings to move cursor continuously when i press/hold the key.

View 1 Replies View Related

Fedora Installation :: Load Vncserver At Boot Time?

Jun 21, 2009

configured /etc/sysconfig/vncserver, used vncpasswd as the user im trying to log in as to set passwd, disabled firewalls, set chkconfig --add vncserver but still whenever i try to connect to the vnc server I get "unable to connect to host: Connection refused (10061)". If I run the "vncserver" command as my normal user, I can connect fine then. This really wearing on me, any help is greatly appreciated. It is weird if I try to stop vncserver it says [ok] and then if I try to stop again it says [Failed] but if I check the status of vncserver it says Xvnc is running..

View 8 Replies View Related

Fedora Servers :: Use XP As VNCViewer And Fedora 10 As VNCServer

Apr 29, 2009

I run into a problem when trying to use my XP as VNCViewer and my Fedora 10 as VNCServer I installed VNC server and client in both my XP and Fedora. If I am using Fedora VncViewer through XP, it runs with no problem. But not the otherway around? (XP vncviewer to FC) Yes..... I know this happens a lot and I can google it, but I googled it with no luck! IP address for my Fedora is 10.0.10.148

I run VncServer in Fedora by typing 'vncserver' or 'vncserver :1', and comes out with the display screen number (1) and the log file. I checked the log file and there are a few errors. (see attached) I run VncViewer from XP, type in 10.0.10.148:1 and still got "Connection refused (10061)' (please see attached again). I attached the startup file as well for you to see. Port 5900 TCP and UDP are open, I can ping from XP to Fedora, I can telnet, but I can't VNC.

View 6 Replies View Related

Red Hat / Fedora :: Remote Desktop - In Services Vncserver Get Message - Unable To Open Display

Jul 22, 2009

Well this is my first time using redhat 7, the install went fine and webserver, mysql, phpmyadmin are all working......great

The only problem i have is the remote desktop

I have set the password in preferences/remote desktop run command vncpasswd and set password

In services vncserver i get this message......... xsetroot: unable to open display '' Xvnc is stopped and vncserver failed. The error was: xsetroot: unable to open display '' Shutting down VNC server: 1:user1[FAILED]

Starting VNC server: 1:user1 [FAILED]

My vncservers file looks like this

I have tried restarting service using root login and user1

View 5 Replies View Related

Fedora Networking :: Installing Wireless Without Internet Connection?

Mar 27, 2009

I had Fedora 7 which works fine with my PCI card Linksys WMP54G-EU (00:0b.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)).

It ran with ndiswrapper.1.51.

Yesterday I installed the live-CD Fedora 10 on a new partition in another hard drive and so I have Fedora 10 but WITHOUT Internet connection.

I tried to install Ndiswrapper but the 'make' command doesn't exist in my Fedora 10 !

What are all the things I need to download from Internet to ensure the several commands like 'make uninstall', 'make', 'make install'... and to ensure installing Ndiswrapper ?

View 7 Replies View Related

Fedora Installation :: Installing XEN With 11 - Unable To Open Connection To Hypervisor URI 'xen:///'

Jun 19, 2009

I have been only using the free vmware server thus far for my virtualization I have recently installed Fedora 11 and am currently looking at using the XEN virtualization software. I am currently running and upgrade from F10 to Fedora 11 with the PAE kernel. Also I am using KDE 4 with kmod-nivida drivers. Now here is what I have done

To install Virtualization requirements I did the following: sudo yum groupinstall 'Virtualization'

I then also did: sudo yum install kvm qemu libvirt python-virtinst

I then installed xen:
sudo yum install xen*

Now, I read that i needed "kernel-xen" but it doesn't appear to exists a "yum list kernel*' only displays kernel packages and the kernel PAE pakages so I figured I don't need it I then started all the xen services and libvirtd service Opened virt-manager and added a new connection: hupervisor: Xen and connection: local

I get the following error: Unable to open connection to hypervisor URI 'xen:///': <class 'libvirt.libvirtError'> unable to connect to 'localhost:8000': Connection refused
None

I guess my question now is... what is the difference between the hypervisor: QEMU/KVM and XEN. Because I seem to be able to create a VM using this. My VM is an XP vm for work purposes to run some windows only software I would like to use XEN as I just have my mind set on it but I might just be ignorant and on the wrong track is there a how to guide for fedora 11 and xen? the fedora 7 guide i found needs the kernel-xen installed.

View 13 Replies View Related

Fedora :: Installing Wireless Card Drivers Without Network Connection

Jul 23, 2009

I have Fedora11 running in my machine and it has no LAN port (RJ-45). I have a wireless PCMCIA card.The model of the wireless card is NL-2511CD EXT2(ETSI).When I insert that card to the PCMCIA slot a window pops up and ask for a WEP key. My wireless router is configured with WPA but above pop-up has no WPA option. I suspect my fedora installation does not have the necessary driver for my wireless card.I want to install that driver. I can transfer that file to the machine via thumb drive since it has no network connection yet. How do I install this? Please refer below images as I'm still a newbie at linux.

View 13 Replies View Related

Fedora :: Installing Autoten - Transfer Failed (Connection Timed Out)

Dec 12, 2010

I've been trying since yesterday to install autoten per instructions below [URL]. However it has failed each time I have tried. Below is the terminal response.

Code:
[colyn@Fedora ~]$ su
Password:
[root@Fedora colyn]# rpm -Uvh [URL]
Retrieving [URL]
curl: (6) Could not resolve host: dnmouse.org; Connection timed out
error: skipping [URL] - transfer failed
[root@Fedora colyn]#

I am doing a copy/paste so I am not mis-typing the information. It says that the connection has timed out but I get the error message within 5 seconds of hitting enter.

View 8 Replies View Related

Fedora :: Shutdown Policy Triggered By Vncserver - Computer Refuses To Shutdown Normally

Feb 5, 2011

Recently I installed vncserver (tigervnc) on my desktop. Ever since my computer refuses to shutdown normally. At shutdown the following message pops up: Quote: System policy prevents stopping the system when other users are logged in Then I have to enter the root password to shutdown. If I stop vncserver before, the computer shuts down normally.

[Code]....

View 2 Replies View Related

Fedora Servers :: Getting Error Message When Trying To Connect To Vncserver 'unable Connect To Socket: No Route To Host (113)'

Apr 26, 2011

I install and configure the vncserver following and reading 1000papers, but all of this present the same problem; when i try to connect to my vncserver,recive this mesage: unable connect to socket: No route to host (113) The OS version is Fedora Core 14 and tigervnc-server i try different solutions including:Allow TCP connection modifing files /etc/gdm/custom.conf and /usr/share/gdm/gdm.chemas Disable SELinux removing iptables Here follow the vncserver configuration:

[code].....

The ip address of the vncserver is correct because i can do ssh on it. Where or what can i do?

View 4 Replies View Related

General :: How To Stop Vncserver's Log

Feb 9, 2011

I used the cmd "vncserver" to start a vnc session, and it created a log file like this "/root/.vnc/linux-vzra:2.log". As time going on, the file "/root/.vnc/linux-vzra:2.log" became bigger and bigger, it is too huge indeed. How can I start a vnc session without a log file?

View 1 Replies View Related

Ubuntu :: Start A VNC Session Any Way But Vncserver?

Jul 19, 2010

I am trying to VNC into a server to which I have no physical access (but I can ask someone to start a session or something) but can ssh into. I have gotten a VNC session working by sshing in and running vncserver, although once the VNC session died in a confusing manner.

I don't know how to start a VNC session any way but vncserver, which is odd since I'm sure that Ubuntu's Remote desktop should somehow allow me to do this by default. The server by the way is being used as a desktop by someone else. Also, how do I tell if my VNC is encrypted and if it isn't how do I make sure it is?

View 9 Replies View Related

Slackware :: Start Vncserver From Rc.local?

Mar 7, 2011

I'm a little new to Slackware so maybe this isn't the right way to initiate vncserver on boot, but here's what I've got. The last two lines in my rc.local are:

/usr/bin/vncserver :1 &
mount.cifs //192.168.1.99/shared /mnt/shared -o username='uname',password='passwd'

the second line runs successfully on boot, but the first line doesn't. However, after I am logged on, I can execute /etc/rc.d/rc.local and both lines will run successfully. Does the system need to be fully logged on to start the vncserver, or should I start it elsewhere other than rc.local?

View 8 Replies View Related

Debian :: Make Vncserver Starts On Boot ?

Feb 25, 2011

Hi all,

how can I make vncserver starts on boot?
Realvnc was installed by "apt-get install vnc-server" command.
There in NO start-stop script in /etc/init.d/ (is it ok? ), so I can't use update-rc.d. When placing
vncserver
or
/bin/bash -c "cd /root/ && vncserver :1" 2> /tmp/vncstart &
in rc.local it starts nothing but "vncpasswd //.vnc/passwd" (and YES, there is password in /root/.vnc/passwd)

Please, help!

View 3 Replies View Related

OpenSUSE :: Can't Get Gnome-session To Work In Vncserver

Dec 10, 2010

I have followed the instructions at TightVNC (VNC Xvnc) on openSUSE as Client or Server (Remote Desktop Connections). I have also successfully configured vnc servers to use both Gnome and KDE on many machines; this is the first time I've had trouble.

Here is my xstartup file:

#!/bin/sh
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &

[Code]....

View 1 Replies View Related

Ubuntu Networking :: Starting VNCServer Automatically?

Mar 30, 2010

I just installed VNCServer on my Ubuntu box. I've tested the connection on my Windows box and connect fine.If I were to restart Ubuntu, would the VNCServer start automatically? If not, how would I do this?

View 1 Replies View Related

Ubuntu :: 10.4 Vncserver Showing Shortcut Error - Bug ?

May 10, 2010

In normal desktop GUI is working fine. But when in install VNCserver and tried to connect form my window machine through Ultra vnc it is not working properly. The issue I am facing is: when I am opening a terminal and enter later "m" from keyboard its work as a short for mail, and in case of later "s" the shortcut is "shutdown tab" those are present in panel. Then I remove those from panel and now I can enter the word m and s in terminal. The behavior is seems like a bug.

View 4 Replies View Related

General :: Vncserver Works But X0vncserver Doesn't?

Mar 12, 2010

I can connect to vncserver just fine, but if i fire up x0vncserver for some sharing, the viewer will not connect:

[me@mycomp .vnc]$ x0vncserver
Fri Mar 12 13:36:45 2010
main: XTest extension present - version 2.2
main: Listening on port 5900

[code]....

View 2 Replies View Related

Server :: VNC Over Xinetd Doesn't Starts Vncserver

Nov 26, 2010

in Debian Lenny, using TightVNC 1.3.9 I can setup a VNC server manually by using

Code:
vncserver -query localhost -once -geometry 1024x768 -depth 16 :1

But then, as I have read is a better option, I use xinetd with the following configuration:

Code:
service vnc-1024x768x16
{
protocol = tcp
socket_type = stream
wait = no

[Code].....

In fact, I was considering that the problem was with xinetd, but I have other services setted up with it (telnet & ftp for example) and I can use them correctly.

So now I'm lost with this, what else am I not considering with VNC service through xinetd? Where can I find logs or useful information to get a clue about this problems?

View 11 Replies View Related

OpenSUSE :: VNCserver Desktop Launch - Fail On KMserver

May 15, 2010

OpenSUSE11.2 (x86_64)
KDE 4.3.5

My normal windowing operations are fine. I have no problems running parallel kde desktop sessions (1 user, 1 root), switching back and forth with ease. I have been able to get vnc remote connections to work, but the only desktop environment I can get to run twm. When I try to start kde it fails with:

startkde: Starting up...
kdeinit4: preparing to launch /usr/lib64/libkdeinit4_klauncher.so
kdeinit4: Communication error with launcher. Exiting!
Communication error with KInit.
startkde: Could not start ksmserver. Check your installation.

Which is weird because:
> which ksmserver
/usr/bin/ksmserver

I have this in my .vnc xstartup:
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
/usr/bin/startkde

I've read several related vnc threads. It appears to me I have a more general X11 setup failure, but at this point I'm lost.

View 6 Replies View Related

OpenSUSE :: Start Vncserver Service When System Starts?

Apr 29, 2011

dear, in centos / fedora, I can config to start a permanent vnc session by setting the /etc/sysconfig/vncserver file when the system starts. Is there any similar configuration in opensuse which give me a permanent session?

View 6 Replies View Related

Ubuntu Networking :: Xrdp Works For RDP With/without Prelaunched Vncserver

Apr 14, 2010

I am helping a local genealogy society set up their research center. They want three workstations and a single data server. The genealogy program of choice was GRAMPS, which I have used for years a Wonderful program! No data is going to be input on the workstations the users are simply researching existing data on the server.

Since several RDP-based Wyse thin client units were available for free as were monitors and keyboards, the decision was quickly made to use an RDP based client/server system. Using VNC was unacceptable due to its speed and latency issues, plus, it isn't supported by the Wyse thin client units ONLY RDP and Cytrix.

Using Microsoft's server OS and Terminal Server package was far, far beyond the society's budget. We briefly considered equipping a Windows XP box with a copy ThinSoft's RDP server package, WinConnect Server XP, but its $300 price tag was still too much for the society.

The decision was to use Linux for the server. At first we considered LTSP but it is oriented towards PXE net boots and, while this may have worked, its complexity scared us off and we opted for what, we initially thought, was a much simpler solution XRDP.

We were right and wrong at the same time. It is simple to set up very simple, but the lack of documentation places many pitfalls in front of you, PLUS the solution is distribution dependent.

I spent many hours on this issue. There are numerous sources on the web citing solutions to running XRDP. Unfortunately, they all involve running vncserver against the destination logins. This is NOT what we desired. We wanted to be able to boot up the host system but not login at all, yet still be able to connect to a session via RDP.

I tried numerous distributions and eventually spending a lot of time going through the xrdp source code and planting out my own debug messages in /etc/xrdp/startsm.sh to output to a file in /tmp. Putting in ps -eS >> /tmp/xrdp.txt was particularly useful because it showed that xrdp/sesman DID launch an Xvnc, meaning that it was unnecessary to pre-launch vncserver, as most pundits recommend. The solution was figuring out how to connect to the Xvnc session created by sesman.

I discovered the solution somewhat by accident. It seems that the files created in the destination user's .vnc folder by vncserver were interfering with xrdp/sesman. Here is what worked. 1.Starting with a nearly virgin install of Ubuntu 10.04 beta 1, installed two users intended to be accessed for remote login via RDP. That is ALL that I did I never even logged into them. 2.My first entry xrdp.ini was unmodified except that ask was deleted from username=. Everything was unmodified.

3.Using tsclient on another machine, with the desired username, that was NOT logged in, and password pre-filled, I connected and received a nice Gnome desktop. 4.The session was on 5910. 5.While keeping this session active, I logged into the next login created for remote access and received my second nice Gnome sesktop on port 5911 automatically. Xrdp-sesman DOES automatically launch Xvnc in a useful way!

I can ONLY get this to work on Ubuntu version 10.04 e/w Gnome. It fails on CentOS 5.2, Xubuntu 9.10, SuperOS 9.10 and Lubuntu 10.04. In all cases xrdp was version 4.1.1, so the issue is not with xrdp/sesman it lies within the OS what, I do not know. I did not test KDE at all.

Code:

The system is running Ubuntu 10.04 LTS beta - the Lucid Lynx, amd64:

uname -a
Linux ubu910 2.6.32-16-generic #25-Ubuntu SMP Tue Mar 9 16:33:12 UTC 2010 x86_64 GNU/Linux
---------------------------------
Contents of /etc/xrdp/sesman.ini:
---------------------------------
[Globals]
ListenAddress=127.0.0.1

[code]...

View 9 Replies View Related

Ubuntu :: Kile Under Vncserver Loss Image Quality?

Jan 18, 2011

It is about vncserver. While I use Vncviewer connect to Desktop :0. The Kile picture is the same as that I am on the local machine. But, when I connect to the desktop created by vncserver,say Desktop :1. The Kile picture is pretty bad. I attached two pictures. One is for Desktop :0 and another is Desktop :1. I wonder how to make configurations to vncserver in order to make Kile look better.

View 1 Replies View Related

Ubuntu Servers :: VNCServer Opens 100 Sessions/displays?

Apr 13, 2011

I am setting up a server with Ubuntu Server edition. It is has 4gb of ram and had been working great the first week or so but something strange started happening about the same time I installed MythTV. After that, the server would slow down considerably and the ram being used would go from about 400megs up to all of the 4gb and use about 2gb or swap. After much research and investigating, I've narrowed it down to the vncserver starting up all 100 displays/sessions even if I try to specify one with : vncserver :1

View 3 Replies View Related

General :: Vncserver Keeps Launching In Failsafe With No Errors Being Generated?

Dec 14, 2010

I installed VMWare Server 2 and while configuring itI decided to perform a reboot as it kept generating errors.When my server came back upwill only launch my vncserver in twm (failsafe) mode.I have checked for any kind of errors and there are noneIn the same location I have another linux box which is identical and it works fine. I have compared everything and cant seem to figure out what is causing this.I manually uninstalled VMWare server using yum and the problem is still there

View 2 Replies View Related

General :: Error Message: Vncserver: Unrecognized Service

Jan 2, 2010

I have installed package tigervnc-1.0.0-3.fc12.i686, but when I am trying to start it: service vncserver start it comes back with following message: vncserver: unrecognized service.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved