Ubuntu :: How To Write The Xephyr Script
Apr 18, 2011
I've only ever written one or two simple bash scripts before but how hard could it be, right? I'd like to make a script that will launch an Xephyr window of a specific size with a window manager, an xterm, and Google Chrome running in it.I have:
Code:
#!/bin/bash
Xephyr :100 -screen 790x590 &
DISPLAY=:100 xterm&
[code]....
But it doesn't work. All I get is the Xephyr window, nothing else will launch. It works fine if I just run the DISPLAY... commands from a terminal window but I can't automate it with the script. I get the sense that this is a newbie mistake in understanding the ways scripts are supposed to work but I haven't the faintest idea how to get it to do what I want.
View 5 Replies
ADVERTISEMENT
Mar 15, 2010
I am trying to make a Live CD which makes use of Xephyr. Xephyr seems to do the job I need, however it seems that I can't copy things from the rest of my windows to paste into the Xephyr window, and copy things out of the Xephyr window to paste into the rest of the windows.I have the live CD here [URL] , and if people using the live cd can not copy things into the Xephyr window, then I imagine it will be very frustrating to use.is there any way to share the clipboard between two Xservers? Any thing I am missing?
View 1 Replies
View Related
Aug 28, 2011
I have a multiseat installation consisting of a single graphics card controlling two screens, with one Xephyr instance on each. Each one has its corresponding mouse and keyboard assigned via appropriate command line switches--evdev is used as the input device driver.
Since a recent "zypper update" (about two weeks ago), this configuration has been having problems: as long as the keyboard and mouse are not being used, it runs fine (e.g., over the weekend when it just sits on the KDM login screen), but when it is being actively used, the Xephyr process will eventually end up in a hard lock-up requiring a kill -9. A lock-up of one Xephyr screen does not seem to affect the other, although both will end up frozen eventually--sometimes this takes only a couple of minutes after the user starts his activity, and sometimes it may work for half an hour or so before it gives up the ghost.
There are no relevant log entries anywhere I could find, and neither is anything reported on Xephyr's stderr/stdout. I have tried downgrading to an older version of Xephyr, as well as compiling xorg-x11-server-extra locally from source, with no success. Only thing I can think of is downgrading to the previous kernel. Unlike my Debian machines though, OpenSUSE does not seem to keep the last few previous kernels for you to boot into in case of problems, and I can't see how to downgrade kernel via Yast2.
View 2 Replies
View Related
Jan 31, 2011
solve the following problem...mtrr: type mismatch for c0000000,10000000 old: write-back new: write-combiningThis i am getting many lines in DMESG.
View 10 Replies
View Related
Nov 17, 2009
Ive installed Gaussian '03 on fedora Core 10, but I'm unable to run it. It aborts and i get the following error
Code:
Erroneous write during file extend. write -1 instead of 4096
Probably out of disk space.
Write error in NtrExt1
View 3 Replies
View Related
Feb 17, 2010
I want to write a shell script which will simultaneously collect OS user information and write in an individual text files.Can anyone tell me the syntax of the script.N.B. The user name will be mentioned in an array within the shell script.
View 8 Replies
View Related
May 3, 2011
I can't write to USB on Natty. I can read the files and copy them to my netbook fine, but I can't change anything, I can't write or delete files
View 1 Replies
View Related
Jan 4, 2011
df -h [URL] I did the following command to find everything is in /usr or /var, then tracked it down to /usr/lib and /usr/share as the main offenders, but out of all the directories none are more than 1mb or so.
du -sh /* | sort -gr | head -n 5
I tried to uninstall firefox, which is what got me in this mess in the first place, the log claims it will remove ~240 mb but failes on a "E: Write error - write (28 No space left on device)" [URL] If I could juggle something onto an external hard drive so I can uninstall firefox I would be out of the wood. Failing that I believe a new install is in order.
View 1 Replies
View Related
May 20, 2010
I have just installed 10.04 onto a brand new HD and cannot access my old drives for lack of permission. I've tried various "sudo chmod 777" combinations to no avail.
View 9 Replies
View Related
Apr 3, 2011
I'm trying to help my family burn an image to dvd and I can't see the inserted dvd when running brasero with X forwarding over ssh. Any advice? I also can't see the dvd when running nautilus or really anything else.
View 1 Replies
View Related
Jan 17, 2010
ive tried my hand and failed. My friend was using my computer nad he didnt safely remove his USB MP3 and now it is write protected. Ive tried windows diskpart (nothing), ive tried fsck ("disk maybe in use?"), i tried to format(write protected)ive tried otehr USB slots and other computers. This has happened to me sooo many times and i can never find a damn thing about it, can some one tell me how to fix this??? There has to be a simple fix as it is such a simple issue, an issue any one who has used windows for 90% of their computing history could make
View 5 Replies
View Related
Mar 6, 2010
I have installed Jaunty on my laptop. I have a dual boot with Windows 7 and I've set up access to my windows partition. I can read and write to the music and photos directories but I can't write anything to My Documents in the windows file system. I have tried in Gnome and from a terminal and checked that I have write permissions set correctly.
For example in the My Documents directory:
Code:
$ mkdir test
mkdir: cannot create directory `test': Operation not supported
I get the same message if I try to rename My Documents using either mv in the terminal or the Rename option in gnome.
View 4 Replies
View Related
Apr 16, 2010
I have tried almost everything and still can't write to the SMB share on my ubuntu machine from my mac. The [media] section is the folder that I'm trying to enable write access for.
I have pasted the smb.conf file below:
View 6 Replies
View Related
May 24, 2010
I only have an ubuntu machine here, but I wish to transfer some files to her mac via my external hard drive. I only have an ubuntu machine here. I managed to make an hfs+ partition on my external hard drive using gparted after installing hfsprogs. I tried changing the permissions with chmod. The ls -l command yields:ls -l /dev/sdc1 brwxrwxrwx 1 root disk 8, 33 2010-05-24 10:53 /dev/sdc1
View 1 Replies
View Related
Jul 19, 2010
I have made a new /boot/grub/grub.conf file.
How do I write it to MBR? Do I have to be running from CD?
I can't find new Grub2 instructions anywhere.
View 9 Replies
View Related
Oct 15, 2010
i do 10.4. as recently as two weeks ago, i could use my mp3 player as a usb drive. now the player is still auto mounted, but i can't copy/paste to it or cut files from it. i do see it in rhythmbox, but when i right click and choose "eject", the drive unmounts and the mount process starts over. when i check permissions, i see that i am "read only".
View 4 Replies
View Related
Jan 26, 2011
I have tried for some time to write an .img file to a USB and a SD Card to boot from to my Netbook. The .img file is from Moblin and they suggest that I use Win32 Disk Imager to write the file to my USB. Though it haven't worked for me even if i use the SD Card and other computers.
The easiest for me would be if i could write the .img file on my SD Card and i have search for some tutorials but haven't found a way to write the file.
I've read something about "dd" but don't get the "command", "code" - thingy. If any one know an easy tutorial for it would be great! Or even better would be a tip to another program/utility like the Win32 Disk Imager that works.
I Use a Windows 7. HP Pavilion Elite and a Windows XP. Compaq Mini 110
View 1 Replies
View Related
Feb 1, 2011
I have Ubuntu 10.10 installed and i can't write to USB or delete the files that are already inside the flash disk
View 1 Replies
View Related
Feb 1, 2011
I'm a newbee trying to setup a common dir for many users:I have done:
sudo groupad webdevelopers
sudo useradd -G webdevelopers me
sudo mkdir /test
[code]...
View 2 Replies
View Related
Jun 25, 2011
i bought a new phone(Sony ericcson xperia x8 ).i had been using it fine till few days back.now, i plug the usb.the drive appears, i copy files, files appears in the drive, eject.but the files dissapear.when i plug the usb again, the files arent there.
View 6 Replies
View Related
Jul 18, 2011
I did install QLandkartGT and the plugin to use Garmin with it and it looks like it work, but when I do press "Live Log" I get the error message; "Device Link Error. Failed to request real time position. Realtime thread failed. Failed to configure USB: could not set config 1: Operating not permitted".
I also get a similar error when trying to download tracks; "Failed to download tracks. Failed to configure USB: could not set config 1: Operation not premitted".
My guess is that Ubuntu do not allow programs to use the USB port, so my question is how I do allow this program (or all) to use the USB ports.
View 3 Replies
View Related
Jul 19, 2011
I have a 8GB USB drive that recently started to behave improperly. And by started I mean that my dad decided he'd use itke a bootable drive and succeeded in breaking it.I tried formatting and zeroing the drive with dd but no luck. It seems to finish normally, but everything remains the same. Then I read a similar thread here that worked for one guy and tried working it that way but again could not manage it. It using sfdisk and the negative result might have been because I hadn't used it before so didn't know exactly what I was doing.
Anyway, the situation is absolutely the same: cannot format/erase partition, cannot format/erase/write data, errors are spewed out like -Error creating partition table: helper exited with exit code 1: Error calling fsync(2) on /dev/sdb: Input/output errorOR Error creating partition table: helper exited with exit code 1: Error calling fsync(2) on /dev/sdb:
View 3 Replies
View Related
Feb 6, 2010
I'm wondering if it's possible to write changes to a LiveUSB stick. As you probably already know ubuntu gets mounted to a ramdisk to improve performance and save your USB stick's life (I think so anyway, don't quote me on that).
I'm wondering if it's possible to write any changes made, such as changing running services and installed packages back to the USB stick without actually installing ubuntu fully onto the USB stick.
View 1 Replies
View Related
Feb 21, 2010
I tried to read the File Permissions page on the wiki and my eyes glazed over after about three sentences. I've got a folder called /var/www/pics that I just want to be able to save image files to. My only other choice as I understand it is to save them to my home folder, then use a "sudo mv" command to copy files to that directory. How do I give my account permissions to save a file in that directory?
View 2 Replies
View Related
Mar 2, 2010
I am a beginner,i like to write my own script but from where to start?
View 3 Replies
View Related
Mar 2, 2010
8.04 64bit LTS no gui loaded Only the root user can write to /tmp. I tried to create a cron job for a user and received an error
Code:
crontab -e
no crontab file for ed - using an empty one
/tmp/crontab.SCQ30O: Permission denied
Creation of temporary crontab file failed - aborting
Then I tried a simple touch /tmp/test1 and it failed with a 'touch: cannot touch `/tmp/test1': Permission denied I tried the Windows fix and rebooted, no change. Only root can write to tmp. This may sound lame but... using ls /tmp show reversed video (highlighted blue on green) on the servers the the users have access to, just plain blue on the 'broke' one. I did a sudo chmod a+w /tmp but do not know if that was a smart thing to do or not...
View 2 Replies
View Related
Mar 10, 2010
I want to backup my Ubuntu box and I found a couple very helpful articles that describe how to use tar for backup and restore. So far so good. I've dabbled in Lin/Unix in the past, mainly on work systems, but Linux on my personal PC is new to me.
When I ran the tar command as root (su -) I noticed several errors scrolling by in the window. It's scrolling too fast to note the exact errors, but I did notice "permission denied" a few times.
Is there some way that I can capture the output of the tar command to a file so I can review it for errors and/or permission denied statements?
Can I just add some arguments to tar?
tar cvpzf backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys /
View 2 Replies
View Related
Apr 9, 2010
Is anyone aware of a way (or a program I can use) to write to an existing ISO image?To set the scene I've used APTonCD to create an ISO with all the programs on I want so that the next time I install Linux Mint (or Ubuntu) I can just put in the CD & install a lot of programs in one go with Package Manager. Thats worked fine & I have the ISO ready for CD but I would like a way to change it a bit so that I can add some of my own custom setup scripts (stuff to set up user accounts & so on) then every thing I need is all on one CD / DVD
View 2 Replies
View Related
Apr 27, 2010
I have come across this question many times and recently had this discussion again: "I wrote a script to cd into a directory for me. How come it doesn't work when I run it?" I have seen some information out there on google but there doesn't seem to be one centralized answer, so I will try to offer one here. For those of us that have taken an operating systems course, you should understand why already (or I am assuming you know, as processes are such a fundamental part of an operating system). For everyone else, here is my simple/unofficial explanation, how to accomplish what you are after. This assumes you are running a bash shell (run the command "echo $SHELL" if you aren't sure). I can't be certain that all of the solutions below will work in all shells.
The shell, terminal, console, whatever you want to call it is a running process in the operating system. It has what is known as an "environment". You can see all of the variables in this environment by running the "set" command without any arguments. When you invoke a script, you are actually spawning a child process, that has a totally different environment. Any modifications made to the environment for the child process cannot be made to the parent environment. For example:
[Code]...
View 2 Replies
View Related
May 18, 2010
I want to copy a bunch of several hundred GB to a ntfs drive.Is it a bad idea to use two different Os's? Are the files written to the drive the same way? Is there a more likely chance for corruption using different Os's to write files?
View 2 Replies
View Related