Programming :: How To Use GUI Software On Headless

Oct 19, 2010

I developed one software which uses GUI(java swings) to install it but now I want to install it on headless linux means I want to install it by command prompt.So it there any way so that I can use same code without much modification or any API's which can convert gui component to command line.

View 2 Replies


ADVERTISEMENT

Fedora :: Cannot Get VNC Running Headless?

Oct 19, 2010

I'm running Fedora 13 on an ESX 4.1 server.I've changed /etc/inittab to runlevel 3.I then installed vncserver. When I try to start vncserver (service vncserver start) I get the following error:

Code:
Starting VNC server: no displays configured
If I try to start Xvnc (/usr/bin/.Xvnc) I get this error:

[code]...

View 1 Replies View Related

Debian Configuration :: 100% CPU On Headless Server?

Jun 18, 2011

I have a strange problem. I have set up a server to run without a keyboard, mouse, or video. If I boot it connected to a monitor, there is no issue. However, if I boot it without a monitor attached, the CPU just runs at 100%. Below is a shot of my HTOP from the machine: The weird part is that if you sort the processes by CPU%, they don't actually total 100%. I was trying to see what was pushing the CPU so high, but most of the time the running processes only total between 5 and 20%. Has anyone else seen the problem? Any idea what's happening? I'm worried that if I leave it running like that, the processor could burn up. My temporary work around is to boot it up with a monitor, then disconnect the monitor, but that's really inconvenient.

View 4 Replies View Related

Fedora :: Running Headless Can't Connect To VNC?

Jul 13, 2011

Before I posted I searched this issue and found one marked solved, but when I went there all the poster said is that he had got it running. No Solution. I am running FC 15 64bit, X server is running but I am unable to connect to the vncserver with my windows vncviewer

View 2 Replies View Related

Fedora :: FC15 KDE - How To Convert To Headless

Aug 15, 2011

I currently have an FC15 KDE, set up as I like it as a media server, and with squeezeboxserver (for Logitechs media system) running fine. But I'd like to set it up as headless - and it presently needs to have a monitor attached. No keyboard or mouse and it will boot to the login screen (so not a BIOS issue). I need to get it to boot without needing a monitor or requiring a graphical log in. I can administer via SSH and Squeezebox server puts up a webpage. FC15 doesn't use inittab any more, so changing run levels is fraught. I don't want to play with targets without a safety line ...

View 4 Replies View Related

Ubuntu :: Rsync Between Windows XP And Headless 9.10

Mar 23, 2010

I've been trying to get my headless Ubuntu 9.10 server to back up files from my Windows XP box and onto a 1 TB Seagate FreeAgent Go USB drive (which is connected to the Ubuntu server). I've tried two different methods, both of which are behaving strangely and not quite working. I'm using SSH to access my Ubuntu server.

The /etc/fstab line for the USB drive looks like this:

Code:

/dev/sdb1 /media/usb-backup-windows ntfs uid=34,gid=34,umask=022,dirsync,sync 0 0

I'm using NTFS because I'd like to share this drive between Windows and Linux. The drive gets mounted fine and I can read/write files after booting up. The way I'd like for this to work is to have my Ubuntu box mount the Windows drive using CIFS. So I mounted the C drive using the following command:

Code:

smbmount //windowsxp/C$ /mnt/windowsxp/C -o directio,iocharset=utf8,noperm,nounix,ro,credentials=/home/user/.smb/passwords.conf

The mount works fine. I can browse directories under /mnt/windows/xp/C, read files, copy files to Ubuntu, etc. So now I have my USB drive mounted and the C drive on my Windows box mounted. Should be good to go, right? Unfortunately, after several minutes (this varies, sometimes it can go an hour or so) of copying files using rsync --archive /mnt/windowsxp/C/ /media/usb-backup-windows/C/ (the actual command I use has more options - not sure if that's important), the server locks up.

The SSH session dies and I can no longer ping it. The server will eventually start responding after several minutes, only to lock up again a few minutes later, and so on and so on. When it locks up, the following messages end up in /var/log/kern.log:

Code:

CIFS VFS: Unexpected lookup error -26
CIFS VFS: No response to cmd 46 mid 59789
CIFS VFS: Send error in read = -11
CIFS VFS: server not responding

I did some Googling on these messages and came across a suggestion to set /proc/fs/cifs/OplockEnabled to 0. I gave that a shot but it didn't make a difference. I also tried plugging in a mouse and noticed that I could make the server respond immediately after a lock up by moving the mouse. I have to move the mouse though - just leaving it plugged in without movement doesn't help. I have to wait for the hang to occur and then move it. Once I do that, things progress for another few minutes.

This got me thinking that I had a lack of entropy and the mouse movement was kicking things into gear. So I tried moving /dev/random to /dev/random-chaos, and created a symlink /dev/random that just pointed to /dev/urandom. This didn't work - same exact behavior. So why in the world does moving the mouse bring the server back and cause it to start responding, if only for a few more minutes until the next hang?

I then gave up on this approach and tried connecting to an rsync daemon running on my Windows box (using Cygwin), instead of using the CIFS mount point. After getting the config file right and figuring out how to run it as a service on Windows, I started getting files copied once again. However, after what seems to be about the same length of time (several minutes to an hour or so), the rsync connection dies and I get the following message in the Windows rsync log file:

Code:

2010/03/22 13:01:01 [4024] rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: Connection reset by peer (104)
2010/03/22 13:01:01 [4024] rsync error: error in rsync protocol data stream (code 12) at io.c(1539) [sender=3.0.7]

The Windows box is running rsync 3.0.7 and Ubuntu is running 3.0.6, but they are both protocol 30. The rsync error log on Ubuntu doesn't help much - it also says "Connection reset by peer". I've tried this at least a dozen times and it always fails with these messages. It's weird because it's always 4 bytes, never anything different. I also noticed that /var/log/kern.log had the following messages, although they do not line up with the times that rsync died:

Code:

usb 1-5: reset high speed USB device using ehci_hcd and address 2

I did some Googling on this message and tried some stuff that worked for other people. I added dirsync and sync to /etc/fstab. I tried setting /sys/block/sdb/device/max_sectors to 64. Neither one of those made a difference. unloading the ehci_hcd module and dropping back to USB 1.0. However, 9.10 doesn't seem to have that module loaded, so I'm not exactly sure how to turn off USB 2.0 and just try 1.0. I'm not real enthused with that workaround anyway because I have at least 500 GB to copy.

I've kind of run out of ideas here. It's frustrating because the entire reason I bought the hardware and set up Ubuntu was to run backups. I'm not sure if my problem is a networking issue (CIFS VFS server not responding, connection reset by peer), a problem with running headless (wiggling the mouse temporarily prevents the hang), a USB device problem (reset high speed USB device messages), or something else entirely.

View 6 Replies View Related

Ubuntu :: Headless Desktop Won't Load GUI

May 3, 2010

I have an Dell 755, and I have installed Ubuntu 10.4 desktop on it, everything works fine. I have it auto login, and run Azureus/Vuse at startup (so it can be a headless Bit Torrent server), it works perfectly. As soon as I try to go headless (no keyboard/mouse/monitor) the machine boots fine (I can SSH / FreeNX to the machine) but none of the GUI/apps load. What I think is happening is that when it boots without a monitor attached it does not load any of the X11 stuff. I need it to. It worked in Ubuntu 9.04 just fine, but now with 10.4 it is a no-go. Does anyone know how to force the X11/GUI to load when there are no monitors/hardware attached? This is the one thing standing in my was of getting Windows out of my house.

View 1 Replies View Related

Ubuntu :: Headless Server Without Monitor?

Jun 13, 2010

Well xubuntu wont boot without a monitor. I booted freenas without the monitor and plugged it back in and got a signal. So it isnt the bios.

View 3 Replies View Related

Ubuntu :: Headless VNC Won't Work Without Monitor?

Oct 1, 2010

I'm setting up a headless unit with Xubuntu (lucid), VirtualBox and Vino. It works fine except that when I unplug the monitor and reboot I can't connect via VNC. I can ssh in just fine. If I try to plug in a monitor to see the display I get no signal. My assumption is that Ubuntu detected no monitor and decided to ask me something or act differently.

View 3 Replies View Related

Ubuntu :: Headless Server Won't Let Me Execute Exe

Jan 22, 2011

I have now had an Ubuntu desktop server on a very crappy server (network filesystem with enourmus latency) for a year and as the subscription will soon run out I opted for a slightly better one, still crappy but at least a "complete server" (cpu+mem+HD).And a headless installation of Ubuntu Server 10.10 "Maverick Meerkat" instead of my Desktop version.I'm not using it for web pages or other 'ordinary' things though, I'm running my homemade MMORPG off of it and this new headless situation is a bit unclear to me.

I created an account and password with my root account, a folder with the username was created in /home/ and I uploaded my mmorpg executable there with an ftp client.I tried to change the whole folder (being root) to 777 but it didn't work either.

View 7 Replies View Related

Ubuntu :: Running Server Via USB On Headless

Aug 18, 2011

I have an HP MSS 487 (headless). I was going to update to WHS2011 but was thinking of trying Ubuntu Server first. My MSS has a USB slot, but I'm not sure how to start and run Ubuntu Server from that USB stick. I can use remote desktop to access the box. I'll also need to install something on my other pcs/macs so that I can get the backups working. I didn't see anything that is similar to the whs connector software (client). Would I need to install a full Ubuntu client to do the backups?

View 4 Replies View Related

Debian :: Openbox As VNC Desktop On Headless Server?

May 15, 2015

I'm currently using the default Gnome desktop environment on my server when I connect via VNC, but I've been trying to Openbox on Crunchbang lately and I rather prefer it for being so light. I'm a relative noob and don't want to cock anything up - what's the simplest way to switch to the Openbox environment for when I connect via VNC, and once that's working, whats the safest way to remove Gnome?

View 8 Replies View Related

Debian :: Mail Client For A Headless Server?

Jan 9, 2011

On my Seagate DockStar torrent box running Debian Squeeze, I want to send email when a torrent download is done. What email client is good if I want to send e-mail via gmail server?

View 3 Replies View Related

Installation :: Install Fedora On A Headless System?

Aug 28, 2010

I have an old CPU with me that I'd like to convert into a server. It has no keyboard, no mouse, no monitor. It has a dvd drive, a CD-RW drive. How do I go about installing Fedora on this? I've researched some and found that kickstarts and vnc may be the way to go. Since I've never done this before, and never used either kickstarts or vnc before, can someone please provide a detailed guide? I'd be happy if the additional hard ware required (switch? hub?) etc. could also be mentioned.

View 8 Replies View Related

OpenSUSE :: Setup Openoffice Headless Server On 11.3 ?

Nov 13, 2010

Does anyone Know how to set up Openoffice headless server on openSuse 11.3 ?

View 9 Replies View Related

OpenSUSE Network :: Headless System Almost Crashes

Jul 13, 2010

I have a big problem with my home router / server. The symptom is an alomst complete death. The other computers in the house can use the internet, i.e., the PC is not completely dead, but actually routes. However, it suspends all direct traffic: SSH becomes irresponsive, SMB shares disappear, and so on. It cuts traffic even with a VMWare guest it runs. I can ping it, but that's about it.The worrying thing is that it starts slowly. In the beginning it will start by cutting SMB pipes. It will then become very slow, to the point it won't execute a "shutdown" command.Then I sometimes have flood on port X, "sending cookies". That is certainly due to the P2P program, but cold a sustained flood affect communications on the virtual network adapter vmnet8?And then it enters this catatonic state with no special mention on the log.

View 5 Replies View Related

General :: Unable To Run Openoffice In Headless Mode?

Mar 18, 2010

I want to automoate some PPT -> PDF conversions, so I want to run openoffice in headless mode for scripting.

On my machine with X running I can start opemoffice in headless mode via

soffice -accept="socket,port=8100;urp;" -headless

This doesn't seem to work on a server with X not running.

$ soffice -accept="socket,port=8100;urp;" -headless
/usr/lib/openoffice/program/soffice.bin X11 error: Can't open display:
Set DISPLAY environment variable, use -display option
or check permissions of your X-Server
(See "man X" resp. "man xhost" for details)
$

The error doesnt seem to make sense as well, as the point of specifying -headless was so that I do not need X, while this command seems to look for X.

View 2 Replies View Related

General :: Use Synergy+ Server On Headless Computer?

Jun 19, 2010

I have a headless (kind of) Linux Mint computer with Synergy installed and a MacBook.

Is there any way I can use the headless computer as a Synergy server for the MacBook so I can use the Linux's KB/Mouse with the Mac?

View 1 Replies View Related

Ubuntu :: Server Headless And Drive Partioning?

May 2, 2010

I have the latest download of Ubuntu Server 10.04 installed. I have not installed a gui for it. I would like to be able to do this from command line if possible. I will be running this server headless but I would like to be able to login remotely if necessary. My hunch is I will need a gui to be able to log in remotely?

I have three Internal drives in my server. 80GB, ext4 formatted, this has the server os loaded on it. The other two drives are 160 and 500GB formatted ext4 as well but they are empty. I have two Ext USB drives with all my stuff I don't want to lose. Both are formatted NTFS. So I need help but keep in mind I am going to run the server headless, but would like to login remotely if necessary without a gui.

My other home computers will dual boot windows or linux, so I need to know what is the safest and best way to format the two drives in my server. ex4 or ntfs? Will I be able to run server without a gui as headless? I just installed Samba4 and starting down the learning curve by googling how to set it up.
My file sharing is simple. Nothing special within the Lan, but want to keep hackers out from the outside world. I use Logmein on my windows computers and may want to setup a remote login for the server at some point. Right now my big this is setting up the drives, shares, and going headless. I would like to be able to just turn the thing on and not worry about it.

View 5 Replies View Related

Ubuntu :: Get CUPS Working On A Headless Server?

May 12, 2010

I've been trying to get CUPS working on a headless server, in order to share the printers connected to it with the rest of the network. The problem is that I can't add printers via the web interface, or rather, that I can log in, as it will not authorize my account. I've tried lppasswd, adding cupsys to the group 'shadow'(only to have the system tell me that there is no user called cupsys), and been editing the cupd.conf for hours. On top of all tha, I can't even get to the web-interface without running "/etc/init.d/cups restart"!

[Code]...

View 3 Replies View Related

Ubuntu Installation :: Install Vnc On Headless / Monitor Less 10.04?

Jul 13, 2010

how to install vnc on a headless/monitor-less Ubuntu 10.04 ?i googled A LOT i couldn't find a well explained guide. i am not sure if this is the right place to post the thread. if it is not move the thread.

View 9 Replies View Related

Ubuntu Multimedia :: MPD As Daemon On Headless Server?

Jul 22, 2010

i have been scratching my head and repeatedly banging it against a wall

i have a lan:
m0n0wall router
ubuntu server (headless/no mouse/kbd/speakers, etc in attic)
4 desktop pc's
1 dlink dsm 520

my server is exactly that it has mysql/apache/mediatomb/php/cacti/phpmyadmin/samba/nfs/mpd) ignore all other service running on server & focus on MPD. all 4 desktop pc can connect to mpd and they can see the library. BUT they cannot play any track as it states there was an error with the audio device!i have tried all the examples on the web and none work what do i do? how do i configure it to use the LOCAL soundcard NOT the one that is not present in my server? all the examples are set to use the LOCAL(one on machine running MPD) sound card which does not work until i connect a speaker to my server which again is located in my attic and only has a pc speaker so this is NOT what i want. all 4 desktops do not have mpd installed as they do not need it. all media is stored on my server the gui's that connect to mpd do not have any configuration for a sound card

View 2 Replies View Related

Ubuntu Servers :: Starting Several VMs On A Remote Headless Via Ssh

Nov 24, 2010

I'm starting several VMs on a remote headless ubuntu server via ssh using:

Code:
VBoxHeadless -s <vmname>

The VM starts up okay, and I'm left with an occupied command terminal on my local ubuntu machine. So, if I want to start up several VMs on the remote server, I have to open up several command terminals and end up with as many occupied terminals once they're all running. When the local terminal is closed, the remote VM is also shutdown.

Is there a better way to do this without the remote VM being dependent on the local terminal? I'd like to remotely startup the VMs and be able to close the local terminals without shutting down the VMs. I'm sure this must be possible, I just don't know how to do it.

View 5 Replies View Related

Ubuntu Networking :: Wireless Set Up On Headless System

Mar 29, 2011

I have a headless system running fine with eth0, but I need to move the system for a while and need to use wireless. I'm probably doing something wrong somewhere.So what I need is to leave eth0 set up and running when the lan cable is plugged in, but when the system is rebooted with lan cable unplugged the wireless card kicks in and takes over.I have put system back to just eth0 so I can start from scratch. I have two wireless cards installed at the moment, in the hope I can get one of them working and intend to remove one card later.

View 2 Replies View Related

Ubuntu Servers :: Headless GUI Admin Server 10.04?

May 4, 2011

I have been having some trouble configuring a means to remotely administer an Ubuntu Sever 10.04 machine i recently built and am hoping for some guidance. I'm sorta new to linux so please forgive my ignorance of conf files and the command line . I am looking to have this server serve as...VPN Server, Minecraft Server, KVM Server, Torrent and Dyn-DNS box.I have managed to install all the KVM settings including bridged networking running (Personal victory there) and sorta have Minecraft running (only need to figure out how to make it launch on boot). Torrents already taken care of since Transmission came along with the ubuntu desktop install .The big thing that is slowing me down is remote management. I installed ubuntu desktop (thankfully its Gnome 2), i know that most people don't like it but its what i'm most familiar with. I tried running VNC but always needed to login on the physical machine before I could use that which defeats the purpose. I am now using xrdp which frankly the performance is terrible compared to what i was getting with the built in VNC server and still needed the monitor on and active to connec

View 9 Replies View Related

Debian Configuration :: Converting From Desktop / GUI To Headless Server

Mar 25, 2016

I set up my Debian box as a HTPC but am moving it to my closet and using it as a NAS now, so I want to make it headless since there won't be a monitor connected to it.What's the cleanest way to nuke the desktop environment? 2nd to reinstalling, that is (although that may not be a bad option since may home directory is in another partition).

View 1 Replies View Related

Debian Configuration :: Squeeze System Won't Boot Headless

Apr 11, 2011

I've installed 6.0.1a on my xi3 box [URL] and it works great. However when I remove the monitor and keyboard it doesn't boot (I don't know how far it gets, there is no monitor...). I did not install, and do not want, any kind of GUI interface, command line only. This is going in a closet as a solid state rsync backup repo. I have another small system (not this exact one) running Lenny that runs just fine headless - is this some kind of Squeeze regression? Is there any way I can get this running headless (I can't run Lenny on this box because I don't think the Marvell GbE driver is there or is working in Lenny.

View 7 Replies View Related

Debian Configuration :: Set Up Headless Bubba Two For Firewall / Gateway?

Jul 3, 2011

I have a Bubba Two headless PC box and on it a Debian GNU/Linux Squeeze operating system.

I have upgraded my Bubba Two [URL]to Debian Squeeze from Debian Etch following these steps: Running Debian lenny or squeeze on Bubba Two [URL]

After this upgrade I have setup networking on Bubba following these steps: Setting up networking [URL]

In the case [URL] doesn't work, here are these steps:

[Code].....

View 5 Replies View Related

Fedora Installation :: 10 Headless Install With Dead AGP Socket

Mar 9, 2009

I find myself in the strange position of having an old P4 system that I want to throw Fedora 10 on - it's a considerable upgrade from the old 866Mhz P3 that I've been using to do some number crunching on. (It's a personal project, but it's CPU intensive, so the P4 is a welcome upgrade.) My problem with it is that the motherboard's AGP socket is dead, and I can't find a PCI graphics card, so I'm trying to do a totally headless install - I have no idea what errors may be shown, if any. All I know is that whatever I've tried up till now hasn't worked.

1. Remove the hard drive from the P4, stick it into a spare, semi working system (AMD Athlon, RAM isn't working too well), install F10 on the hard drive, remove the drive, put it back into the P4, and let it boot. Results: Nothing. No DHCP announcement, so I don't know if it's done anything.

2. Try a variation of a PXE boot using the vnc parameter. I've copied the instructions here with no luck. Tried it using a nearby mirror (mirror.nus.edu.sg) as well as method=cdrom, with no luck on either. Results: Also nothing.Should I give up on this, or is there anything else I should try?

View 2 Replies View Related

Fedora :: FC12 : Run A Remote Desktop On A Headless Machine?

Jan 5, 2010

I want to use a headless (no monitor) and armless (no keyboard/mouse) PC as a Linux box that I can remotely access from my other machines. That is I want to make it look like I'm sitting at the console on the Linux box with a monitor/keyboard/mouse.

I've tried that via the instructions at [URL]

but, the moment I disconnect the monitor and reboot, the remote desktop connection fails as apparently X fails to start for lack of a "screen". Removing the keyboard/mouse does not seem to be a problem.

Is there a workaround?

I guess what I'm looking for is the remote desktop behavior from Windows XP/Vista:

1. Connect -> Get logon screen

2. Disconnect -> Session remains active on remote machine and can be reconnected to

View 9 Replies View Related







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